@open-xamu-co/ui-common-types 3.1.0-next.8 → 3.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xamu-co/ui-common-types",
3
- "version": "3.1.0-next.8",
3
+ "version": "3.1.0",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
@@ -31,7 +31,7 @@
31
31
  "build:legacy": "rimraf dist && tsc --outDir dist --declaration --emitDeclarationOnly"
32
32
  },
33
33
  "dependencies": {
34
- "@open-xamu-co/ui-common-enums": "^3.1.0-next.1",
34
+ "@open-xamu-co/ui-common-enums": "^3.1.0",
35
35
  "@fortawesome/fontawesome-common-types": "^6.4.0",
36
36
  "sweetalert2": "^11.11.1"
37
37
  },
package/src/fetch.ts CHANGED
@@ -36,7 +36,7 @@ export interface iPagination {
36
36
  */
37
37
  at?: string | number;
38
38
  /**
39
- * Cantidad de elementos (limite)
39
+ * Cantidad de elementos por pagina (limite)
40
40
  */
41
41
  first?: number;
42
42
  orderBy?: tOrderBy[];
package/src/values.ts CHANGED
@@ -84,6 +84,8 @@ export interface iProperty<
84
84
  * Overrides the plugin's imagePlaceholder
85
85
  */
86
86
  imagePlaceholder?: string;
87
+ /** Event to handle image load errors */
88
+ onImageError?: (data?: any) => void;
87
89
  }
88
90
 
89
91
  export type tPropertyOrderFn = (a: [string, any], b: [string, any]) => -1 | 0 | 1;