ingeniuscliq-core 0.3.48 → 0.4.1

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.
@@ -6,6 +6,7 @@ interface FormCheckboxProps<T extends FieldValues = FieldValues> extends BaseSty
6
6
  readonly name: Path<T>;
7
7
  readonly placeholder?: string;
8
8
  readonly checkboxProps?: React.ComponentProps<typeof CheckboxPrimitive.Root>;
9
+ readonly required?: boolean;
9
10
  }
10
- export declare function FormCheckbox<T extends FieldValues = FieldValues>({ control, name, placeholder, className, checkboxProps }: FormCheckboxProps<T>): import("react/jsx-runtime").JSX.Element;
11
+ export declare function FormCheckbox<T extends FieldValues = FieldValues>({ control, name, placeholder, className, checkboxProps, required }: FormCheckboxProps<T>): import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -13,6 +13,10 @@ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseStyleP
13
13
  readonly placeholder?: string;
14
14
  readonly type?: keyof typeof SUPPORTED_INPUT_TYPES;
15
15
  readonly inputProps?: React.ComponentProps<"input"> & InputExtendedProps;
16
+ readonly withinLabel?: boolean;
17
+ readonly withinMessage?: boolean;
18
+ readonly withinControl?: boolean;
19
+ readonly required?: boolean;
16
20
  }
17
- export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className, inputProps }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
21
+ export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className, inputProps, withinControl, withinLabel, withinMessage, required }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
18
22
  export {};
@@ -9,10 +9,12 @@ interface FormSelectProps<T extends FieldValues = FieldValues> extends BaseStyle
9
9
  value: string;
10
10
  label: string;
11
11
  }>;
12
- readonly className: string;
13
- readonly selectClassName: string;
12
+ readonly className?: string;
13
+ readonly selectClassName?: string;
14
+ readonly selectItemClassName?: string;
14
15
  readonly onValueChange?: (value: string) => void;
15
16
  readonly selectProps?: React.ComponentProps<typeof Select>;
17
+ readonly required?: boolean;
16
18
  }
17
- export declare function FormSelect<T extends FieldValues = FieldValues>({ control, name, placeholder, className, options, selectClassName, onValueChange, selectProps }: FormSelectProps<T>): import("react/jsx-runtime").JSX.Element;
19
+ export declare function FormSelect<T extends FieldValues = FieldValues>({ control, name, placeholder, className, options, selectClassName, selectItemClassName, onValueChange, selectProps, required }: FormSelectProps<T>): import("react/jsx-runtime").JSX.Element;
18
20
  export {};
@@ -4,6 +4,7 @@ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseStyleP
4
4
  readonly control: Control<T>;
5
5
  readonly name: Path<T>;
6
6
  readonly placeholder?: string;
7
+ readonly required?: boolean;
7
8
  }
8
- export declare function FormTextArea<T extends FieldValues = FieldValues>({ control, name, placeholder, className }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FormTextArea<T extends FieldValues = FieldValues>({ control, name, placeholder, className, required }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -2,6 +2,7 @@ import { BaseStyleProps } from '../../../types/ui/main';
2
2
  interface LogoProps extends BaseStyleProps {
3
3
  to?: string;
4
4
  icon?: string;
5
+ fallback?: string;
5
6
  }
6
- export declare function Logo({ className, to, icon }: LogoProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Logo({ className, to, icon, fallback }: LogoProps): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1,6 +1,7 @@
1
1
  export type SUPPORTED_LANGUAGES = 'es' | 'en';
2
- export declare function useLanguage(lang?: SUPPORTED_LANGUAGES): {
2
+ export declare function useLanguage(): {
3
3
  t: import('i18next').TFunction<"translation", undefined>;
4
+ languageOptions: string[];
4
5
  language: string;
5
6
  i18n: import('i18next').i18n;
6
7
  setLanguage: (newLang?: SUPPORTED_LANGUAGES) => void;
@@ -37,11 +37,15 @@ export declare const resources: {
37
37
  };
38
38
  };
39
39
  readonly fields: {
40
+ label: string;
40
41
  name: string;
41
42
  lastname: string;
42
43
  email: string;
43
44
  password: string;
44
45
  password_confirmation: string;
46
+ currentPassword: string;
47
+ newPassword: string;
48
+ retypeNewPassword: string;
45
49
  phone: string;
46
50
  address: string;
47
51
  note: string;
@@ -49,6 +53,16 @@ export declare const resources: {
49
53
  customer_email: string;
50
54
  customer_phone: string;
51
55
  customer_address: string;
56
+ is_default: string;
57
+ message: string;
58
+ beneficiary_name: string;
59
+ beneficiary_email: string;
60
+ beneficiary_phone: string;
61
+ province: string;
62
+ municipality: string;
63
+ fieldLabel: {
64
+ optional: string;
65
+ };
52
66
  };
53
67
  readonly menu: {
54
68
  store: string;
@@ -61,6 +75,24 @@ export declare const resources: {
61
75
  noAccount: string;
62
76
  alreadyHaveAccount: string;
63
77
  };
78
+ readonly pagination: {
79
+ previous: string;
80
+ next: string;
81
+ more: string;
82
+ };
83
+ readonly button: {
84
+ send: string;
85
+ save: string;
86
+ back: string;
87
+ next: string;
88
+ pay: string;
89
+ edit: string;
90
+ delete: string;
91
+ close: string;
92
+ update: string;
93
+ cancel: string;
94
+ confirm: string;
95
+ };
64
96
  };
65
97
  };
66
98
  readonly es: {
@@ -100,11 +132,15 @@ export declare const resources: {
100
132
  };
101
133
  };
102
134
  readonly fields: {
135
+ label: string;
103
136
  name: string;
104
137
  lastname: string;
105
138
  email: string;
106
139
  password: string;
107
140
  password_confirmation: string;
141
+ currentPassword: string;
142
+ newPassword: string;
143
+ retypeNewPassword: string;
108
144
  phone: string;
109
145
  address: string;
110
146
  note: string;
@@ -112,6 +148,16 @@ export declare const resources: {
112
148
  customer_email: string;
113
149
  customer_phone: string;
114
150
  customer_address: string;
151
+ is_default: string;
152
+ message: string;
153
+ beneficiary_name: string;
154
+ beneficiary_email: string;
155
+ beneficiary_phone: string;
156
+ province: string;
157
+ municipality: string;
158
+ fieldLabel: {
159
+ optional: string;
160
+ };
115
161
  };
116
162
  readonly menu: {
117
163
  store: string;
@@ -124,6 +170,24 @@ export declare const resources: {
124
170
  noAccount: string;
125
171
  alreadyHaveAccount: string;
126
172
  };
173
+ readonly pagination: {
174
+ previous: string;
175
+ next: string;
176
+ more: string;
177
+ };
178
+ readonly button: {
179
+ send: string;
180
+ save: string;
181
+ back: string;
182
+ next: string;
183
+ pay: string;
184
+ edit: string;
185
+ delete: string;
186
+ close: string;
187
+ update: string;
188
+ cancel: string;
189
+ confirm: string;
190
+ };
127
191
  };
128
192
  };
129
193
  };