pangea-lib 2.11.488 → 2.11.490

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.
@@ -82,5 +82,17 @@ declare const _default: {
82
82
  removeAllBtn: string;
83
83
  };
84
84
  };
85
+ validations: {
86
+ es: {
87
+ requiredRuleError: string;
88
+ minLengthRuleError: string;
89
+ maxLengthRuleError: string;
90
+ integerRuleError: string;
91
+ lessEqualRuleError: string;
92
+ greaterEqualRuleError: string;
93
+ lessThanRuleError: string;
94
+ greaterThanRuleError: 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
+ requiredRuleError: string;
88
+ minLengthRuleError: string;
89
+ maxLengthRuleError: string;
90
+ integerRuleError: string;
91
+ lessEqualRuleError: string;
92
+ greaterEqualRuleError: string;
93
+ lessThanRuleError: string;
94
+ greaterThanRuleError: 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
+ requiredRuleError: string;
184
+ minLengthRuleError: string;
185
+ maxLengthRuleError: string;
186
+ integerRuleError: string;
187
+ lessEqualRuleError: string;
188
+ greaterEqualRuleError: string;
189
+ lessThanRuleError: string;
190
+ greaterThanRuleError: 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
+ requiredRuleError: string;
280
+ minLengthRuleError: string;
281
+ maxLengthRuleError: string;
282
+ integerRuleError: string;
283
+ lessEqualRuleError: string;
284
+ greaterEqualRuleError: string;
285
+ lessThanRuleError: string;
286
+ greaterThanRuleError: 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 requiredRule: import('@vuelidate/core').ValidationRuleWithParams<object, any>;
2
+ export declare const minLengthRule: (min: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
3
+ export declare const maxLengthRule: (max: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
4
+ export declare const integerRule: import('@vuelidate/core').ValidationRuleWithParams<object, any>;
5
+ export declare const lessEqualRule: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
6
+ export declare const greaterEqualRule: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
7
+ export declare const lessThanRule: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
8
+ export declare const greaterThanRule: (number: number) => import('@vuelidate/core').ValidationRuleWithParams<object, any>;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ es: {
3
+ requiredRuleError: string;
4
+ minLengthRuleError: string;
5
+ maxLengthRuleError: string;
6
+ integerRuleError: string;
7
+ lessEqualRuleError: string;
8
+ greaterEqualRuleError: string;
9
+ lessThanRuleError: string;
10
+ greaterThanRuleError: 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.488",
4
+ "version": "2.11.490",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",