@teselagen/ui 0.4.19-beta.14 → 0.4.19-beta.15
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/TgSelect/index.d.ts +5 -1
- package/TgSuggest/index.d.ts +1 -21
- package/index.cjs.js +523 -609
- package/index.es.js +524 -610
- package/package.json +1 -1
- package/src/DataTable/index.js +10 -16
- package/src/FormComponents/Uploader.js +26 -32
- package/src/TgSelect/index.js +273 -300
- package/src/TgSuggest/index.js +93 -106
- package/src/utils/tagUtils.js +3 -3
- package/utils/tagUtils.d.ts +5 -1
package/TgSelect/index.d.ts
CHANGED
|
@@ -4,7 +4,11 @@ export function createNewOption(newValString: any): {
|
|
|
4
4
|
value: any;
|
|
5
5
|
};
|
|
6
6
|
export function simplesearch(needle: any, haystack: any): boolean;
|
|
7
|
-
declare function _default(
|
|
7
|
+
declare function _default({ loadOptions, options, ...rest }: {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
loadOptions: any;
|
|
10
|
+
options: any;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
12
|
export default _default;
|
|
9
13
|
export function renderCreateNewOption(query: any, active: any, handleClick: any): import("react/jsx-runtime").JSX.Element;
|
|
10
14
|
export function itemListPredicate(_queryString: string | undefined, items: any, isSimpleSearch: any): any;
|
package/TgSuggest/index.d.ts
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import { default as React } from '../../../../node_modules/react';
|
|
2
1
|
export default TgSuggest;
|
|
3
|
-
declare
|
|
4
|
-
static defaultProps: {
|
|
5
|
-
onChange: () => void;
|
|
6
|
-
options: never[];
|
|
7
|
-
value: undefined;
|
|
8
|
-
};
|
|
9
|
-
constructor(props: any);
|
|
10
|
-
constructor(props: any, context: any);
|
|
11
|
-
itemRenderer: (i: string | undefined, { index, handleClick, modifiers }: {
|
|
12
|
-
index: any;
|
|
13
|
-
handleClick: any;
|
|
14
|
-
modifiers: any;
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
handleItemSelect: (item: any) => any;
|
|
17
|
-
itemListPredicate: (queryString: any, item: any) => any;
|
|
18
|
-
onQueryChange: (query: any) => void;
|
|
19
|
-
renderInputValue: (item: any) => any;
|
|
20
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
input: HTMLInputElement | undefined;
|
|
22
|
-
}
|
|
2
|
+
declare function TgSuggest(props: any): import("react/jsx-runtime").JSX.Element;
|