@open-xamu-co/ui-common-types 4.0.0-next.12 → 4.0.0-next.13
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 +1 -1
- package/src/form/class.ts +1 -0
- package/src/form/types.ts +4 -0
- package/src/locale.ts +7 -1
package/package.json
CHANGED
package/src/form/class.ts
CHANGED
package/src/form/types.ts
CHANGED
|
@@ -168,6 +168,10 @@ export interface iFormInput<
|
|
|
168
168
|
* Ex: { multiple: true, min:3, max:3 } would make 3 values a requirement
|
|
169
169
|
*/
|
|
170
170
|
multiple?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* If multiple options are accepted, whether to accept or not duplicate values.
|
|
173
|
+
*/
|
|
174
|
+
unique?: boolean;
|
|
171
175
|
/**
|
|
172
176
|
* if muliple is set to true this optional value would be the required minimun amount of values
|
|
173
177
|
*/
|
package/src/locale.ts
CHANGED
|
@@ -84,8 +84,14 @@ export type tLocaleInput = {
|
|
|
84
84
|
select_placeholder: string;
|
|
85
85
|
/** @example "Restablish field" */
|
|
86
86
|
select_restablish_field: string;
|
|
87
|
-
/** @example "Type
|
|
87
|
+
/** @example "Type for options" */
|
|
88
88
|
select_filter_options: string;
|
|
89
|
+
/** @example "Searching..." */
|
|
90
|
+
select_filter_searching: string;
|
|
91
|
+
/** @example "Type something first | No coincidences" */
|
|
92
|
+
select_filter_no_content: string;
|
|
93
|
+
/** @example "Select {value}" */
|
|
94
|
+
select_filter_select_value: string;
|
|
89
95
|
/** @example "{count} of {amount}" */
|
|
90
96
|
file_one_of_amount: string;
|
|
91
97
|
/** @example "Delete file | Delete files" */
|