@rocket.chat/fuselage 0.32.0-dev.284 → 0.32.0-dev.285
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.
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
|
-
type
|
|
3
|
+
type PaginatedMultiSelectOption = {
|
|
4
4
|
value?: string | number;
|
|
5
5
|
label?: string | number;
|
|
6
6
|
};
|
|
7
7
|
type PaginatedMultiSelectProps = ComponentProps<typeof Box> & {
|
|
8
8
|
error?: boolean;
|
|
9
|
-
options:
|
|
9
|
+
options: PaginatedMultiSelectOption[];
|
|
10
10
|
withTitle?: boolean;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
endReached?: (start?: number, end?: number) => void;
|
|
13
|
+
value?: PaginatedMultiSelectOption['value'];
|
|
11
14
|
};
|
|
12
15
|
export declare const PaginatedMultiSelect: ({ withTitle, value, filter, options, error, disabled, anchor: Anchor, onChange, placeholder, renderOptions: _Options, endReached, ...props }: PaginatedMultiSelectProps) => JSX.Element;
|
|
13
|
-
type PaginatedMultiSelectFilteredProps =
|
|
14
|
-
setFilter?: (value:
|
|
15
|
-
placeholder: string;
|
|
16
|
-
error?: boolean;
|
|
17
|
-
options: PaginatedMultiSelecOption[];
|
|
16
|
+
type PaginatedMultiSelectFilteredProps = PaginatedMultiSelectProps & {
|
|
17
|
+
setFilter?: (value: PaginatedMultiSelectOption['value']) => void;
|
|
18
18
|
filter?: string;
|
|
19
|
-
value?: PaginatedMultiSelecOption['value'];
|
|
20
19
|
};
|
|
21
20
|
export declare const PaginatedMultiSelectFiltered: ({ filter, setFilter, options, placeholder, ...props }: PaginatedMultiSelectFilteredProps) => JSX.Element;
|
|
22
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedMultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelect.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAkB,cAAc,EAAO,MAAM,OAAO,CAAC;AAKjE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAgBzB,KAAK,
|
|
1
|
+
{"version":3,"file":"PaginatedMultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelect.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAkB,cAAc,EAAO,MAAM,OAAO,CAAC;AAKjE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAgBzB,KAAK,0BAA0B,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,yBAAyB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,0BAA0B,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,KAAK,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,iJAa9B,yBAAyB,gBA4I3B,CAAC;AAEF,KAAK,iCAAiC,GAAG,yBAAyB,GAAG;IACnE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B,0DAMtC,iCAAiC,gBAoCnC,CAAC"}
|