@feathery/react 2.4.100 → 2.4.102
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/elements/fields/DropdownMultiField/index.d.ts.map +1 -1
- package/dist/elements/fields/DropdownMultiField/tests/test-utils.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/index.d.ts +1 -1
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/offlineRequestHandler.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
- package/dist/elements/fields/DropdownMultiField/DropdownMultiFieldSelectComponents.d.ts +0 -9
- package/dist/elements/fields/DropdownMultiField/DropdownMultiFieldSelectComponents.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/createDropdownSelect.d.ts +0 -191
- package/dist/elements/fields/DropdownMultiField/createDropdownSelect.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/selectStyles.d.ts +0 -13
- package/dist/elements/fields/DropdownMultiField/selectStyles.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/types.d.ts +0 -26
- package/dist/elements/fields/DropdownMultiField/types.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/useCollapsibleValues.d.ts +0 -8
- package/dist/elements/fields/DropdownMultiField/useCollapsibleValues.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/useDropdownCollapse.d.ts +0 -38
- package/dist/elements/fields/DropdownMultiField/useDropdownCollapse.d.ts.map +0 -1
- package/dist/elements/fields/DropdownMultiField/useSelectionOrdering.d.ts +0 -10
- package/dist/elements/fields/DropdownMultiField/useSelectionOrdering.d.ts.map +0 -1
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ControlProps, type MultiValueGenericProps, type MultiValueProps, type OptionProps, type MultiValueRemoveProps } from 'react-select';
|
|
2
|
-
import type { OptionData } from './types';
|
|
3
|
-
declare const TooltipOption: ({ children, ...props }: OptionProps<OptionData, true>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare const CollapsibleMultiValueRemove: (props: MultiValueRemoveProps<OptionData>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const Control: (props: ControlProps<OptionData, true>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare const CollapsibleMultiValueContainer: (props: MultiValueGenericProps<OptionData, true>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare const CollapsibleMultiValue: (props: MultiValueProps<OptionData, true>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { Control, CollapsibleMultiValue, CollapsibleMultiValueContainer, TooltipOption, CollapsibleMultiValueRemove };
|
|
9
|
-
//# sourceMappingURL=DropdownMultiFieldSelectComponents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMultiFieldSelectComponents.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/DropdownMultiFieldSelectComponents.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAuB,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/D,QAAA,MAAM,aAAa,2BAGhB,YAAY,UAAU,EAAE,IAAI,CAAC,qDA2C/B,CAAC;AASF,QAAA,MAAM,2BAA2B,UACxB,sBAAsB,UAAU,CAAC,qDA+BzC,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,aAAa,UAAU,EAAE,IAAI,CAAC,qDAsDrD,CAAC;AA0CF,QAAA,MAAM,8BAA8B,UAC3B,uBAAuB,UAAU,EAAE,IAAI,CAAC,qDAyChD,CAAC;AAEF,QAAA,MAAM,qBAAqB,UAAW,gBAAgB,UAAU,EAAE,IAAI,CAAC,qDAgGtE,CAAC;AAEF,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,8BAA8B,EAC9B,aAAa,EACb,2BAA2B,EAC5B,CAAC"}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SelectInstance } from 'react-select';
|
|
3
|
-
import type { OptionData } from './types';
|
|
4
|
-
declare const DropdownSelect: React.ForwardRefExoticComponent<Omit<Pick<import("react-select/dist/declarations/src/Select").Props<OptionData, true, import("react-select").GroupBase<OptionData>>, "onChange" | "required" | "className" | "value" | "form" | "autoFocus" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onKeyDown" | "name" | "theme" | "isClearable" | "inputValue" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
5
|
-
tabIndex?: number | undefined;
|
|
6
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
7
|
-
placeholder?: React.ReactNode;
|
|
8
|
-
options?: import("react-select").OptionsOrGroups<OptionData, import("react-select").GroupBase<OptionData>> | undefined;
|
|
9
|
-
styles?: import("react-select").StylesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
10
|
-
classNames?: import("react-select").ClassNamesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
11
|
-
isDisabled?: boolean | undefined;
|
|
12
|
-
isMulti?: true | undefined;
|
|
13
|
-
isRtl?: boolean | undefined;
|
|
14
|
-
backspaceRemovesValue?: boolean | undefined;
|
|
15
|
-
blurInputOnSelect?: boolean | undefined;
|
|
16
|
-
captureMenuScroll?: boolean | undefined;
|
|
17
|
-
closeMenuOnSelect?: boolean | undefined;
|
|
18
|
-
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
19
|
-
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<OptionData, true, import("react-select").GroupBase<OptionData>>> | undefined;
|
|
20
|
-
controlShouldRenderValue?: boolean | undefined;
|
|
21
|
-
escapeClearsValue?: boolean | undefined;
|
|
22
|
-
filterOption?: ((option: import("react-select").FilterOptionOption<OptionData>, inputValue: string) => boolean) | null | undefined;
|
|
23
|
-
formatGroupLabel?: ((group: import("react-select").GroupBase<OptionData>) => React.ReactNode) | undefined;
|
|
24
|
-
getOptionLabel?: import("react-select").GetOptionLabel<OptionData> | undefined;
|
|
25
|
-
getOptionValue?: import("react-select").GetOptionValue<OptionData> | undefined;
|
|
26
|
-
isLoading?: boolean | undefined;
|
|
27
|
-
isOptionDisabled?: ((option: OptionData, selectValue: import("react-select").Options<OptionData>) => boolean) | undefined;
|
|
28
|
-
isSearchable?: boolean | undefined;
|
|
29
|
-
loadingMessage?: ((obj: {
|
|
30
|
-
inputValue: string;
|
|
31
|
-
}) => React.ReactNode) | undefined;
|
|
32
|
-
minMenuHeight?: number | undefined;
|
|
33
|
-
maxMenuHeight?: number | undefined;
|
|
34
|
-
menuIsOpen?: boolean | undefined;
|
|
35
|
-
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
36
|
-
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
37
|
-
menuShouldBlockScroll?: boolean | undefined;
|
|
38
|
-
menuShouldScrollIntoView?: boolean | undefined;
|
|
39
|
-
noOptionsMessage?: ((obj: {
|
|
40
|
-
inputValue: string;
|
|
41
|
-
}) => React.ReactNode) | undefined;
|
|
42
|
-
openMenuOnFocus?: boolean | undefined;
|
|
43
|
-
openMenuOnClick?: boolean | undefined;
|
|
44
|
-
pageSize?: number | undefined;
|
|
45
|
-
screenReaderStatus?: ((obj: {
|
|
46
|
-
count: number;
|
|
47
|
-
}) => string) | undefined;
|
|
48
|
-
tabSelectsValue?: boolean | undefined;
|
|
49
|
-
unstyled?: boolean | undefined;
|
|
50
|
-
} & {}, "onChange" | "value" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<OptionData, true, import("react-select").GroupBase<OptionData>>, "onChange" | "required" | "className" | "value" | "form" | "autoFocus" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onKeyDown" | "name" | "theme" | "isClearable" | "inputValue" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
51
|
-
tabIndex?: number | undefined;
|
|
52
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
53
|
-
placeholder?: React.ReactNode;
|
|
54
|
-
options?: import("react-select").OptionsOrGroups<OptionData, import("react-select").GroupBase<OptionData>> | undefined;
|
|
55
|
-
styles?: import("react-select").StylesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
56
|
-
classNames?: import("react-select").ClassNamesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
57
|
-
isDisabled?: boolean | undefined;
|
|
58
|
-
isMulti?: true | undefined;
|
|
59
|
-
isRtl?: boolean | undefined;
|
|
60
|
-
backspaceRemovesValue?: boolean | undefined;
|
|
61
|
-
blurInputOnSelect?: boolean | undefined;
|
|
62
|
-
captureMenuScroll?: boolean | undefined;
|
|
63
|
-
closeMenuOnSelect?: boolean | undefined;
|
|
64
|
-
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
65
|
-
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<OptionData, true, import("react-select").GroupBase<OptionData>>> | undefined;
|
|
66
|
-
controlShouldRenderValue?: boolean | undefined;
|
|
67
|
-
escapeClearsValue?: boolean | undefined;
|
|
68
|
-
filterOption?: ((option: import("react-select").FilterOptionOption<OptionData>, inputValue: string) => boolean) | null | undefined;
|
|
69
|
-
formatGroupLabel?: ((group: import("react-select").GroupBase<OptionData>) => React.ReactNode) | undefined;
|
|
70
|
-
getOptionLabel?: import("react-select").GetOptionLabel<OptionData> | undefined;
|
|
71
|
-
getOptionValue?: import("react-select").GetOptionValue<OptionData> | undefined;
|
|
72
|
-
isLoading?: boolean | undefined;
|
|
73
|
-
isOptionDisabled?: ((option: OptionData, selectValue: import("react-select").Options<OptionData>) => boolean) | undefined;
|
|
74
|
-
isSearchable?: boolean | undefined;
|
|
75
|
-
loadingMessage?: ((obj: {
|
|
76
|
-
inputValue: string;
|
|
77
|
-
}) => React.ReactNode) | undefined;
|
|
78
|
-
minMenuHeight?: number | undefined;
|
|
79
|
-
maxMenuHeight?: number | undefined;
|
|
80
|
-
menuIsOpen?: boolean | undefined;
|
|
81
|
-
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
82
|
-
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
83
|
-
menuShouldBlockScroll?: boolean | undefined;
|
|
84
|
-
menuShouldScrollIntoView?: boolean | undefined;
|
|
85
|
-
noOptionsMessage?: ((obj: {
|
|
86
|
-
inputValue: string;
|
|
87
|
-
}) => React.ReactNode) | undefined;
|
|
88
|
-
openMenuOnFocus?: boolean | undefined;
|
|
89
|
-
openMenuOnClick?: boolean | undefined;
|
|
90
|
-
pageSize?: number | undefined;
|
|
91
|
-
screenReaderStatus?: ((obj: {
|
|
92
|
-
count: number;
|
|
93
|
-
}) => string) | undefined;
|
|
94
|
-
tabSelectsValue?: boolean | undefined;
|
|
95
|
-
unstyled?: boolean | undefined;
|
|
96
|
-
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionData> & import("./types").DropdownSelectExtraProps & React.RefAttributes<SelectInstance<OptionData, true, import("react-select").GroupBase<OptionData>>>>;
|
|
97
|
-
declare const DropdownCreatableSelect: React.ForwardRefExoticComponent<Omit<Pick<import("react-select/dist/declarations/src/Select").Props<OptionData, true, import("react-select").GroupBase<OptionData>>, "onChange" | "required" | "className" | "value" | "form" | "autoFocus" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onKeyDown" | "name" | "theme" | "isClearable" | "inputValue" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
98
|
-
tabIndex?: number | undefined;
|
|
99
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
100
|
-
placeholder?: React.ReactNode;
|
|
101
|
-
options?: import("react-select").OptionsOrGroups<OptionData, import("react-select").GroupBase<OptionData>> | undefined;
|
|
102
|
-
styles?: import("react-select").StylesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
103
|
-
classNames?: import("react-select").ClassNamesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
104
|
-
isDisabled?: boolean | undefined;
|
|
105
|
-
isMulti?: true | undefined;
|
|
106
|
-
isRtl?: boolean | undefined;
|
|
107
|
-
backspaceRemovesValue?: boolean | undefined;
|
|
108
|
-
blurInputOnSelect?: boolean | undefined;
|
|
109
|
-
captureMenuScroll?: boolean | undefined;
|
|
110
|
-
closeMenuOnSelect?: boolean | undefined;
|
|
111
|
-
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
112
|
-
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<OptionData, true, import("react-select").GroupBase<OptionData>>> | undefined;
|
|
113
|
-
controlShouldRenderValue?: boolean | undefined;
|
|
114
|
-
escapeClearsValue?: boolean | undefined;
|
|
115
|
-
filterOption?: ((option: import("react-select").FilterOptionOption<OptionData>, inputValue: string) => boolean) | null | undefined;
|
|
116
|
-
formatGroupLabel?: ((group: import("react-select").GroupBase<OptionData>) => React.ReactNode) | undefined;
|
|
117
|
-
getOptionLabel?: import("react-select").GetOptionLabel<OptionData> | undefined;
|
|
118
|
-
getOptionValue?: import("react-select").GetOptionValue<OptionData> | undefined;
|
|
119
|
-
isLoading?: boolean | undefined;
|
|
120
|
-
isOptionDisabled?: ((option: OptionData, selectValue: import("react-select").Options<OptionData>) => boolean) | undefined;
|
|
121
|
-
isSearchable?: boolean | undefined;
|
|
122
|
-
loadingMessage?: ((obj: {
|
|
123
|
-
inputValue: string;
|
|
124
|
-
}) => React.ReactNode) | undefined;
|
|
125
|
-
minMenuHeight?: number | undefined;
|
|
126
|
-
maxMenuHeight?: number | undefined;
|
|
127
|
-
menuIsOpen?: boolean | undefined;
|
|
128
|
-
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
129
|
-
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
130
|
-
menuShouldBlockScroll?: boolean | undefined;
|
|
131
|
-
menuShouldScrollIntoView?: boolean | undefined;
|
|
132
|
-
noOptionsMessage?: ((obj: {
|
|
133
|
-
inputValue: string;
|
|
134
|
-
}) => React.ReactNode) | undefined;
|
|
135
|
-
openMenuOnFocus?: boolean | undefined;
|
|
136
|
-
openMenuOnClick?: boolean | undefined;
|
|
137
|
-
pageSize?: number | undefined;
|
|
138
|
-
screenReaderStatus?: ((obj: {
|
|
139
|
-
count: number;
|
|
140
|
-
}) => string) | undefined;
|
|
141
|
-
tabSelectsValue?: boolean | undefined;
|
|
142
|
-
unstyled?: boolean | undefined;
|
|
143
|
-
} & {}, "onChange" | "value" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<OptionData, true, import("react-select").GroupBase<OptionData>>, "onChange" | "required" | "className" | "value" | "form" | "autoFocus" | "id" | "aria-errormessage" | "aria-invalid" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "onKeyDown" | "name" | "theme" | "isClearable" | "inputValue" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
144
|
-
tabIndex?: number | undefined;
|
|
145
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
146
|
-
placeholder?: React.ReactNode;
|
|
147
|
-
options?: import("react-select").OptionsOrGroups<OptionData, import("react-select").GroupBase<OptionData>> | undefined;
|
|
148
|
-
styles?: import("react-select").StylesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
149
|
-
classNames?: import("react-select").ClassNamesConfig<OptionData, true, import("react-select").GroupBase<OptionData>> | undefined;
|
|
150
|
-
isDisabled?: boolean | undefined;
|
|
151
|
-
isMulti?: true | undefined;
|
|
152
|
-
isRtl?: boolean | undefined;
|
|
153
|
-
backspaceRemovesValue?: boolean | undefined;
|
|
154
|
-
blurInputOnSelect?: boolean | undefined;
|
|
155
|
-
captureMenuScroll?: boolean | undefined;
|
|
156
|
-
closeMenuOnSelect?: boolean | undefined;
|
|
157
|
-
closeMenuOnScroll?: boolean | ((event: Event) => boolean) | undefined;
|
|
158
|
-
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<OptionData, true, import("react-select").GroupBase<OptionData>>> | undefined;
|
|
159
|
-
controlShouldRenderValue?: boolean | undefined;
|
|
160
|
-
escapeClearsValue?: boolean | undefined;
|
|
161
|
-
filterOption?: ((option: import("react-select").FilterOptionOption<OptionData>, inputValue: string) => boolean) | null | undefined;
|
|
162
|
-
formatGroupLabel?: ((group: import("react-select").GroupBase<OptionData>) => React.ReactNode) | undefined;
|
|
163
|
-
getOptionLabel?: import("react-select").GetOptionLabel<OptionData> | undefined;
|
|
164
|
-
getOptionValue?: import("react-select").GetOptionValue<OptionData> | undefined;
|
|
165
|
-
isLoading?: boolean | undefined;
|
|
166
|
-
isOptionDisabled?: ((option: OptionData, selectValue: import("react-select").Options<OptionData>) => boolean) | undefined;
|
|
167
|
-
isSearchable?: boolean | undefined;
|
|
168
|
-
loadingMessage?: ((obj: {
|
|
169
|
-
inputValue: string;
|
|
170
|
-
}) => React.ReactNode) | undefined;
|
|
171
|
-
minMenuHeight?: number | undefined;
|
|
172
|
-
maxMenuHeight?: number | undefined;
|
|
173
|
-
menuIsOpen?: boolean | undefined;
|
|
174
|
-
menuPlacement?: import("react-select").MenuPlacement | undefined;
|
|
175
|
-
menuPosition?: import("react-select").MenuPosition | undefined;
|
|
176
|
-
menuShouldBlockScroll?: boolean | undefined;
|
|
177
|
-
menuShouldScrollIntoView?: boolean | undefined;
|
|
178
|
-
noOptionsMessage?: ((obj: {
|
|
179
|
-
inputValue: string;
|
|
180
|
-
}) => React.ReactNode) | undefined;
|
|
181
|
-
openMenuOnFocus?: boolean | undefined;
|
|
182
|
-
openMenuOnClick?: boolean | undefined;
|
|
183
|
-
pageSize?: number | undefined;
|
|
184
|
-
screenReaderStatus?: ((obj: {
|
|
185
|
-
count: number;
|
|
186
|
-
}) => string) | undefined;
|
|
187
|
-
tabSelectsValue?: boolean | undefined;
|
|
188
|
-
unstyled?: boolean | undefined;
|
|
189
|
-
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<OptionData> & import("react-select/dist/declarations/src/useCreatable").CreatableAdditionalProps<OptionData, import("react-select").GroupBase<OptionData>> & import("./types").DropdownSelectExtraProps & React.RefAttributes<SelectInstance<OptionData, true, import("react-select").GroupBase<OptionData>>>>;
|
|
190
|
-
export { DropdownSelect, DropdownCreatableSelect };
|
|
191
|
-
//# sourceMappingURL=createDropdownSelect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createDropdownSelect.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/createDropdownSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,KAAK,EAGV,UAAU,EACX,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kQAGgD,CAAC;AAIrE,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iZAGgD,CAAC;AAI9E,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StylesConfig } from 'react-select';
|
|
2
|
-
import type ResponsiveStyles from '../../styles';
|
|
3
|
-
import type { OptionData } from './types';
|
|
4
|
-
declare type SelectStylesParams = {
|
|
5
|
-
chevronPosition: number;
|
|
6
|
-
fontColor: string;
|
|
7
|
-
menuZIndex: number;
|
|
8
|
-
responsiveStyles: ResponsiveStyles;
|
|
9
|
-
rightToLeft: boolean | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare function createSelectStyles({ chevronPosition, fontColor, menuZIndex, responsiveStyles, rightToLeft }: SelectStylesParams): StylesConfig<OptionData, true>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=selectStyles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectStyles.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/selectStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,gBAAgB,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,EAAuB,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/D,aAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,WAAW,EACZ,EAAE,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAmIrD"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { GroupBase, MultiValueProps, Props as SelectProps } from 'react-select';
|
|
3
|
-
import type { CreatableProps } from 'react-select/creatable';
|
|
4
|
-
export declare type OptionData = {
|
|
5
|
-
tooltip?: string;
|
|
6
|
-
value: string;
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type Options = string[] | OptionData[];
|
|
10
|
-
export declare type DropdownSelectExtraProps = {
|
|
11
|
-
collapsedCount: number;
|
|
12
|
-
containerRef: React.RefObject<HTMLElement | null>;
|
|
13
|
-
collapseSelected: boolean;
|
|
14
|
-
isMeasuring: boolean;
|
|
15
|
-
visibleCount: number;
|
|
16
|
-
inputHidden?: boolean;
|
|
17
|
-
onCollapsedChipPress?: (event: React.SyntheticEvent) => void;
|
|
18
|
-
onControlPress?: (event: React.SyntheticEvent, info: {
|
|
19
|
-
isTouch: boolean;
|
|
20
|
-
}) => boolean;
|
|
21
|
-
onMultiValueRemovePointer?: () => void;
|
|
22
|
-
};
|
|
23
|
-
export declare type DropdownSelectProps = MultiValueProps<OptionData, true>['selectProps'] & DropdownSelectExtraProps;
|
|
24
|
-
export declare type DropdownSelectComponentProps = SelectProps<OptionData, true, GroupBase<OptionData>> & DropdownSelectExtraProps;
|
|
25
|
-
export declare type DropdownCreatableSelectComponentProps = CreatableProps<OptionData, true, GroupBase<OptionData>> & DropdownSelectExtraProps;
|
|
26
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,KAAK,IAAI,WAAW,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,oBAAY,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,OAAO,GAAG,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;AAE9C,oBAAY,wBAAwB,GAAG;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAClD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IAC7D,cAAc,CAAC,EAAE,CACf,KAAK,EAAE,KAAK,CAAC,cAAc,EAC3B,IAAI,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,KACvB,OAAO,CAAC;IACb,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;CACxC,CAAC;AAEF,oBAAY,mBAAmB,GAAG,eAAe,CAC/C,UAAU,EACV,IAAI,CACL,CAAC,aAAa,CAAC,GACd,wBAAwB,CAAC;AAE3B,oBAAY,4BAA4B,GAAG,WAAW,CACpD,UAAU,EACV,IAAI,EACJ,SAAS,CAAC,UAAU,CAAC,CACtB,GACC,wBAAwB,CAAC;AAE3B,oBAAY,qCAAqC,GAAG,cAAc,CAChE,UAAU,EACV,IAAI,EACJ,SAAS,CAAC,UAAU,CAAC,CACtB,GACC,wBAAwB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { OptionData } from './types';
|
|
3
|
-
export default function useCollapsibleValues(containerRef: React.RefObject<HTMLElement | null>, values: OptionData[], enabled: boolean): {
|
|
4
|
-
visibleCount: number;
|
|
5
|
-
collapsedCount: number;
|
|
6
|
-
isMeasuring: boolean;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=useCollapsibleValues.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCollapsibleValues.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/useCollapsibleValues.ts"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAU1C,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACjD,MAAM,EAAE,UAAU,EAAE,EACpB,OAAO,EAAE,OAAO;;;;EAuWjB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { SelectInstance } from 'react-select';
|
|
3
|
-
import type { OptionData } from './types';
|
|
4
|
-
declare type CollapseParams = {
|
|
5
|
-
collapseSelectedPreference: boolean;
|
|
6
|
-
containerRef: React.RefObject<HTMLElement | null>;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
values: OptionData[];
|
|
9
|
-
};
|
|
10
|
-
declare type MenuCloseOptions = {
|
|
11
|
-
skipBlur?: boolean;
|
|
12
|
-
};
|
|
13
|
-
declare type MenuControls = {
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
open: () => void;
|
|
16
|
-
close: () => void;
|
|
17
|
-
forceClose: (options?: MenuCloseOptions) => void;
|
|
18
|
-
};
|
|
19
|
-
declare type PointerControls = {
|
|
20
|
-
onMouseDown: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
21
|
-
onTouchStart: (event: React.TouchEvent<HTMLDivElement>) => void;
|
|
22
|
-
reset: () => void;
|
|
23
|
-
};
|
|
24
|
-
declare type MeasurementState = {
|
|
25
|
-
isMeasuring: boolean;
|
|
26
|
-
visibleCount: number;
|
|
27
|
-
};
|
|
28
|
-
declare type CollapseControls = {
|
|
29
|
-
collapseSelected: boolean;
|
|
30
|
-
collapsedCount: number;
|
|
31
|
-
menu: MenuControls;
|
|
32
|
-
pointer: PointerControls;
|
|
33
|
-
measurement: MeasurementState;
|
|
34
|
-
selectRef: React.RefObject<SelectInstance<OptionData, true> | null>;
|
|
35
|
-
};
|
|
36
|
-
export default function useDropdownCollapse({ collapseSelectedPreference, containerRef, disabled, values }: CollapseParams): CollapseControls;
|
|
37
|
-
export {};
|
|
38
|
-
//# sourceMappingURL=useDropdownCollapse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDropdownCollapse.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/useDropdownCollapse.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,aAAK,cAAc,GAAG;IACpB,0BAA0B,EAAE,OAAO,CAAC;IACpC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,UAAU,EAAE,CAAC;CACtB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,aAAK,YAAY,GAAG;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,EAAE,CAAC,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF,aAAK,eAAe,GAAG;IACrB,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC/D,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAChE,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;CACrE,CAAC;AAUF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,0BAA0B,EAC1B,YAAY,EACZ,QAAQ,EACR,MAAM,EACP,EAAE,cAAc,GAAG,gBAAgB,CAyHnC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ActionMeta, OnChangeValue } from 'react-select';
|
|
2
|
-
import type { OptionData } from './types';
|
|
3
|
-
declare type ReorderFn = (selected: OnChangeValue<OptionData, true>, actionMeta: ActionMeta<OptionData>) => OnChangeValue<OptionData, true>;
|
|
4
|
-
declare type SelectionOrdering = {
|
|
5
|
-
orderedSelectVal: OptionData[];
|
|
6
|
-
reorderSelected: ReorderFn;
|
|
7
|
-
};
|
|
8
|
-
export default function useSelectionOrdering(selectVal: OptionData[], enabled: boolean): SelectionOrdering;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=useSelectionOrdering.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectionOrdering.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/DropdownMultiField/useSelectionOrdering.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAgB1C,aAAK,SAAS,GAAG,CACf,QAAQ,EAAE,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,EACzC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,KAC/B,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAErC,aAAK,iBAAiB,GAAG;IACvB,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAC/B,eAAe,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,SAAS,EAAE,UAAU,EAAE,EACvB,OAAO,EAAE,OAAO,GACf,iBAAiB,CA0FnB"}
|