pangea-lib 2.11.520 → 2.11.522

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,6 +1,6 @@
1
1
  import { Item, TextProp, InputError } from '../../../types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  modelValue: {
5
5
  required: true;
6
6
  type: import('vue').PropType<string>;
@@ -9,12 +9,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
9
9
  type: import('vue').PropType<Item[]>;
10
10
  required: true;
11
11
  };
12
+ descriptionField: {
13
+ type: import('vue').PropType<string>;
14
+ required: true;
15
+ };
12
16
  emptyOptionsText: {
13
17
  type: import('vue').PropType<TextProp>;
14
18
  };
15
- reduceNameFunction: {
16
- type: import('vue').PropType<(option: Item) => string>;
17
- };
18
19
  placeholder: {
19
20
  type: import('vue').PropType<TextProp>;
20
21
  };
@@ -47,12 +48,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
47
48
  type: import('vue').PropType<Item[]>;
48
49
  required: true;
49
50
  };
51
+ descriptionField: {
52
+ type: import('vue').PropType<string>;
53
+ required: true;
54
+ };
50
55
  emptyOptionsText: {
51
56
  type: import('vue').PropType<TextProp>;
52
57
  };
53
- reduceNameFunction: {
54
- type: import('vue').PropType<(option: Item) => string>;
55
- };
56
58
  placeholder: {
57
59
  type: import('vue').PropType<TextProp>;
58
60
  };
@@ -76,14 +78,5 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
76
78
  };
77
79
  }>> & {
78
80
  onChange?: (newValue: string) => any;
79
- }, {}, {}>, {
80
- dropdownOption?(_: {
81
- option: Item;
82
- }): any;
83
- }>;
81
+ }, {}, {}>;
84
82
  export default _default;
85
- type __VLS_WithTemplateSlots<T, S> = T & {
86
- new (): {
87
- $slots: S;
88
- };
89
- };
@@ -0,0 +1,3 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export declare function useScrollListener(element: Ref<HTMLElement>, handleScroll: (event: Event) => void): void;
@@ -1,6 +1,7 @@
1
- type ObjectTo = {
1
+ type Object = {
2
2
  [key: string]: any;
3
3
  };
4
+ type ObjectTo = Object;
4
5
  type ObjectFrom = Partial<ObjectTo>;
5
6
  type Relations = {
6
7
  [K in keyof ObjectTo]?: any;
@@ -1 +1,2 @@
1
+ export declare function getFinalValue(prop: any): any;
1
2
  export declare function scrollToTop(): void;
@@ -45,11 +45,6 @@ declare const _default: {
45
45
  optionalLabel: string;
46
46
  };
47
47
  };
48
- pgaInputSelect: {
49
- es: {
50
- emptyOptionsText: string;
51
- };
52
- };
53
48
  pgaLoginForm: {
54
49
  es: {
55
50
  inputLabelUsername: string;
@@ -59,6 +54,11 @@ declare const _default: {
59
54
  loginBtn: string;
60
55
  };
61
56
  };
57
+ pgaSelect: {
58
+ es: {
59
+ emptyOptionsText: string;
60
+ };
61
+ };
62
62
  pgaImage: {
63
63
  es: {
64
64
  confirmDeleteText: string;
@@ -1,4 +1,4 @@
1
- export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "alert" | "pgaDeleteButton" | "pgaEditButton" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaInputSelect" | "pgaLoginForm" | "pgaImage" | "pgaTable" | "pgaModal" | "notifications" | "validations", MP extends void | import('pangea-helpers').ExtractPrefixes<{
1
+ export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "alert" | "pgaDeleteButton" | "pgaEditButton" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaLoginForm" | "pgaSelect" | "pgaImage" | "pgaTable" | "pgaModal" | "notifications" | "validations", MP extends void | import('pangea-helpers').ExtractPrefixes<{
2
2
  alert: {
3
3
  es: {
4
4
  alertTitle: string;
@@ -45,11 +45,6 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
45
45
  optionalLabel: string;
46
46
  };
47
47
  };
48
- pgaInputSelect: {
49
- es: {
50
- emptyOptionsText: string;
51
- };
52
- };
53
48
  pgaLoginForm: {
54
49
  es: {
55
50
  inputLabelUsername: string;
@@ -59,6 +54,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
59
54
  loginBtn: string;
60
55
  };
61
56
  };
57
+ pgaSelect: {
58
+ es: {
59
+ emptyOptionsText: string;
60
+ };
61
+ };
62
62
  pgaImage: {
63
63
  es: {
64
64
  confirmDeleteText: string;
@@ -141,11 +141,6 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
141
141
  optionalLabel: string;
142
142
  };
143
143
  };
144
- pgaInputSelect: {
145
- es: {
146
- emptyOptionsText: string;
147
- };
148
- };
149
144
  pgaLoginForm: {
150
145
  es: {
151
146
  inputLabelUsername: string;
@@ -155,6 +150,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
155
150
  loginBtn: string;
156
151
  };
157
152
  };
153
+ pgaSelect: {
154
+ es: {
155
+ emptyOptionsText: string;
156
+ };
157
+ };
158
158
  pgaImage: {
159
159
  es: {
160
160
  confirmDeleteText: string;
@@ -237,11 +237,6 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
237
237
  optionalLabel: string;
238
238
  };
239
239
  };
240
- pgaInputSelect: {
241
- es: {
242
- emptyOptionsText: string;
243
- };
244
- };
245
240
  pgaLoginForm: {
246
241
  es: {
247
242
  inputLabelUsername: string;
@@ -251,6 +246,11 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
251
246
  loginBtn: string;
252
247
  };
253
248
  };
249
+ pgaSelect: {
250
+ es: {
251
+ emptyOptionsText: string;
252
+ };
253
+ };
254
254
  pgaImage: {
255
255
  es: {
256
256
  confirmDeleteText: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.520",
4
+ "version": "2.11.522",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",