@club-employes/utopia 4.122.0 → 4.123.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/IconPicker/IconPicker.d.ts +15 -0
- package/dist/components/molecules/IconPicker/index.d.ts +1 -0
- package/dist/components/molecules/IconPicker/types.d.ts +8 -0
- package/dist/components/molecules/MultiSelect/MultiSelect.d.ts +16 -0
- package/dist/components/molecules/MultiSelect/index.d.ts +2 -0
- package/dist/components/molecules/MultiSelect/types.d.ts +19 -0
- package/dist/components/molecules/ProductImage/ProductImage.d.ts +2 -0
- package/dist/components/molecules/ProductImage/types.d.ts +1 -0
- package/dist/components/molecules/RadioCard/RadioCard.d.ts +5 -0
- package/dist/components/molecules/RadioCard/types.d.ts +4 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/organisms/Accordion/Accordion.d.ts +1 -1
- package/dist/components/organisms/MyEditor/index.d.ts +5 -0
- package/dist/components/organisms/MyEditor/toolbarConfig.d.ts +24 -0
- package/dist/components/organisms/MyEditor/types.d.ts +5 -0
- package/dist/components/organisms/MyEditor/utils.d.ts +6 -0
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +12307 -9294
- package/dist/utopia.css +1 -1
- package/package.json +14 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconPickerProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<IconPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:modelValue": (value: string) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<IconPickerProps> & Readonly<{
|
|
6
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
label: string;
|
|
9
|
+
size: "small" | "medium" | "large";
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
modelValue: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
description: string;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IconPicker } from './IconPicker';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MultiSelectProps, SelectOption } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<MultiSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: (string | number)[]) => any;
|
|
5
|
+
"action-click": () => any;
|
|
6
|
+
}, string, PublicProps, Readonly<MultiSelectProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
8
|
+
"onAction-click"?: (() => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
size: "small" | "medium" | "large";
|
|
11
|
+
modelValue: (string | number)[];
|
|
12
|
+
options: SelectOption[];
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
14
|
+
containerRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SelectOption {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string | number;
|
|
4
|
+
icon?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MultiSelectProps {
|
|
8
|
+
modelValue: (string | number)[];
|
|
9
|
+
options: SelectOption[];
|
|
10
|
+
label?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
error?: string;
|
|
15
|
+
success?: string;
|
|
16
|
+
size?: 'small' | 'medium' | 'large';
|
|
17
|
+
showActionButton?: boolean;
|
|
18
|
+
actionButtonIcon?: string;
|
|
19
|
+
}
|
|
@@ -12,7 +12,9 @@ declare const _default: DefineComponent<ProductImageProps, {}, {}, {}, {}, Compo
|
|
|
12
12
|
}) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
disabled: boolean;
|
|
15
|
+
aspectRatio: number;
|
|
15
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
17
|
+
productImageContainerRef: HTMLDivElement;
|
|
16
18
|
galleryRef: HTMLDivElement;
|
|
17
19
|
mainImageContainerRef: HTMLDivElement;
|
|
18
20
|
}, HTMLDivElement>;
|
|
@@ -7,6 +7,7 @@ declare function __VLS_template(): {
|
|
|
7
7
|
icon?(_: {}): any;
|
|
8
8
|
title?(_: {}): any;
|
|
9
9
|
description?(_: {}): any;
|
|
10
|
+
expanded?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
13
|
rootEl: HTMLLabelElement;
|
|
@@ -17,10 +18,14 @@ declare const __VLS_component: DefineComponent<RadioCardProps, {}, {}, {}, {}, C
|
|
|
17
18
|
}, string, PublicProps, Readonly<RadioCardProps> & Readonly<{
|
|
18
19
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
19
20
|
}>, {
|
|
21
|
+
number: string;
|
|
22
|
+
size: "sm" | "md" | "lg";
|
|
20
23
|
disabled: boolean;
|
|
21
24
|
modelValue: any;
|
|
22
25
|
value: any;
|
|
26
|
+
bigPicto: boolean;
|
|
23
27
|
hideRadio: boolean;
|
|
28
|
+
collapsible: boolean;
|
|
24
29
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
25
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
31
|
export default _default;
|
|
@@ -31,3 +31,5 @@ export { FooterAction, type FooterActionProps } from './FooterAction';
|
|
|
31
31
|
export { CounterButtons, type CounterButtonsProps } from './CounterButtons';
|
|
32
32
|
export { ProductImage } from './ProductImage';
|
|
33
33
|
export type { ProductImageProps } from './ProductImage';
|
|
34
|
+
export { MultiSelect, type MultiSelectProps } from './MultiSelect';
|
|
35
|
+
export { IconPicker, type IconPickerProps } from './IconPicker';
|
|
@@ -19,10 +19,10 @@ declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, C
|
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
ariaLabel: string;
|
|
21
21
|
modelValue: string[];
|
|
22
|
+
collapsible: boolean;
|
|
22
23
|
keepContentMounted: boolean;
|
|
23
24
|
defaultExpandedItems: string[];
|
|
24
25
|
allowMultiple: boolean;
|
|
25
|
-
collapsible: boolean;
|
|
26
26
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
28
|
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as MyEditor } from './MyEditor';
|
|
2
|
+
export { default as HtmlPreview } from './HtmlPreview';
|
|
3
|
+
export { renderProseMirrorToHtml } from './utils';
|
|
4
|
+
export type { ToolbarConfig } from './toolbarConfig';
|
|
5
|
+
export { defaultToolbarConfig } from './toolbarConfig';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ToolbarConfig {
|
|
2
|
+
showToolbar?: boolean;
|
|
3
|
+
headings?: boolean;
|
|
4
|
+
formatting?: {
|
|
5
|
+
bold?: boolean;
|
|
6
|
+
italic?: boolean;
|
|
7
|
+
link?: boolean;
|
|
8
|
+
};
|
|
9
|
+
lists?: {
|
|
10
|
+
ordered?: boolean;
|
|
11
|
+
bullet?: boolean;
|
|
12
|
+
};
|
|
13
|
+
blocks?: {
|
|
14
|
+
codeBlock?: boolean;
|
|
15
|
+
blockquote?: boolean;
|
|
16
|
+
};
|
|
17
|
+
media?: {
|
|
18
|
+
image?: boolean;
|
|
19
|
+
video?: boolean;
|
|
20
|
+
table?: boolean;
|
|
21
|
+
};
|
|
22
|
+
colors?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const defaultToolbarConfig: ToolbarConfig;
|
|
@@ -6,6 +6,8 @@ export { Breadcrumbs } from './Breadcrumbs';
|
|
|
6
6
|
export { ProductCard } from './ProductCard';
|
|
7
7
|
export { FilterPrice } from './FilterPrice';
|
|
8
8
|
export { PageNavigation } from './PageNavigation';
|
|
9
|
+
export { MyEditor, HtmlPreview, renderProseMirrorToHtml } from './MyEditor';
|
|
10
|
+
export type { MyEditorProps } from './MyEditor';
|
|
9
11
|
export { Table } from './Table';
|
|
10
12
|
export type { TableProps, ColumnType, CellEditorProps, CellProps, CellContentType, CellFilterType, TableRequestData, SortConfig, ActiveFilter, ColumnOrder, MatchMode, ErrorType, TableRowData, TextImageContentType, TagContentType, PriceContentType, DateContentType, DateRangeContentType, DropdownContentType, ProgressBarContentType, ActionsContentType, ActionContentType, ToggleContentType } from './Table';
|
|
11
13
|
export { DropFile } from './DropFile';
|
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type { ThemeConfig, ThemeProviderProps } from './theme-provider';
|
|
|
3
3
|
export * from './components';
|
|
4
4
|
export { Skeleton, SkeletonAvatar, SkeletonText } from './components/atoms/Skeleton';
|
|
5
5
|
export { DefaultLayout, Header, Menu, NavItem } from './components/layouts';
|
|
6
|
-
export { BalanceCard, BalanceCardGroup } from './components/organisms';
|
|
6
|
+
export { BalanceCard, BalanceCardGroup, MyEditor, HtmlPreview, renderProseMirrorToHtml } from './components/organisms';
|
|
7
7
|
export type { BalanceCardData, BalanceCardGroupProps, BalanceCardProps } from './components/organisms';
|
|
8
8
|
export { Loader } from './components/templates';
|
|
9
9
|
export type { ButtonProps } from './components/atoms/Button/types';
|
|
@@ -43,11 +43,14 @@ export type { GrantUsersSelectionProps } from './components/molecules/GrantUsers
|
|
|
43
43
|
export type { FooterActionProps } from './components/molecules/FooterAction/types';
|
|
44
44
|
export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
|
|
45
45
|
export type { ProductImageProps } from './components/molecules/ProductImage/types';
|
|
46
|
+
export type { MultiSelectProps } from './components/molecules/MultiSelect/types';
|
|
47
|
+
export type { IconPickerProps } from './components/molecules/IconPicker/types';
|
|
46
48
|
export type { BreadcrumbsItem, BreadcrumbsProps } from './components/organisms/Breadcrumbs/types';
|
|
47
49
|
export type { Filter, FilterGroupProps, Sort } from './components/organisms/FilterGroup/types';
|
|
48
50
|
export type { FilterPriceProps } from './components/organisms/FilterPrice/types';
|
|
49
51
|
export type { PageNavigationProps } from './components/organisms/PageNavigation/types';
|
|
50
52
|
export type { ProductCardProps } from './components/organisms/ProductCard/types';
|
|
53
|
+
export type { MyEditorProps } from './components/organisms/MyEditor/types';
|
|
51
54
|
export type { TableProps, ColumnType, CellProps, CellContent, MatchMode, TableRequestData, SortConfig, ActiveFilter, ColumnOrder } from './components/organisms/Table/types';
|
|
52
55
|
export { CellContentType, CellFilterType } from './components/organisms/Table';
|
|
53
56
|
export type { DropFileProps } from './components/organisms/DropFile/types';
|