@club-employes/utopia 4.105.0 → 4.106.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/atoms/ProgressBar/types.d.ts +1 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts +31 -0
- package/dist/components/atoms/TextArea/index.d.ts +2 -0
- package/dist/components/atoms/TextArea/types.d.ts +15 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/molecules/FooterAction/FooterAction.d.ts +24 -0
- package/dist/components/molecules/FooterAction/index.d.ts +1 -0
- package/dist/components/molecules/FooterAction/types.d.ts +15 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/organisms/Table/Table.d.ts +1 -1
- package/dist/composables/useCurrencyFormat.d.ts +1 -1
- package/dist/composables/useProgressBar.d.ts +2 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3536 -3409
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TextAreaProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<TextAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
input: (event: Event) => any;
|
|
5
|
+
blur: (event: FocusEvent) => any;
|
|
6
|
+
change: (event: Event) => any;
|
|
7
|
+
focus: (event: FocusEvent) => any;
|
|
8
|
+
"update:modelValue": (value: string) => any;
|
|
9
|
+
}, string, PublicProps, Readonly<TextAreaProps> & Readonly<{
|
|
10
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
11
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
12
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
13
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
label: string;
|
|
17
|
+
resize: "none" | "vertical" | "horizontal" | "both";
|
|
18
|
+
message: string;
|
|
19
|
+
size: "small" | "medium" | "large";
|
|
20
|
+
required: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
modelValue: string;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
state: "default" | "valid" | "error";
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
forceModelValueOnBlur: boolean;
|
|
27
|
+
rows: number;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
|
+
textareaRef: HTMLTextAreaElement;
|
|
30
|
+
}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface TextAreaProps {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
state?: 'default' | 'valid' | 'error';
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
message?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
rows?: number;
|
|
12
|
+
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
13
|
+
maxlength?: number;
|
|
14
|
+
forceModelValueOnBlur?: boolean;
|
|
15
|
+
}
|
|
@@ -13,6 +13,7 @@ export { RangeSlider } from './RangeSlider';
|
|
|
13
13
|
export { ProgressBar, type ProgressBarProps } from './ProgressBar';
|
|
14
14
|
export { RadioBox, type RadioBoxProps } from './RadioBox';
|
|
15
15
|
export { FilterButton, type FilterButtonProps } from './FilterButton';
|
|
16
|
+
export { TextArea, type TextAreaProps } from './TextArea';
|
|
16
17
|
export type BadgeVariant = 'default' | 'success' | 'warning' | 'danger';
|
|
17
18
|
export type BadgeSize = 'small' | 'medium';
|
|
18
19
|
export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FooterActionProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
start?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
end?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<FooterActionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FooterActionProps> & Readonly<{}>, {
|
|
15
|
+
position: "sticky" | "fixed" | "static";
|
|
16
|
+
bordered: boolean;
|
|
17
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FooterAction } from './FooterAction';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FooterActionProps {
|
|
2
|
+
/**
|
|
3
|
+
* Positionning of the footer
|
|
4
|
+
* 'sticky': relative to scroll container
|
|
5
|
+
* 'fixed': always visible at bottom of viewport
|
|
6
|
+
* 'static': normal flow
|
|
7
|
+
* @default 'static'
|
|
8
|
+
*/
|
|
9
|
+
position?: 'sticky' | 'fixed' | 'static';
|
|
10
|
+
/**
|
|
11
|
+
* Whether to show a top border
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
bordered?: boolean;
|
|
15
|
+
}
|
|
@@ -25,4 +25,6 @@ export { Tooltip } from './Tooltip';
|
|
|
25
25
|
export { FilterLocation, type FilterLocationProps } from './FilterLocation';
|
|
26
26
|
export { RadioCard, type RadioCardProps } from './RadioCard';
|
|
27
27
|
export { PriceSummary, type PriceSummaryProps } from './PriceSummary';
|
|
28
|
+
export { FooterAction } from './FooterAction';
|
|
29
|
+
export type { FooterActionProps } from './FooterAction';
|
|
28
30
|
export { CounterButtons, type CounterButtonsProps } from './CounterButtons';
|
|
@@ -36,6 +36,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
36
36
|
searchable: boolean;
|
|
37
37
|
filterable: boolean;
|
|
38
38
|
editable: boolean;
|
|
39
|
+
rows: number;
|
|
39
40
|
lazy: boolean;
|
|
40
41
|
isCsvDataCheckMode: boolean;
|
|
41
42
|
filters: DataTableFilterMeta;
|
|
@@ -52,7 +53,6 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
52
53
|
rowsPerPageOptions: number[];
|
|
53
54
|
columns: ColumnType[];
|
|
54
55
|
activatedColumns: string[];
|
|
55
|
-
rows: number;
|
|
56
56
|
sortMode: "single" | "multiple";
|
|
57
57
|
rowHover: boolean;
|
|
58
58
|
editMode: "cell" | "row";
|
|
@@ -6,7 +6,7 @@ export interface UseCurrencyFormatOptions {
|
|
|
6
6
|
export interface UseCurrencyFormatReturn {
|
|
7
7
|
isCurrency: ComputedRef<boolean>;
|
|
8
8
|
getLocale: () => string;
|
|
9
|
-
formatValue: (val: number, isMax?: boolean) => string;
|
|
9
|
+
formatValue: (val: number, isMax?: boolean, isFloatValue?: boolean) => string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Composable pour gérer le formatage des devises et valeurs
|
|
@@ -8,12 +8,14 @@ export interface UseProgressBarOptions {
|
|
|
8
8
|
inversed?: MaybeRefOrGetter<boolean>;
|
|
9
9
|
showPercentage?: MaybeRefOrGetter<boolean>;
|
|
10
10
|
hideMax?: MaybeRefOrGetter<boolean>;
|
|
11
|
+
isFloatValue?: MaybeRefOrGetter<boolean>;
|
|
11
12
|
}
|
|
12
13
|
export interface UseProgressBarReturn {
|
|
13
14
|
effectiveMax: ComputedRef<number>;
|
|
14
15
|
percentage: ComputedRef<number>;
|
|
15
16
|
leftValue: ComputedRef<string>;
|
|
16
17
|
rightLabel: ComputedRef<string | null>;
|
|
18
|
+
tooltipRightLabel: ComputedRef<string | null>;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Composable pour gérer la logique métier de ProgressBar
|
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export type { LogoProps } from './components/atoms/Logo/types';
|
|
|
16
16
|
export type { SkeletonAvatarProps, SkeletonProps, SkeletonTextProps } from './components/atoms/Skeleton/types';
|
|
17
17
|
export type { SwitchProps } from './components/atoms/Switch/types';
|
|
18
18
|
export type { ProgressBarProps } from './components/atoms/ProgressBar/types';
|
|
19
|
+
export type { TextAreaProps } from './components/atoms/TextArea/types';
|
|
19
20
|
export type { RadioBoxProps } from './components/atoms/RadioBox/types';
|
|
20
21
|
export type { FilterButtonProps } from './components/atoms/FilterButton/types';
|
|
21
22
|
export type { BottomSheetChangeReason, BottomSheetProps } from './components/molecules/BottomSheet/types';
|
|
@@ -32,6 +33,7 @@ export type { TooltipProps } from './components/molecules/Tooltip/types';
|
|
|
32
33
|
export type { FilterLocationProps } from './components/molecules/FilterLocation/types';
|
|
33
34
|
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
34
35
|
export type { PriceSummaryProps } from './components/molecules/PriceSummary/types';
|
|
36
|
+
export type { FooterActionProps } from './components/molecules/FooterAction/types';
|
|
35
37
|
export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
|
|
36
38
|
export type { BreadcrumbsItem, BreadcrumbsProps } from './components/organisms/Breadcrumbs/types';
|
|
37
39
|
export type { Filter, FilterGroupProps, Sort } from './components/organisms/FilterGroup/types';
|