beeple-toolkit 1.0.10 → 1.0.12
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/beeple-toolkit.css +1 -1
- package/dist/beeple-toolkit.es.js +3218 -2930
- package/dist/beeple-toolkit.umd.js +1 -1
- package/dist/components/DatePicker/DatePickerPanel.vue.d.ts +1 -1
- package/dist/components/DatePicker/locales.d.ts +2 -0
- package/dist/components/DropDown/DropDownMenu.vue.d.ts +17 -7
- package/dist/components/FilterButton/FilterButton.vue.d.ts +5 -0
- package/dist/components/TeamCard/TeamCard.vue.d.ts +2 -2
- package/dist/components/Typography/Text.vue.d.ts +1 -1
- package/dist/components/types.d.ts +42 -1
- package/package.json +1 -1
|
@@ -19,15 +19,15 @@ interface DropDownMenuProps {
|
|
|
19
19
|
optionValue: string;
|
|
20
20
|
getOptionKey: (option: string | number | DropDownOption | Record<string, unknown>) => string;
|
|
21
21
|
getOptionLabel: (option: string | number | DropDownOption | Record<string, unknown>) => string;
|
|
22
|
-
getOptionAvatar
|
|
22
|
+
getOptionAvatar?: (option: string | number | DropDownOption | Record<string, unknown>) => {
|
|
23
23
|
photo?: string;
|
|
24
24
|
fullName?: string;
|
|
25
25
|
} | undefined;
|
|
26
|
-
getOptionAvatarAlt
|
|
27
|
-
getOptionLeadingIcon
|
|
28
|
-
getOptionTrailingIcon
|
|
29
|
-
getOptionDisabled
|
|
30
|
-
getOptionClickable
|
|
26
|
+
getOptionAvatarAlt?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
27
|
+
getOptionLeadingIcon?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
28
|
+
getOptionTrailingIcon?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
29
|
+
getOptionDisabled?: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
30
|
+
getOptionClickable?: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
31
31
|
isSelected: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
32
32
|
}
|
|
33
33
|
declare const __VLS_export: import("vue").DefineComponent<DropDownMenuProps, {
|
|
@@ -58,6 +58,16 @@ declare const __VLS_export: import("vue").DefineComponent<DropDownMenuProps, {
|
|
|
58
58
|
onSelectOption?: ((option: string | number | DropDownOption | Record<string, unknown>) => any) | undefined;
|
|
59
59
|
onSetHighlighted?: ((index: number) => any) | undefined;
|
|
60
60
|
"onUpdate:searchQuery"?: ((value: string) => any) | undefined;
|
|
61
|
-
}>, {
|
|
61
|
+
}>, {
|
|
62
|
+
getOptionAvatar: (option: string | number | DropDownOption | Record<string, unknown>) => {
|
|
63
|
+
photo?: string;
|
|
64
|
+
fullName?: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
getOptionAvatarAlt: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
67
|
+
getOptionLeadingIcon: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
68
|
+
getOptionTrailingIcon: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
69
|
+
getOptionDisabled: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
70
|
+
getOptionClickable: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
62
72
|
declare const _default: typeof __VLS_export;
|
|
63
73
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FilterButtonProps } from '../types';
|
|
2
2
|
import '../DropDown/dropdown.css';
|
|
3
|
+
import '../DatePicker/datepicker.css';
|
|
3
4
|
import './filterButton.css';
|
|
4
5
|
declare const __VLS_export: import("vue").DefineComponent<FilterButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
6
|
close: () => any;
|
|
@@ -22,6 +23,10 @@ declare const __VLS_export: import("vue").DefineComponent<FilterButtonProps, {},
|
|
|
22
23
|
optionLabel: string;
|
|
23
24
|
optionValue: string;
|
|
24
25
|
filterName: string;
|
|
26
|
+
rangeFromLabel: string;
|
|
27
|
+
rangeToLabel: string;
|
|
28
|
+
booleanYesLabel: string;
|
|
29
|
+
booleanNoLabel: string;
|
|
25
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
31
|
declare const _default: typeof __VLS_export;
|
|
27
32
|
export default _default;
|
|
@@ -3,12 +3,12 @@ import './teamCard.css';
|
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<TeamCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
4
|
click: (event: MouseEvent) => any;
|
|
5
5
|
"add-collaborator": () => any;
|
|
6
|
-
"menu-action": (action: "copy" | "
|
|
6
|
+
"menu-action": (action: "copy" | "move" | "delete" | "edit") => any;
|
|
7
7
|
"update:status": (status: "published" | "unpublished") => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<TeamCardProps> & Readonly<{
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
"onAdd-collaborator"?: (() => any) | undefined;
|
|
11
|
-
"onMenu-action"?: ((action: "copy" | "
|
|
11
|
+
"onMenu-action"?: ((action: "copy" | "move" | "delete" | "edit") => any) | undefined;
|
|
12
12
|
"onUpdate:status"?: ((status: "published" | "unpublished") => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
color: TeamCardColor;
|
|
@@ -6,9 +6,9 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextProps> & Readonly<{}>, {
|
|
8
8
|
size: "default" | "small" | "x-small";
|
|
9
|
-
tag: "p" | "span" | "div";
|
|
10
9
|
fontStyle: "normal" | "italic" | "oblique";
|
|
11
10
|
fontWeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "normal" | "bold" | "lighter" | "bolder";
|
|
11
|
+
tag: "p" | "span" | "div";
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -117,9 +117,46 @@ export interface AvatarProps {
|
|
|
117
117
|
withIcon?: string;
|
|
118
118
|
withColor?: string;
|
|
119
119
|
}
|
|
120
|
+
export type FilterType = 'LIST_MULTI_OPTION' | 'LIST_SINGLE_OPTION' | 'NUMERIC_RANGE' | 'BOOLEAN' | 'DATE_RANGE' | 'TIME_RANGE' | 'DATE_TIME_RANGE' | 'TEXT';
|
|
121
|
+
export interface FilterConfigRendering {
|
|
122
|
+
collection: string[] | number[] | Record<string, unknown>[];
|
|
123
|
+
labels: string[];
|
|
124
|
+
min?: number;
|
|
125
|
+
max?: number;
|
|
126
|
+
label_method?: Record<string, unknown>;
|
|
127
|
+
label?: string;
|
|
128
|
+
include_blank?: string;
|
|
129
|
+
include_blank_label?: Record<string, unknown>;
|
|
130
|
+
}
|
|
131
|
+
export interface FilterConfigOptions {
|
|
132
|
+
members_type?: string;
|
|
133
|
+
start?: string;
|
|
134
|
+
end?: string;
|
|
135
|
+
use_selector?: boolean;
|
|
136
|
+
rendering: FilterConfigRendering;
|
|
137
|
+
}
|
|
138
|
+
export interface FilterConfig {
|
|
139
|
+
type: FilterType;
|
|
140
|
+
name: string;
|
|
141
|
+
label: string;
|
|
142
|
+
options: FilterConfigOptions;
|
|
143
|
+
}
|
|
144
|
+
export interface FilterRangeValue {
|
|
145
|
+
min: number | null;
|
|
146
|
+
max: number | null;
|
|
147
|
+
}
|
|
148
|
+
export interface FilterDateRangeValue {
|
|
149
|
+
date_minimal_value: string | null;
|
|
150
|
+
date_maximal_value: string | null;
|
|
151
|
+
}
|
|
152
|
+
export interface FilterTimeRangeValue {
|
|
153
|
+
time_minimal_value: string;
|
|
154
|
+
time_maximal_value: string;
|
|
155
|
+
}
|
|
120
156
|
export interface FilterButtonProps {
|
|
121
157
|
modelValue?: unknown | unknown[];
|
|
122
|
-
options
|
|
158
|
+
options?: Array<string | number | DropDownOption | Record<string, unknown>>;
|
|
159
|
+
filterConfig?: FilterConfig;
|
|
123
160
|
placeholder?: string;
|
|
124
161
|
filterName?: string;
|
|
125
162
|
isMulti?: boolean;
|
|
@@ -135,6 +172,10 @@ export interface FilterButtonProps {
|
|
|
135
172
|
buttonType?: ButtonType;
|
|
136
173
|
selectAllText?: string;
|
|
137
174
|
clearAllText?: string;
|
|
175
|
+
rangeFromLabel?: string;
|
|
176
|
+
rangeToLabel?: string;
|
|
177
|
+
booleanYesLabel?: string;
|
|
178
|
+
booleanNoLabel?: string;
|
|
138
179
|
}
|
|
139
180
|
export interface LabelProps {
|
|
140
181
|
text?: string;
|