@open-xamu-co/ui-common-types 4.0.0-next.11 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xamu-co/ui-common-types",
3
- "version": "4.0.0-next.11",
3
+ "version": "4.0.0-next.13",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
package/src/form/class.ts CHANGED
@@ -46,6 +46,7 @@ export declare abstract class tFormInput<
46
46
  public readonly optionsFilter?: tOptionsLoaderFn;
47
47
  // public
48
48
  public multiple: boolean;
49
+ public unique: boolean;
49
50
  public min: number;
50
51
  public max: number;
51
52
  public meta?: Record<string, any>;
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 or Double click for options" */
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" */
@@ -321,6 +327,8 @@ export type tLocaleTable = {
321
327
  * @localeType
322
328
  */
323
329
  export type tLocalePagination = {
330
+ /** @example "Pagination" */
331
+ pagination: string;
324
332
  /** @example "No items | Single item | {count} items" */
325
333
  pagination_items: string;
326
334
  /** @example "No pages | Single page | {count} pages" */