@elliemae/ds-search-field 3.13.1-rc.1 → 3.13.1
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/types/DSSearchField.d.ts +119 -0
- package/dist/types/impl/DSSeachFieldImpl.d.ts +16 -0
- package/dist/types/impl/components/AdvanceSearchOption/AdvanceSearchOption.d.ts +5 -0
- package/dist/types/impl/components/LookupIndicator/LookupIndicator.d.ts +5 -0
- package/dist/types/impl/components/ModalSearchField/DataGridSearch.d.ts +7 -0
- package/dist/types/impl/components/ModalSearchField/ModalSearchField.d.ts +22 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { DSModalSearchField } from './impl/DSSeachFieldImpl';
|
|
2
|
+
declare const DSSearchField: {
|
|
3
|
+
({ containerProps, onChange, searchOptionLabel, placeholder, modalSize, modalTitle, tabsAnimated, tabsEnableMouseEvents, tabType, tabData, searchGrid, searchFilters, confirmLabel, rejectLabel, modalType, onConfirmField, onRejectField, onTabChange, appElement, value, additionalInfo, displayProperty, dropdownOptions, customDataGridOptions, customDropdownOptions, useLookupIndicator, searchable, }: {
|
|
4
|
+
containerProps?: {} | undefined;
|
|
5
|
+
onChange?: (() => null) | undefined;
|
|
6
|
+
searchOptionLabel?: string | undefined;
|
|
7
|
+
placeholder?: string | undefined;
|
|
8
|
+
modalSize?: string | undefined;
|
|
9
|
+
modalTitle?: string | undefined;
|
|
10
|
+
tabsAnimated?: boolean | undefined;
|
|
11
|
+
tabsEnableMouseEvents?: boolean | undefined;
|
|
12
|
+
tabType?: "normal" | undefined;
|
|
13
|
+
tabData?: never[] | undefined;
|
|
14
|
+
searchGrid?: boolean | undefined;
|
|
15
|
+
searchFilters?: boolean | undefined;
|
|
16
|
+
confirmLabel?: string | undefined;
|
|
17
|
+
rejectLabel?: string | undefined;
|
|
18
|
+
modalType?: string | undefined;
|
|
19
|
+
onConfirmField?: (() => null) | undefined;
|
|
20
|
+
onRejectField?: (() => null) | undefined;
|
|
21
|
+
onTabChange?: (() => null) | undefined;
|
|
22
|
+
appElement?: string | undefined;
|
|
23
|
+
value?: null | undefined;
|
|
24
|
+
additionalInfo?: null | undefined;
|
|
25
|
+
displayProperty?: string | undefined;
|
|
26
|
+
dropdownOptions?: never[] | undefined;
|
|
27
|
+
customDataGridOptions?: {} | undefined;
|
|
28
|
+
customDropdownOptions?: {} | undefined;
|
|
29
|
+
useLookupIndicator?: boolean | undefined;
|
|
30
|
+
searchable?: boolean | undefined;
|
|
31
|
+
}): JSX.Element;
|
|
32
|
+
propTypes: {
|
|
33
|
+
searchable: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
34
|
+
/** inject props to wrapper */
|
|
35
|
+
containerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
36
|
+
/** change handler */
|
|
37
|
+
onChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
38
|
+
/** search option label */
|
|
39
|
+
searchOptionLabel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
40
|
+
/** placeholder for search input */
|
|
41
|
+
placeholder: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
42
|
+
/** search modal size */
|
|
43
|
+
modalSize: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
44
|
+
/** search modal title */
|
|
45
|
+
modalTitle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
46
|
+
/** animate modal tabs */
|
|
47
|
+
tabsAnimated: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
48
|
+
/** enable mouse event on tabs */
|
|
49
|
+
tabsEnableMouseEvents: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
50
|
+
/** tab types on modal */
|
|
51
|
+
tabType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
52
|
+
/** data for modal tabs */
|
|
53
|
+
tabData: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
54
|
+
/** use search grid */
|
|
55
|
+
searchGrid: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
56
|
+
/** add search filters */
|
|
57
|
+
searchFilters: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
58
|
+
/** confirm modal label */
|
|
59
|
+
confirmLabel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
60
|
+
/** reject modal label */
|
|
61
|
+
rejectLabel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
62
|
+
/** modal type */
|
|
63
|
+
modalType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
64
|
+
/** on confirm handler */
|
|
65
|
+
onConfirmField: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
66
|
+
/** on cancel handler */
|
|
67
|
+
onRejectField: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
68
|
+
/** tab change handler */
|
|
69
|
+
onTabChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
70
|
+
/** app element */
|
|
71
|
+
appElement: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
72
|
+
/** value for search */
|
|
73
|
+
value: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
74
|
+
/** additional info */
|
|
75
|
+
additionalInfo: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
76
|
+
/** display property */
|
|
77
|
+
displayProperty: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
78
|
+
/** options for dropdown */
|
|
79
|
+
dropdownOptions: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
80
|
+
/** pass down props for datagrid in modal */
|
|
81
|
+
customDataGridOptions: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
82
|
+
/** custom props for dropdown */
|
|
83
|
+
customDropdownOptions: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
84
|
+
/** enable lookup */
|
|
85
|
+
useLookupIndicator: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
86
|
+
};
|
|
87
|
+
displayName: string;
|
|
88
|
+
};
|
|
89
|
+
declare const DSSearchFieldWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
|
|
90
|
+
containerProps?: {} | undefined;
|
|
91
|
+
onChange?: (() => null) | undefined;
|
|
92
|
+
searchOptionLabel?: string | undefined;
|
|
93
|
+
placeholder?: string | undefined;
|
|
94
|
+
modalSize?: string | undefined;
|
|
95
|
+
modalTitle?: string | undefined;
|
|
96
|
+
tabsAnimated?: boolean | undefined;
|
|
97
|
+
tabsEnableMouseEvents?: boolean | undefined;
|
|
98
|
+
tabType?: "normal" | undefined;
|
|
99
|
+
tabData?: never[] | undefined;
|
|
100
|
+
searchGrid?: boolean | undefined;
|
|
101
|
+
searchFilters?: boolean | undefined;
|
|
102
|
+
confirmLabel?: string | undefined;
|
|
103
|
+
rejectLabel?: string | undefined;
|
|
104
|
+
modalType?: string | undefined;
|
|
105
|
+
onConfirmField?: (() => null) | undefined;
|
|
106
|
+
onRejectField?: (() => null) | undefined;
|
|
107
|
+
onTabChange?: (() => null) | undefined;
|
|
108
|
+
appElement?: string | undefined;
|
|
109
|
+
value?: null | undefined;
|
|
110
|
+
additionalInfo?: null | undefined;
|
|
111
|
+
displayProperty?: string | undefined;
|
|
112
|
+
dropdownOptions?: never[] | undefined;
|
|
113
|
+
customDataGridOptions?: {} | undefined;
|
|
114
|
+
customDropdownOptions?: {} | undefined;
|
|
115
|
+
useLookupIndicator?: boolean | undefined;
|
|
116
|
+
searchable?: boolean | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
export { DSSearchField, DSModalSearchField, DSSearchFieldWithSchema };
|
|
119
|
+
export default DSSearchField;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import DSModalSearchField from './components/ModalSearchField/ModalSearchField';
|
|
3
|
+
declare class DSSearchFieldImpl extends Component {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
onChange: () => void;
|
|
6
|
+
onChangeDropdown: (value: any) => void;
|
|
7
|
+
onKeyDown: (event: any) => void;
|
|
8
|
+
handleSelect: (selectedRow: any, rows: any) => void;
|
|
9
|
+
handleConfirm: () => void;
|
|
10
|
+
handleReject: () => void;
|
|
11
|
+
handleOpenModal: () => void;
|
|
12
|
+
handleCloseModal: () => void;
|
|
13
|
+
render(): JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export { DSModalSearchField };
|
|
16
|
+
export default DSSearchFieldImpl;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const ModalSearchField: ({ isOpen, onClose, modalTitle, modalSize, tabsAnimated, tabsEnableMouseEvents, tabType, tabData, searchFilters, searchGrid, confirmLabel, rejectLabel, modalType, onConfirmField, onRejectField, handleSelect, onTabChange, appElement, customDataGridOptions, }: {
|
|
2
|
+
isOpen?: boolean | undefined;
|
|
3
|
+
onClose?: (() => null) | undefined;
|
|
4
|
+
modalTitle?: string | undefined;
|
|
5
|
+
modalSize?: string | undefined;
|
|
6
|
+
tabsAnimated?: boolean | undefined;
|
|
7
|
+
tabsEnableMouseEvents?: boolean | undefined;
|
|
8
|
+
tabType?: "normal" | undefined;
|
|
9
|
+
tabData?: never[] | undefined;
|
|
10
|
+
searchFilters?: boolean | undefined;
|
|
11
|
+
searchGrid?: boolean | undefined;
|
|
12
|
+
confirmLabel?: string | undefined;
|
|
13
|
+
rejectLabel?: string | undefined;
|
|
14
|
+
modalType?: string | undefined;
|
|
15
|
+
onConfirmField?: (() => null) | undefined;
|
|
16
|
+
onRejectField?: (() => null) | undefined;
|
|
17
|
+
handleSelect?: (() => null) | undefined;
|
|
18
|
+
onTabChange?: (() => null) | undefined;
|
|
19
|
+
appElement?: null | undefined;
|
|
20
|
+
customDataGridOptions?: {} | undefined;
|
|
21
|
+
}) => JSX.Element;
|
|
22
|
+
export default ModalSearchField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DSSearchField, DSModalSearchField, DSSearchFieldWithSchema } from './DSSearchField';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-search-field",
|
|
3
|
-
"version": "3.13.1
|
|
3
|
+
"version": "3.13.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Search Field",
|
|
6
6
|
"files": [
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"react-select": "~4.3.1",
|
|
63
63
|
"uid": "~2.0.0",
|
|
64
|
-
"@elliemae/ds-
|
|
65
|
-
"@elliemae/ds-
|
|
66
|
-
"@elliemae/ds-
|
|
67
|
-
"@elliemae/ds-
|
|
68
|
-
"@elliemae/ds-
|
|
69
|
-
"@elliemae/ds-
|
|
70
|
-
"@elliemae/ds-
|
|
71
|
-
"@elliemae/ds-
|
|
72
|
-
"@elliemae/ds-
|
|
64
|
+
"@elliemae/ds-tabs": "3.13.1",
|
|
65
|
+
"@elliemae/ds-modal": "3.13.1",
|
|
66
|
+
"@elliemae/ds-button": "3.13.1",
|
|
67
|
+
"@elliemae/ds-icons": "3.13.1",
|
|
68
|
+
"@elliemae/ds-utilities": "3.13.1",
|
|
69
|
+
"@elliemae/ds-classnames": "3.13.1",
|
|
70
|
+
"@elliemae/ds-toolbar": "3.13.1",
|
|
71
|
+
"@elliemae/ds-datagrids": "3.13.1",
|
|
72
|
+
"@elliemae/ds-form": "3.13.1"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public",
|