@club-employes/utopia 4.171.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/molecules/PriceSummary/index.d.ts +1 -1
- package/dist/components/molecules/PriceSummary/types.d.ts +10 -1
- package/dist/components/molecules/Tooltip/Tooltip.d.ts +1 -0
- package/dist/components/molecules/Tooltip/types.d.ts +1 -0
- package/dist/components/molecules/index.d.ts +1 -1
- 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/ProductSummary/types.d.ts +4 -1
- package/dist/components/organisms/index.d.ts +3 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5863 -5656
- package/dist/utopia.css +1 -1
- package/package.json +3 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as PriceSummary } from './PriceSummary';
|
|
2
|
-
export type { PriceSummaryProps } from './types';
|
|
2
|
+
export type { PriceSummaryProps, PriceSummarySavingInfoTooltip, PriceSummarySavingInfoTooltipLine } from './types';
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
export interface PriceSummarySavingInfoTooltipLine {
|
|
2
|
+
label: string;
|
|
3
|
+
formattedValue: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface PriceSummarySavingInfoTooltip {
|
|
7
|
+
lines: PriceSummarySavingInfoTooltipLine[];
|
|
8
|
+
total: PriceSummarySavingInfoTooltipLine;
|
|
9
|
+
}
|
|
1
10
|
export interface PriceSummaryProps {
|
|
2
11
|
totalLabel: string;
|
|
3
12
|
formattedNewPrice: string;
|
|
4
13
|
formattedOriginalPrice?: string;
|
|
5
14
|
isSubventioned?: boolean;
|
|
6
15
|
savingInfoLabel?: string;
|
|
7
|
-
savingInfoTooltip?:
|
|
16
|
+
savingInfoTooltip?: PriceSummarySavingInfoTooltip;
|
|
8
17
|
}
|
|
@@ -22,6 +22,7 @@ declare const __VLS_component: DefineComponent<TooltipProps, {}, {}, {}, {}, Com
|
|
|
22
22
|
openDelay: number;
|
|
23
23
|
closeDelay: number;
|
|
24
24
|
offset: number;
|
|
25
|
+
horizontalOffset: number;
|
|
25
26
|
withArrow: boolean;
|
|
26
27
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
27
28
|
triggerRef: HTMLSpanElement;
|
|
@@ -25,7 +25,7 @@ export { Tooltip } from './Tooltip';
|
|
|
25
25
|
export { FilterLocation, type FilterLocationProps } from './FilterLocation';
|
|
26
26
|
export { PageHeader, type PageHeaderProps } from './PageHeader';
|
|
27
27
|
export { RadioCard, type RadioCardProps } from './RadioCard';
|
|
28
|
-
export { PriceSummary, type PriceSummaryProps } from './PriceSummary';
|
|
28
|
+
export { PriceSummary, type PriceSummaryProps, type PriceSummarySavingInfoTooltip } from './PriceSummary';
|
|
29
29
|
export { GrantUsersSelection, type GrantUsersSelectionProps } from './GrantUsersSelection';
|
|
30
30
|
export { FooterAction, type FooterActionProps } from './FooterAction';
|
|
31
31
|
export { CounterButtons, type CounterButtonsProps } from './CounterButtons';
|
|
@@ -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
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OptionSelectProps } from '../../molecules/OptionSelect';
|
|
2
|
+
import { PriceSummarySavingInfoTooltip } from '../../molecules/PriceSummary/types';
|
|
2
3
|
export interface ProductSummaryTitles {
|
|
3
4
|
label: string;
|
|
4
5
|
discount?: string;
|
|
@@ -10,7 +11,7 @@ export interface ProductSummaryPrice {
|
|
|
10
11
|
formattedOldPriceLabel: string;
|
|
11
12
|
formattedOldPriceValue: string;
|
|
12
13
|
formattedSavingInfo: string;
|
|
13
|
-
formattedSavingInfoTooltip:
|
|
14
|
+
formattedSavingInfoTooltip: PriceSummarySavingInfoTooltip;
|
|
14
15
|
}
|
|
15
16
|
export interface ProductSummaryAmount {
|
|
16
17
|
label?: string;
|
|
@@ -40,6 +41,8 @@ export interface ProductSummarySubvention {
|
|
|
40
41
|
export interface ProductSummaryTips {
|
|
41
42
|
title: string;
|
|
42
43
|
content: string;
|
|
44
|
+
seeMoreLabel: string;
|
|
45
|
+
seeLessLabel: string;
|
|
43
46
|
}
|
|
44
47
|
export interface ProductSummaryValidity {
|
|
45
48
|
label: string;
|
|
@@ -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
|
@@ -44,7 +44,7 @@ export type { MultiSelectProps } from './components/molecules/MultiSelect/types'
|
|
|
44
44
|
export type { OptionSelectProps } from './components/molecules/OptionSelect/types';
|
|
45
45
|
export { PageHeader } from './components/molecules/PageHeader';
|
|
46
46
|
export type { PageHeaderProps } from './components/molecules/PageHeader/types';
|
|
47
|
-
export type { PriceSummaryProps } from './components/molecules/PriceSummary/types';
|
|
47
|
+
export type { PriceSummaryProps, PriceSummarySavingInfoTooltip } from './components/molecules/PriceSummary/types';
|
|
48
48
|
export type { PriceTagProps } from './components/molecules/PriceTag/types';
|
|
49
49
|
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
50
50
|
export type { TooltipProps } from './components/molecules/Tooltip/types';
|
|
@@ -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';
|