@club-employes/utopia 4.124.0 → 4.126.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/DropDown/DropDown.d.ts +6 -5
- package/dist/components/molecules/DropDown/types.d.ts +3 -1
- package/dist/components/molecules/FormGroup/FormGroup.d.ts +37 -0
- package/dist/components/molecules/FormGroup/index.d.ts +2 -0
- package/dist/components/molecules/FormGroup/types.d.ts +9 -0
- package/dist/components/molecules/FormRow/FormRow.d.ts +22 -0
- package/dist/components/molecules/FormRow/index.d.ts +2 -0
- package/dist/components/molecules/FormRow/types.d.ts +4 -0
- package/dist/components/molecules/InputPhone/InputPhone.d.ts +10 -8
- package/dist/components/molecules/RepeatableGroup/RepeatableGroup.d.ts +62 -0
- package/dist/components/molecules/RepeatableGroup/index.d.ts +2 -0
- package/dist/components/molecules/index.d.ts +6 -0
- package/dist/components/organisms/Table/Table.d.ts +1 -1
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9156 -8717
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -3,17 +3,17 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { InputTextProps } from '../..';
|
|
4
4
|
declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
5
|
blur: (event: FocusEvent) => any;
|
|
6
|
-
change: (value: string | number | boolean | (string | number)[] | undefined) => any;
|
|
6
|
+
change: (value: string | number | boolean | (string | number | boolean)[] | undefined) => any;
|
|
7
7
|
close: () => any;
|
|
8
8
|
focus: (event: FocusEvent) => any;
|
|
9
|
-
"update:modelValue": (value: string | number | boolean | (string | number)[] | undefined) => any;
|
|
9
|
+
"update:modelValue": (value: string | number | boolean | (string | number | boolean)[] | undefined) => any;
|
|
10
10
|
open: () => any;
|
|
11
11
|
}, string, PublicProps, Readonly<DropDownProps> & Readonly<{
|
|
12
12
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
13
|
-
onChange?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
13
|
+
onChange?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
14
14
|
onClose?: (() => any) | undefined;
|
|
15
15
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
16
|
-
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
17
17
|
onOpen?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
label: string;
|
|
@@ -21,7 +21,7 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
|
|
|
21
21
|
size: "extra-small" | "small" | "medium" | "large";
|
|
22
22
|
required: boolean;
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
modelValue: string | number | boolean | (string | number)[];
|
|
24
|
+
modelValue: string | number | boolean | (string | number | boolean)[];
|
|
25
25
|
placeholder: string;
|
|
26
26
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
27
27
|
readonly: boolean;
|
|
@@ -30,6 +30,7 @@ declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, Component
|
|
|
30
30
|
options: DropDownOption[];
|
|
31
31
|
clearable: boolean;
|
|
32
32
|
maxHeight: string;
|
|
33
|
+
maxVisibleChips: number;
|
|
33
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
34
35
|
triggerRef: HTMLButtonElement;
|
|
35
36
|
chipsScrollRef: HTMLDivElement;
|
|
@@ -3,9 +3,10 @@ export interface DropDownOption {
|
|
|
3
3
|
label: string;
|
|
4
4
|
secondaryLabel?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
children?: DropDownOption[];
|
|
6
7
|
}
|
|
7
8
|
export interface DropDownProps {
|
|
8
|
-
modelValue?: string | number | boolean | (string | number)[] | undefined;
|
|
9
|
+
modelValue?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
9
10
|
label?: string;
|
|
10
11
|
placeholder?: string;
|
|
11
12
|
options?: DropDownOption[];
|
|
@@ -20,4 +21,5 @@ export interface DropDownProps {
|
|
|
20
21
|
required?: boolean;
|
|
21
22
|
maxHeight?: string;
|
|
22
23
|
innerModalId?: string;
|
|
24
|
+
maxVisibleChips?: number;
|
|
23
25
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FormGroupProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
actions?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
groupRef: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<FormGroupProps, {
|
|
17
|
+
groupId: string;
|
|
18
|
+
errorId: string;
|
|
19
|
+
descriptionId: string;
|
|
20
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormGroupProps> & Readonly<{}>, {
|
|
21
|
+
legend: string;
|
|
22
|
+
error: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
id: string;
|
|
27
|
+
description: string;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
|
+
groupRef: HTMLDivElement;
|
|
30
|
+
}, HTMLDivElement>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormRowProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<FormRowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormRowProps> & Readonly<{}>, {
|
|
13
|
+
gap: "small" | "normal" | "large";
|
|
14
|
+
columns: 1 | 2 | 3;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -108,17 +108,17 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
108
108
|
}> | null;
|
|
109
109
|
countryDropdownRef: CreateComponentPublicInstanceWithMixins<Readonly< DropDownProps> & Readonly<{
|
|
110
110
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
111
|
-
onChange?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
111
|
+
onChange?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
112
112
|
onClose?: (() => any) | undefined;
|
|
113
113
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
114
|
-
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
115
115
|
onOpen?: (() => any) | undefined;
|
|
116
116
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
117
117
|
blur: (event: FocusEvent) => any;
|
|
118
|
-
change: (value: string | number | boolean | (string | number)[] | undefined) => any;
|
|
118
|
+
change: (value: string | number | boolean | (string | number | boolean)[] | undefined) => any;
|
|
119
119
|
close: () => any;
|
|
120
120
|
focus: (event: FocusEvent) => any;
|
|
121
|
-
"update:modelValue": (value: string | number | boolean | (string | number)[] | undefined) => any;
|
|
121
|
+
"update:modelValue": (value: string | number | boolean | (string | number | boolean)[] | undefined) => any;
|
|
122
122
|
open: () => any;
|
|
123
123
|
}, PublicProps, {
|
|
124
124
|
label: string;
|
|
@@ -126,7 +126,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
126
126
|
size: "extra-small" | "small" | "medium" | "large";
|
|
127
127
|
required: boolean;
|
|
128
128
|
disabled: boolean;
|
|
129
|
-
modelValue: string | number | boolean | (string | number)[];
|
|
129
|
+
modelValue: string | number | boolean | (string | number | boolean)[];
|
|
130
130
|
placeholder: string;
|
|
131
131
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
132
132
|
readonly: boolean;
|
|
@@ -135,6 +135,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
135
135
|
options: DropDownOption[];
|
|
136
136
|
clearable: boolean;
|
|
137
137
|
maxHeight: string;
|
|
138
|
+
maxVisibleChips: number;
|
|
138
139
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
139
140
|
triggerRef: HTMLButtonElement;
|
|
140
141
|
chipsScrollRef: HTMLDivElement;
|
|
@@ -219,10 +220,10 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
219
220
|
Defaults: {};
|
|
220
221
|
}, Readonly< DropDownProps> & Readonly<{
|
|
221
222
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
222
|
-
onChange?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
223
|
+
onChange?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
223
224
|
onClose?: (() => any) | undefined;
|
|
224
225
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
225
|
-
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number)[] | undefined) => any) | undefined;
|
|
226
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number | boolean)[] | undefined) => any) | undefined;
|
|
226
227
|
onOpen?: (() => any) | undefined;
|
|
227
228
|
}>, {}, {}, {}, {}, {
|
|
228
229
|
label: string;
|
|
@@ -230,7 +231,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
230
231
|
size: "extra-small" | "small" | "medium" | "large";
|
|
231
232
|
required: boolean;
|
|
232
233
|
disabled: boolean;
|
|
233
|
-
modelValue: string | number | boolean | (string | number)[];
|
|
234
|
+
modelValue: string | number | boolean | (string | number | boolean)[];
|
|
234
235
|
placeholder: string;
|
|
235
236
|
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
236
237
|
readonly: boolean;
|
|
@@ -239,6 +240,7 @@ declare const _default: DefineComponent<InputPhoneProps, {}, {}, {}, {}, Compone
|
|
|
239
240
|
options: DropDownOption[];
|
|
240
241
|
clearable: boolean;
|
|
241
242
|
maxHeight: string;
|
|
243
|
+
maxVisibleChips: number;
|
|
242
244
|
}> | null;
|
|
243
245
|
}, HTMLDivElement>;
|
|
244
246
|
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface RepeatableGroupProps {
|
|
3
|
+
modelValue: any[];
|
|
4
|
+
minItems?: number;
|
|
5
|
+
maxItems?: number;
|
|
6
|
+
addLabel?: string;
|
|
7
|
+
removeLabel?: string;
|
|
8
|
+
addIcon?: string;
|
|
9
|
+
removeIcon?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
showIndex?: boolean;
|
|
12
|
+
styled?: boolean;
|
|
13
|
+
groupLabel?: string;
|
|
14
|
+
itemLabel?: string;
|
|
15
|
+
groupDescription?: string;
|
|
16
|
+
getItemKey?: (item: any, index: number) => string | number;
|
|
17
|
+
}
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: {
|
|
21
|
+
item?(_: {
|
|
22
|
+
item: any;
|
|
23
|
+
index: number;
|
|
24
|
+
update: (newItem: any) => void;
|
|
25
|
+
remove: () => Promise<void>;
|
|
26
|
+
}): any;
|
|
27
|
+
actions?(_: {}): any;
|
|
28
|
+
};
|
|
29
|
+
refs: {};
|
|
30
|
+
rootEl: HTMLDivElement;
|
|
31
|
+
};
|
|
32
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
|
+
declare const __VLS_component: DefineComponent<RepeatableGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (value: any[]) => any;
|
|
35
|
+
remove: (index: number) => any;
|
|
36
|
+
add: (index: number) => any;
|
|
37
|
+
}, string, PublicProps, Readonly<RepeatableGroupProps> & Readonly<{
|
|
38
|
+
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
39
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
40
|
+
onAdd?: ((index: number) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
removeIcon: string;
|
|
44
|
+
minItems: number;
|
|
45
|
+
maxItems: number;
|
|
46
|
+
addLabel: string;
|
|
47
|
+
removeLabel: string;
|
|
48
|
+
addIcon: string;
|
|
49
|
+
showIndex: boolean;
|
|
50
|
+
styled: boolean;
|
|
51
|
+
groupLabel: string;
|
|
52
|
+
itemLabel: string;
|
|
53
|
+
groupDescription: string;
|
|
54
|
+
getItemKey: (item: any, index: number) => string | number;
|
|
55
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -33,3 +33,9 @@ export { ProductImage } from './ProductImage';
|
|
|
33
33
|
export type { ProductImageProps } from './ProductImage';
|
|
34
34
|
export { MultiSelect, type MultiSelectProps } from './MultiSelect';
|
|
35
35
|
export { IconPicker, type IconPickerProps } from './IconPicker';
|
|
36
|
+
export { FormGroup } from './FormGroup';
|
|
37
|
+
export type { FormGroupProps } from './FormGroup';
|
|
38
|
+
export { FormRow } from './FormRow';
|
|
39
|
+
export type { FormRowProps } from './FormRow';
|
|
40
|
+
export { RepeatableGroup } from './RepeatableGroup';
|
|
41
|
+
export type { RepeatableGroupProps } from './RepeatableGroup';
|
|
@@ -37,6 +37,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
37
37
|
editable: boolean;
|
|
38
38
|
rows: number;
|
|
39
39
|
totalPages: number;
|
|
40
|
+
columns: ColumnType[];
|
|
40
41
|
lazy: boolean;
|
|
41
42
|
isCsvDataCheckMode: boolean;
|
|
42
43
|
filters: DataTableFilterMeta;
|
|
@@ -51,7 +52,6 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
51
52
|
metaKeySelection: boolean;
|
|
52
53
|
showPaginator: boolean;
|
|
53
54
|
rowsPerPageOptions: number[];
|
|
54
|
-
columns: ColumnType[];
|
|
55
55
|
activatedColumns: string[];
|
|
56
56
|
totalRecords: number;
|
|
57
57
|
sortMode: "single" | "multiple";
|
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export type { CounterButtonsProps } from './components/molecules/CounterButtons/
|
|
|
45
45
|
export type { ProductImageProps } from './components/molecules/ProductImage/types';
|
|
46
46
|
export type { MultiSelectProps } from './components/molecules/MultiSelect/types';
|
|
47
47
|
export type { IconPickerProps } from './components/molecules/IconPicker/types';
|
|
48
|
+
export type { FormGroupProps } from './components/molecules/FormGroup/types';
|
|
48
49
|
export type { BreadcrumbsItem, BreadcrumbsProps } from './components/organisms/Breadcrumbs/types';
|
|
49
50
|
export type { Filter, FilterGroupProps, Sort } from './components/organisms/FilterGroup/types';
|
|
50
51
|
export type { FilterPriceProps } from './components/organisms/FilterPrice/types';
|