ekm-ui 0.0.21 → 0.0.23

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,12 +1,13 @@
1
- export { b as Layout } from '../chunk-UXRV2ZAW.mjs';
1
+ export { b as Layout } from '../chunk-MOQM5IK4.mjs';
2
+ import '../chunk-ZHHTK7UM.mjs';
2
3
  import '../chunk-QWPN2UNV.mjs';
3
4
  import '../chunk-FAFXVD4P.mjs';
4
5
  import '../chunk-256SAVHD.mjs';
5
6
  import '../chunk-5TDJLUR3.mjs';
6
7
  import '../chunk-3ZCDEN7B.mjs';
8
+ import '../chunk-44PUPRSQ.mjs';
7
9
  import '../chunk-HAQTLD4G.mjs';
8
10
  import '../chunk-PHG4J7QX.mjs';
9
- import '../chunk-ZHHTK7UM.mjs';
10
11
  import '../chunk-QTAUYFKM.mjs';
11
12
  import '../chunk-BIU2AAPZ.mjs';
12
13
  import '../chunk-OT256LE6.mjs';
@@ -0,0 +1,51 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ declare function Search({ categories, delay, placeholder, callback, disabled, initialValue, }: {
4
+ categories?: never[] | undefined;
5
+ delay?: number | undefined;
6
+ placeholder?: string | undefined;
7
+ callback: any;
8
+ disabled?: boolean | undefined;
9
+ initialValue?: string | undefined;
10
+ }): JSX.Element;
11
+ declare namespace Search {
12
+ var propTypes: {
13
+ /** Optional List of categories that the search term can be applied to. If supplied
14
+ * the categories appear on the far right of the search input in a drop down list, otherwise it is hidden.
15
+ */
16
+ categories: PropTypes.Requireable<(PropTypes.InferProps<{
17
+ /**
18
+ * The text shown to the user in the dropdown.
19
+ */
20
+ display: PropTypes.Validator<string>;
21
+ /**
22
+ * The value set when the item is selected.
23
+ */
24
+ value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
25
+ }> | null | undefined)[]>;
26
+ /**
27
+ * The delay between requests made to the server when typing in milliseconds.
28
+ */
29
+ delay: PropTypes.Requireable<number>;
30
+ /**
31
+ * Optional placeholder for the search field.
32
+ */
33
+ placeholder: PropTypes.Requireable<string>;
34
+ /**
35
+ * Callback with the search object for use in the application the format is:
36
+ * { text: '', category: {display:"", value:""} }. Note: category is null if no options are provided.
37
+ */
38
+ callback: PropTypes.Validator<(...args: any[]) => any>;
39
+ /**
40
+ * If set to true, the text in the search box cannot be changed
41
+ */
42
+ disabled: PropTypes.Requireable<boolean>;
43
+ /**
44
+ * If set, will be the value in the search bar when it first loads.
45
+ * If not set, the search bar will just be empty.
46
+ */
47
+ initialValue: PropTypes.Requireable<string>;
48
+ };
49
+ }
50
+
51
+ export { Search };
@@ -0,0 +1,5 @@
1
+ export { a as Search } from '../chunk-44PUPRSQ.mjs';
2
+ import '../chunk-QTAUYFKM.mjs';
3
+ import '../chunk-RUPJ2ZHA.mjs';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=search.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}