@club-employes/utopia 4.172.0 → 4.173.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/dist/components/organisms/InputSearch/InputSearch.d.ts +39 -0
- package/dist/components/organisms/InputSearch/index.d.ts +1 -0
- package/dist/components/organisms/InputSearch/types.d.ts +19 -0
- package/dist/components/organisms/index.d.ts +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4248 -4112
- package/dist/utopia.css +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { InputSearchProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DropDownOption } from '../../..';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
'total-results'?(_: {
|
|
8
|
+
class: string;
|
|
9
|
+
}): any;
|
|
10
|
+
message?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<InputSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
"update:fieldValue": (value: string | number | boolean | undefined) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<InputSearchProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:fieldValue"?: ((value: string | number | boolean | undefined) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
message: string;
|
|
24
|
+
size: "extra-small" | "small" | "medium" | "large";
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
modelValue: string;
|
|
27
|
+
state: "default" | "error" | "valid";
|
|
28
|
+
language: "fr" | "en";
|
|
29
|
+
fieldValue: string | number | boolean;
|
|
30
|
+
fieldOptions: DropDownOption[];
|
|
31
|
+
totalResults: number;
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InputSearch } from './InputSearch';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DropDownOption } from '../../molecules/DropDown/types';
|
|
2
|
+
export interface InputSearchProps {
|
|
3
|
+
/** Mot-clé de recherche (v-model) */
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
/** Champ sélectionné pour la recherche (v-model, sélection unique) */
|
|
6
|
+
fieldValue?: string | number | boolean;
|
|
7
|
+
/** Liste des champs sur lesquels appliquer la recherche. Si vide/absent, pas de dropdown. */
|
|
8
|
+
fieldOptions?: DropDownOption[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Placeholder du dropdown quand aucun champ n'est sélectionné */
|
|
11
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large';
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** État du champ recherche */
|
|
14
|
+
state?: 'default' | 'error' | 'valid';
|
|
15
|
+
iconMessage?: string;
|
|
16
|
+
totalResults?: number;
|
|
17
|
+
message?: string;
|
|
18
|
+
language?: 'fr' | 'en';
|
|
19
|
+
}
|
|
@@ -6,10 +6,12 @@ export { FilterPrice } from './FilterPrice';
|
|
|
6
6
|
export { PageNavigation } from './PageNavigation';
|
|
7
7
|
export { MyEditor, HtmlPreview, renderProseMirrorToHtml, type MyEditorProps } from './MyEditor';
|
|
8
8
|
export { TableEmptyState, Table } from './Table';
|
|
9
|
-
export type { TableProps,
|
|
9
|
+
export type { TableProps, TableRequestData, TableRowData, TableEmptyStateProps, ActionContentType, ActionsContentType, CellContentType, CellEditorProps, CellFilterType, CellProps, ColumnOrder, ColumnType, DateContentType, DateRangeContentType, DropdownContentType, ErrorType, MatchMode, PriceContentType, ProgressBarContentType, SortConfig, TagContentType, TextImageContentType, ToggleContentType } from './Table';
|
|
10
10
|
export { DropFile } from './DropFile';
|
|
11
11
|
export type { DropFileProps, DropFileVariant, DropFileErrorCode, DropFileFileData, DropFileDropEvent, DropFileErrorEvent } from './DropFile';
|
|
12
12
|
export { FilterGroup } from './FilterGroup';
|
|
13
|
+
export { InputSearch } from './InputSearch';
|
|
14
|
+
export type { InputSearchProps } from './InputSearch/types';
|
|
13
15
|
export type { FilterGroupProps, Filter, Sort } from './FilterGroup/types';
|
|
14
16
|
export { Accordion, AccordionItem } from './Accordion';
|
|
15
17
|
export type { AccordionProps, AccordionItemProps } from './Accordion';
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export type { ProductSummaryProps, ProductSummaryTitles, ProductSummaryPrice, Pr
|
|
|
63
63
|
export { CellContentType, CellFilterType } from './components/organisms/Table';
|
|
64
64
|
export type { CellContent, CellProps, ColumnOrder, ColumnType, MatchMode, SortConfig, TableProps, TableRequestData, TableEmptyStateProps } from './components/organisms/Table/types';
|
|
65
65
|
export type { TransactionProps } from './components/organisms/Transaction/types';
|
|
66
|
+
export type { InputSearchProps } from './components/organisms/InputSearch/types';
|
|
66
67
|
export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';
|
|
67
68
|
export { gifteoDark, gifteoLight } from './themes/gifteo';
|
|
68
69
|
export type { LoaderProps } from './components/templates/Loader/types';
|