pangea-lib 2.11.487 → 2.11.489

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.
@@ -30,6 +30,10 @@ declare const _default: import('vue').DefineComponent<{
30
30
  deleteFn: {
31
31
  type: import('vue').PropType<() => Promise<void>>;
32
32
  };
33
+ buttonsLayout: {
34
+ type: import('vue').PropType<"horizontal" | "vertical">;
35
+ default: string;
36
+ };
33
37
  rounded: {
34
38
  type: import('vue').PropType<boolean>;
35
39
  };
@@ -63,10 +67,15 @@ declare const _default: import('vue').DefineComponent<{
63
67
  deleteFn: {
64
68
  type: import('vue').PropType<() => Promise<void>>;
65
69
  };
70
+ buttonsLayout: {
71
+ type: import('vue').PropType<"horizontal" | "vertical">;
72
+ default: string;
73
+ };
66
74
  rounded: {
67
75
  type: import('vue').PropType<boolean>;
68
76
  };
69
77
  }>>, {
70
78
  source: ImageSource;
79
+ buttonsLayout: 'horizontal' | 'vertical';
71
80
  }, {}>;
72
81
  export default _default;
@@ -82,5 +82,17 @@ declare const _default: {
82
82
  removeAllBtn: string;
83
83
  };
84
84
  };
85
+ validations: {
86
+ es: {
87
+ requiredValidationError: string;
88
+ minLengthValidationError: string;
89
+ maxLengthValidationError: string;
90
+ integerValidationError: string;
91
+ lessEqualValidationError: string;
92
+ greaterEqualValidationError: string;
93
+ lessThanValidationError: string;
94
+ greaterThanValidationError: string;
95
+ };
96
+ };
85
97
  };
86
98
  export default _default;
@@ -1,4 +1,4 @@
1
- export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "notifications" | "alert" | "pgaDeleteButton" | "pgaEditButton" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaInputSelect" | "pgaLoginForm" | "pgaImage" | "pgaTable" | "pgaModal", MP extends void | import('pangea-helpers').ExtractPrefixes<{
1
+ export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "notifications" | "alert" | "pgaDeleteButton" | "pgaEditButton" | "pgaLogoutButton" | "pgaDisplayNoItems" | "pgaDatePicker" | "pgaInputFile" | "pgaInputGroup" | "pgaInputSelect" | "pgaLoginForm" | "pgaImage" | "pgaTable" | "pgaModal" | "validations", MP extends void | import('pangea-helpers').ExtractPrefixes<{
2
2
  alert: {
3
3
  es: {
4
4
  alertTitle: string;
@@ -82,6 +82,18 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
82
82
  removeAllBtn: string;
83
83
  };
84
84
  };
85
+ validations: {
86
+ es: {
87
+ requiredValidationError: string;
88
+ minLengthValidationError: string;
89
+ maxLengthValidationError: string;
90
+ integerValidationError: string;
91
+ lessEqualValidationError: string;
92
+ greaterEqualValidationError: string;
93
+ lessThanValidationError: string;
94
+ greaterThanValidationError: string;
95
+ };
96
+ };
85
97
  }[FN]["es"]> = void>(fileName: FN, messagesPrefix?: MP) => (messageKey: MP extends void ? Exclude<keyof {
86
98
  alert: {
87
99
  es: {
@@ -166,6 +178,18 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
166
178
  removeAllBtn: string;
167
179
  };
168
180
  };
181
+ validations: {
182
+ es: {
183
+ requiredValidationError: string;
184
+ minLengthValidationError: string;
185
+ maxLengthValidationError: string;
186
+ integerValidationError: string;
187
+ lessEqualValidationError: string;
188
+ greaterEqualValidationError: string;
189
+ lessThanValidationError: string;
190
+ greaterThanValidationError: string;
191
+ };
192
+ };
169
193
  }[FN]["es"], `${string}__${string}`> : MP extends string ? import('pangea-helpers').ExtractSuffixes<{
170
194
  alert: {
171
195
  es: {
@@ -250,6 +274,18 @@ export declare const getLanguage: () => "es", setLanguage: (language: "es") => v
250
274
  removeAllBtn: string;
251
275
  };
252
276
  };
277
+ validations: {
278
+ es: {
279
+ requiredValidationError: string;
280
+ minLengthValidationError: string;
281
+ maxLengthValidationError: string;
282
+ integerValidationError: string;
283
+ lessEqualValidationError: string;
284
+ greaterEqualValidationError: string;
285
+ lessThanValidationError: string;
286
+ greaterThanValidationError: string;
287
+ };
288
+ };
253
289
  }[FN]["es"], MP> : never, props?: {
254
290
  [prop: string]: string | number;
255
291
  count?: number;
@@ -9,3 +9,4 @@ export * from './helpers';
9
9
  export * from './i18n';
10
10
  export * from './notifications';
11
11
  export * from './types';
12
+ export * from './validations';
@@ -0,0 +1,8 @@
1
+ export declare const requiredValidation: import('@vuelidate/core').ValidationRuleWithParams<object, any>;
2
+ export declare const minLengthValidation: (min: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
3
+ export declare const maxLengthValidation: (max: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
4
+ export declare const integerValidation: import('@vuelidate/core').ValidationRuleWithParams<object, any>;
5
+ export declare const lessEqualValidation: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
6
+ export declare const greaterEqualValidation: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
7
+ export declare const lessThanValidation: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
8
+ export declare const greaterThanValidation: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ es: {
3
+ requiredValidationError: string;
4
+ minLengthValidationError: string;
5
+ maxLengthValidationError: string;
6
+ integerValidationError: string;
7
+ lessEqualValidationError: string;
8
+ greaterEqualValidationError: string;
9
+ lessThanValidationError: string;
10
+ greaterThanValidationError: string;
11
+ };
12
+ };
13
+ 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.487",
4
+ "version": "2.11.489",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",