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.
- package/dist/main.cjs.js +40 -40
- package/dist/main.css +1 -1
- package/dist/main.es.js +12121 -11993
- package/dist/types/components/_i18n/form/pgaInputSelect.i18n.d.ts +6 -0
- package/dist/types/components/form/input/PgaInput.vue.d.ts +3 -3
- package/dist/types/components/form/input/PgaInputSelect.vue.d.ts +82 -0
- package/dist/types/components/form/input/PgaSelect.vue.d.ts +10 -15
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/i18n/all-messages.d.ts +5 -0
- package/dist/types/i18n/i18n.d.ts +16 -1
- package/dist/types/resources/refs.d.ts +1 -2
- package/package.json +1 -1
|
@@ -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<
|
|
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<
|
|
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<
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
12
7
|
};
|
|
13
8
|
options: {
|
|
14
|
-
type: import('vue').PropType<
|
|
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:
|
|
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:
|
|
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<
|
|
44
|
+
type: import('vue').PropType<string>;
|
|
50
45
|
};
|
|
51
46
|
options: {
|
|
52
|
-
type: import('vue').PropType<
|
|
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:
|
|
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:
|
|
78
|
+
onChange?: (newValue: string) => any;
|
|
84
79
|
}, {}, {}>, {
|
|
85
80
|
dropdownOption?(_: {
|
|
86
|
-
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';
|
|
@@ -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;
|