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

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.7",
3
+ "version": "3.1.0-next.9",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
package/src/locale.ts CHANGED
@@ -152,6 +152,8 @@ export type tLocaleForm = {
152
152
  form_requires_n_values: string;
153
153
  /** @example "Loading countries..." */
154
154
  form_loading_countries: string;
155
+ /** @example "Awaiting countries data..." */
156
+ form_awaiting_countries: string;
155
157
  /** @example "Look for country" */
156
158
  form_country: string;
157
159
  /** @example "Look for state" */
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;