@appbaseio/reactivesearch-vue 3.0.0-rc.5.alpha.5 → 3.0.0-rc.6
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/@appbaseio/reactivesearch-vue.umd.js +39803 -35283
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +32 -32
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-d4da7470.js → Button-9e179864.js} +13 -6
- package/dist/cjs/{ComponentWrapper-9146d811.js → ComponentWrapper-0b9ffb1a.js} +3 -0
- package/dist/cjs/DropDown-aef75c14.js +702 -0
- package/dist/cjs/DynamicRangeSlider.js +1 -1
- package/dist/cjs/{Input-497be42a.js → Input-56eba499.js} +71 -1
- package/dist/cjs/MultiDropdownList.js +6 -6
- package/dist/cjs/MultiList.js +3 -3
- package/dist/cjs/MultiRange.js +2 -2
- package/dist/cjs/{Pagination-b953a80a.js → Pagination-58a0cf3f.js} +2 -2
- package/dist/cjs/RangeInput.js +3 -3
- package/dist/cjs/RangeSlider.js +2 -2
- package/dist/cjs/ReactiveBase.js +4 -4
- package/dist/cjs/ReactiveComponent.js +2 -2
- package/dist/cjs/ReactiveGoogleMap.js +6 -5
- package/dist/cjs/ReactiveList.js +4 -4
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +3 -2
- package/dist/cjs/SingleDropdownList.js +6 -6
- package/dist/cjs/SingleList.js +3 -3
- package/dist/cjs/SingleRange.js +2 -2
- package/dist/cjs/ToggleButton.js +4 -3
- package/dist/cjs/index.js +14 -13
- package/dist/cjs/install-70991c13.js +3820 -0
- package/dist/cjs/install.js +9 -9
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-1bf00978.js → vueTypes-a5f1745e.js} +18 -0
- package/dist/es/{Button-fd869491.js → Button-c2ff5178.js} +13 -6
- package/dist/es/{ComponentWrapper-8a3c388d.js → ComponentWrapper-a2635cfc.js} +3 -0
- package/dist/es/DropDown-39fedff8.js +693 -0
- package/dist/es/DynamicRangeSlider.js +1 -1
- package/dist/es/{Input-f7499ef8.js → Input-11d211d2.js} +71 -2
- package/dist/es/MultiDropdownList.js +6 -6
- package/dist/es/MultiList.js +3 -3
- package/dist/es/MultiRange.js +2 -2
- package/dist/es/{Pagination-c2745bec.js → Pagination-ae401c33.js} +2 -2
- package/dist/es/RangeInput.js +3 -3
- package/dist/es/RangeSlider.js +2 -2
- package/dist/es/ReactiveBase.js +4 -4
- package/dist/es/ReactiveComponent.js +2 -2
- package/dist/es/ReactiveGoogleMap.js +6 -5
- package/dist/es/ReactiveList.js +4 -4
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +3 -2
- package/dist/es/SingleDropdownList.js +6 -6
- package/dist/es/SingleList.js +3 -3
- package/dist/es/SingleRange.js +2 -2
- package/dist/es/ToggleButton.js +4 -3
- package/dist/es/index.js +11 -11
- package/dist/es/install-8296e8da.js +3812 -0
- package/dist/es/install.js +9 -9
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-f1923c72.js → vueTypes-09cab4d3.js} +18 -0
- package/package.json +7 -5
- package/dist/cjs/CancelSvg-ab0f8b23.js +0 -409
- package/dist/cjs/DropDown-e7125b72.js +0 -299
- package/dist/cjs/SearchBox.js +0 -1853
- package/dist/cjs/install-3c4520bf.js +0 -874
- package/dist/es/CancelSvg-e7ae49e9.js +0 -401
- package/dist/es/DropDown-13afb4d2.js +0 -295
- package/dist/es/SearchBox.js +0 -1847
- package/dist/es/install-ff8b0750.js +0 -868
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
|
-
var reactivecore = require('@appbaseio/reactivecore');
|
|
6
|
-
var _transformOn = _interopDefault(require('@vue/babel-helper-vue-transform-on'));
|
|
7
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
8
|
-
var vue = require('vue');
|
|
9
|
-
var VueTypes = _interopDefault(require('vue-types'));
|
|
10
|
-
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
11
|
-
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
12
|
-
var index = require('./index-779ed366.js');
|
|
13
|
-
var CancelSvg = require('./CancelSvg-ab0f8b23.js');
|
|
14
|
-
var Input = require('./Input-497be42a.js');
|
|
15
|
-
var suggestions = require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
16
|
-
|
|
17
|
-
var _templateObject, _templateObject2;
|
|
18
|
-
var small = "\n\tmin-height: 0;\n\theight: 30px;\n\tborder: 0;\n\tbox-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;\n\tborder-radius: 2px;\n";
|
|
19
|
-
var dark = function dark(_ref) {
|
|
20
|
-
var theme = _ref.theme;
|
|
21
|
-
return "\n\tbackground-color: " + (theme.colors ? theme.colors.backgroundColor : '') + ";\n\tborder-color: " + (theme.colors ? theme.colors.borderColor : '') + ";\n\tcolor: " + (theme.colors ? theme.colors.textColor : '') + ";\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + (theme.colors ? theme.colors.backgroundColor : '') + ";\n\t}\n";
|
|
22
|
-
};
|
|
23
|
-
var Select = vueEmotion.styled('button')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: 100%;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tmin-height: 42px;\n\tborder-radius: 0;\n\toutline: none;\n\tpadding: 5px 12px;\n\tfont-size: 0.9rem;\n\tline-height: 1.2rem;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n\tcolor: #424242;\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t", ";\n\n\t& > div {\n\t\twidth: calc(100% - 24px);\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\ttext-align: left;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: #fcfcfc;\n\t}\n\n\t", ";\n"])), function (props) {
|
|
24
|
-
return props.small ? small : null;
|
|
25
|
-
}, function (_ref2) {
|
|
26
|
-
var themePreset = _ref2.themePreset;
|
|
27
|
-
return themePreset === 'dark' && dark;
|
|
28
|
-
});
|
|
29
|
-
var Tick = vueEmotion.styled('span')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: 16px;\n\theight: 16px;\n\tdisplay: inline-block;\n\tposition: relative;\n\tuser-select: none;\n\talign-items: center;\n\n\t&::after {\n\t\tbox-sizing: content-box;\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tbackground-color: transparent;\n\t\ttop: 50%;\n\t\tleft: 0;\n\t\twidth: 8px;\n\t\theight: 4px;\n\t\tmargin-top: -4px;\n\t\tborder-style: solid;\n\t\tborder-color: ", ";\n\t\tborder-width: 0 0 2px 2px;\n\t\tborder-radius: 0;\n\t\tborder-image: none;\n\t\ttransform: rotate(-45deg) scale(1);\n\t\ttransition: all 200ms ease-out;\n\t}\n"])), function (_ref3) {
|
|
30
|
-
var theme = _ref3.theme;
|
|
31
|
-
return theme.colors.primaryColor;
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
var _templateObject$1;
|
|
35
|
-
var open = "\n\ttop: 0.55em;\n\ttransform: rotate(-45deg);\n";
|
|
36
|
-
var Chevron = vueEmotion.styled('span')(_templateObject$1 || (_templateObject$1 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t&::before {\n\t\tcontent: '';\n\t\tborder-style: solid;\n\t\tborder-width: 0.15em 0.15em 0 0;\n\t\tdisplay: inline-block;\n\t\theight: 0.45em;\n\t\tposition: relative;\n\t\ttop: 0.35em;\n\t\tleft: 0;\n\t\ttransform: rotate(135deg);\n\t\tvertical-align: top;\n\t\twidth: 0.45em;\n\n\t\t", ";\n\t}\n"])), function (props) {
|
|
37
|
-
return props.open ? open : null;
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
var getClassName = reactivecore.helper.getClassName;
|
|
41
|
-
var Dropdown = {
|
|
42
|
-
data: function data() {
|
|
43
|
-
this.__state = {
|
|
44
|
-
isOpen: false,
|
|
45
|
-
searchTerm: ''
|
|
46
|
-
};
|
|
47
|
-
return this.__state;
|
|
48
|
-
},
|
|
49
|
-
inject: {
|
|
50
|
-
theme: {
|
|
51
|
-
from: 'theme_reactivesearch'
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
props: {
|
|
55
|
-
innerClass: vueTypes.types.style,
|
|
56
|
-
items: vueTypes.types.data,
|
|
57
|
-
keyField: VueTypes.string.def('key'),
|
|
58
|
-
labelField: VueTypes.string.def('label'),
|
|
59
|
-
multi: VueTypes.bool,
|
|
60
|
-
// change event
|
|
61
|
-
placeholder: vueTypes.types.string,
|
|
62
|
-
returnsObject: VueTypes.bool,
|
|
63
|
-
customLabelRenderer: vueTypes.types.func,
|
|
64
|
-
hasCustomRenderer: VueTypes.bool,
|
|
65
|
-
customRenderer: vueTypes.types.func,
|
|
66
|
-
renderItem: vueTypes.types.func,
|
|
67
|
-
renderNoResults: VueTypes.any,
|
|
68
|
-
handleChange: vueTypes.types.func,
|
|
69
|
-
transformData: vueTypes.types.func,
|
|
70
|
-
selectedItem: vueTypes.types.selectedValue,
|
|
71
|
-
showCount: VueTypes.bool,
|
|
72
|
-
single: VueTypes.bool,
|
|
73
|
-
small: VueTypes.bool.def(false),
|
|
74
|
-
themePreset: vueTypes.types.themePreset,
|
|
75
|
-
showSearch: VueTypes.bool,
|
|
76
|
-
showClear: VueTypes.bool,
|
|
77
|
-
searchPlaceholder: VueTypes.string.def('Type here to search...')
|
|
78
|
-
},
|
|
79
|
-
render: function render() {
|
|
80
|
-
var _this = this;
|
|
81
|
-
var _this$$props = this.$props,
|
|
82
|
-
items = _this$$props.items,
|
|
83
|
-
selectedItem = _this$$props.selectedItem,
|
|
84
|
-
placeholder = _this$$props.placeholder,
|
|
85
|
-
labelField = _this$$props.labelField,
|
|
86
|
-
keyField = _this$$props.keyField,
|
|
87
|
-
themePreset = _this$$props.themePreset,
|
|
88
|
-
renderItem = _this$$props.renderItem,
|
|
89
|
-
transformData = _this$$props.transformData,
|
|
90
|
-
footer = _this$$props.footer,
|
|
91
|
-
customLabelRenderer = _this$$props.customLabelRenderer,
|
|
92
|
-
hasCustomRenderer = _this$$props.hasCustomRenderer,
|
|
93
|
-
customRenderer = _this$$props.customRenderer;
|
|
94
|
-
var itemsToRender = items;
|
|
95
|
-
if (transformData) {
|
|
96
|
-
itemsToRender = transformData(itemsToRender);
|
|
97
|
-
}
|
|
98
|
-
var filteredItemsToRender = itemsToRender.filter(function (item) {
|
|
99
|
-
if (String(item[labelField]).length) {
|
|
100
|
-
if (_this.$props.showSearch && _this.$data.searchTerm) {
|
|
101
|
-
return suggestions.replaceDiacritics(String(item[labelField])).toLowerCase().includes(suggestions.replaceDiacritics(_this.$data.searchTerm.toLowerCase()));
|
|
102
|
-
}
|
|
103
|
-
return true;
|
|
104
|
-
}
|
|
105
|
-
return false;
|
|
106
|
-
});
|
|
107
|
-
return vue.createVNode(CancelSvg.Downshift, {
|
|
108
|
-
"isOpen": this.$data.isOpen,
|
|
109
|
-
"selectedItem": selectedItem,
|
|
110
|
-
"handleChange": this.onChange,
|
|
111
|
-
"handleMouseup": this.handleStateChange
|
|
112
|
-
}, {
|
|
113
|
-
"default": function _default(_ref) {
|
|
114
|
-
var getItemProps = _ref.getItemProps,
|
|
115
|
-
isOpen = _ref.isOpen,
|
|
116
|
-
highlightedIndex = _ref.highlightedIndex,
|
|
117
|
-
getButtonProps = _ref.getButtonProps,
|
|
118
|
-
getItemEvents = _ref.getItemEvents,
|
|
119
|
-
getInputEvents = _ref.getInputEvents;
|
|
120
|
-
return vue.createVNode("div", {
|
|
121
|
-
"class": Input.suggestionsContainer
|
|
122
|
-
}, [vue.createVNode(Select, vue.mergeProps(_transformOn(getButtonProps({
|
|
123
|
-
onClick: _this.toggle
|
|
124
|
-
})), {
|
|
125
|
-
"class": getClassName(_this.$props.innerClass, 'select') || '',
|
|
126
|
-
"title": selectedItem ? _this.renderToString(selectedItem) : placeholder,
|
|
127
|
-
"small": _this.$props.small,
|
|
128
|
-
"themePreset": _this.$props.themePreset
|
|
129
|
-
}), {
|
|
130
|
-
"default": function _default() {
|
|
131
|
-
return [customLabelRenderer ? customLabelRenderer(selectedItem) : vue.createVNode("div", null, [selectedItem ? _this.renderToString(selectedItem) : placeholder]), vue.createVNode(Chevron, {
|
|
132
|
-
"open": isOpen
|
|
133
|
-
}, null)];
|
|
134
|
-
}
|
|
135
|
-
}), hasCustomRenderer ? customRenderer(itemsToRender, {
|
|
136
|
-
getItemProps: getItemProps,
|
|
137
|
-
isOpen: isOpen,
|
|
138
|
-
highlightedIndex: highlightedIndex,
|
|
139
|
-
getButtonProps: getButtonProps,
|
|
140
|
-
getItemEvents: getItemEvents
|
|
141
|
-
}) : isOpen && itemsToRender.length ? vue.createVNode("ul", {
|
|
142
|
-
"class": Input.suggestions(themePreset, _this.theme) + " " + (_this.$props.small ? 'small' : '') + " " + getClassName(_this.$props.innerClass, 'list')
|
|
143
|
-
}, [_this.$props.showSearch ? _this.renderSearchbox({
|
|
144
|
-
on: {
|
|
145
|
-
input: getInputEvents({
|
|
146
|
-
onInput: _this.handleInputChange
|
|
147
|
-
}).input
|
|
148
|
-
}
|
|
149
|
-
}) : null, !hasCustomRenderer && filteredItemsToRender.length === 0 ? _this.renderNoResult() : filteredItemsToRender.map(function (item, index) {
|
|
150
|
-
var selected = _this.$props.multi // MultiDropdownList
|
|
151
|
-
&& (selectedItem && !!selectedItem[item[keyField]] // MultiDropdownRange
|
|
152
|
-
|| Array.isArray(selectedItem) && selectedItem.find(function (value) {
|
|
153
|
-
return value[labelField] === item[labelField];
|
|
154
|
-
}));
|
|
155
|
-
if (!_this.$props.multi) selected = item.key === selectedItem;
|
|
156
|
-
return vue.createVNode("li", vue.mergeProps(getItemProps({
|
|
157
|
-
item: item
|
|
158
|
-
}), _transformOn(getItemEvents({
|
|
159
|
-
item: item
|
|
160
|
-
})), {
|
|
161
|
-
"key": item[keyField],
|
|
162
|
-
"class": "" + (selected ? 'active' : ''),
|
|
163
|
-
"style": {
|
|
164
|
-
backgroundColor: _this.getBackgroundColor(highlightedIndex === index, selected)
|
|
165
|
-
}
|
|
166
|
-
}), [renderItem ? renderItem({
|
|
167
|
-
label: item[labelField],
|
|
168
|
-
count: item.doc_count,
|
|
169
|
-
isChecked: selected && _this.$props.multi
|
|
170
|
-
}) : vue.createVNode("div", null, [typeof item[labelField] === 'string' ? vue.createVNode("span", {
|
|
171
|
-
"innerHTML": item[labelField]
|
|
172
|
-
}, null) : item[labelField], _this.$props.showCount && item.doc_count && vue.createVNode("span", {
|
|
173
|
-
"class": getClassName(_this.$props.innerClass, 'count') || ''
|
|
174
|
-
}, [vue.createTextVNode("\xA0("), item.doc_count, vue.createTextVNode(")")])]), selected && _this.$props.multi ? vue.createVNode(Tick, {
|
|
175
|
-
"class": getClassName(_this.$props.innerClass, 'icon') || ''
|
|
176
|
-
}, null) : null]);
|
|
177
|
-
}), footer]) : null]);
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
},
|
|
181
|
-
methods: {
|
|
182
|
-
toggle: function toggle() {
|
|
183
|
-
this.isOpen = !this.$data.isOpen;
|
|
184
|
-
},
|
|
185
|
-
close: function close() {
|
|
186
|
-
this.isOpen = false;
|
|
187
|
-
},
|
|
188
|
-
onChange: function onChange(item) {
|
|
189
|
-
if (this.$props.returnsObject) {
|
|
190
|
-
this.$props.handleChange(item);
|
|
191
|
-
} else {
|
|
192
|
-
this.$props.handleChange(item[this.$props.keyField]);
|
|
193
|
-
}
|
|
194
|
-
if (!this.$props.multi) {
|
|
195
|
-
this.isOpen = false;
|
|
196
|
-
this.searchTerm = '';
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
handleStateChange: function handleStateChange(_ref2) {
|
|
200
|
-
var isOpen = _ref2.isOpen;
|
|
201
|
-
this.isOpen = isOpen;
|
|
202
|
-
},
|
|
203
|
-
getBackgroundColor: function getBackgroundColor(highlighted, selected) {
|
|
204
|
-
var isDark = this.$props.themePreset === 'dark';
|
|
205
|
-
if (highlighted) {
|
|
206
|
-
return isDark ? '#555' : '#eee';
|
|
207
|
-
}
|
|
208
|
-
if (selected) {
|
|
209
|
-
return isDark ? '#686868' : '#fafafa';
|
|
210
|
-
}
|
|
211
|
-
return isDark ? '#424242' : '#fff';
|
|
212
|
-
},
|
|
213
|
-
handleInputChange: function handleInputChange(e) {
|
|
214
|
-
var value = e.target.value;
|
|
215
|
-
this.searchTerm = value;
|
|
216
|
-
},
|
|
217
|
-
clearSearchTerm: function clearSearchTerm() {
|
|
218
|
-
this.searchTerm = '';
|
|
219
|
-
},
|
|
220
|
-
renderToString: function renderToString(value) {
|
|
221
|
-
var _this2 = this;
|
|
222
|
-
var customLabelRenderer = this.$props.customLabelRenderer;
|
|
223
|
-
if (customLabelRenderer) {
|
|
224
|
-
var customLabel = customLabelRenderer(value);
|
|
225
|
-
if (typeof customLabel === 'string') {
|
|
226
|
-
return customLabel;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
if (Array.isArray(value) && value.length) {
|
|
230
|
-
var arrayToRender = value.map(function (item) {
|
|
231
|
-
return _this2.renderToString(item);
|
|
232
|
-
});
|
|
233
|
-
return arrayToRender.join(', ');
|
|
234
|
-
}
|
|
235
|
-
if (value && typeof value === 'object') {
|
|
236
|
-
if (value[this.$props.labelField]) {
|
|
237
|
-
return value[this.$props.labelField];
|
|
238
|
-
}
|
|
239
|
-
if (Object.keys(value).length) {
|
|
240
|
-
return this.renderToString(Object.keys(value));
|
|
241
|
-
}
|
|
242
|
-
return this.$props.placeholder;
|
|
243
|
-
}
|
|
244
|
-
return value;
|
|
245
|
-
},
|
|
246
|
-
renderNoResult: function renderNoResult() {
|
|
247
|
-
var renderNoResults = this.$slots.renderNoResults || this.$props.renderNoResults;
|
|
248
|
-
return vue.createVNode("p", {
|
|
249
|
-
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
250
|
-
}, [index.isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
251
|
-
},
|
|
252
|
-
renderSearchbox: function renderSearchbox(eventObject) {
|
|
253
|
-
var _this3 = this;
|
|
254
|
-
var _this$$props2 = this.$props,
|
|
255
|
-
componentId = _this$$props2.componentId,
|
|
256
|
-
searchPlaceholder = _this$$props2.searchPlaceholder,
|
|
257
|
-
showClear = _this$$props2.showClear,
|
|
258
|
-
themePreset = _this$$props2.themePreset,
|
|
259
|
-
innerClass = _this$$props2.innerClass;
|
|
260
|
-
var InputComponent = vue.createVNode(Input.Input, vue.mergeProps({
|
|
261
|
-
"id": componentId + "-input",
|
|
262
|
-
"style": {
|
|
263
|
-
border: 0,
|
|
264
|
-
borderBottom: '1px solid #ddd'
|
|
265
|
-
},
|
|
266
|
-
"showIcon": false,
|
|
267
|
-
"showClear": showClear,
|
|
268
|
-
"class": getClassName(innerClass, 'input'),
|
|
269
|
-
"placeholder": searchPlaceholder,
|
|
270
|
-
"value": this.$data.searchTerm,
|
|
271
|
-
"themePreset": themePreset
|
|
272
|
-
}, eventObject), null);
|
|
273
|
-
if (showClear) {
|
|
274
|
-
return vue.createVNode(CancelSvg.InputWrapper, null, {
|
|
275
|
-
"default": function _default() {
|
|
276
|
-
return [InputComponent, _this3.searchTerm && vue.createVNode(CancelSvg.IconGroup, {
|
|
277
|
-
"groupPosition": "right",
|
|
278
|
-
"positionType": "absolute"
|
|
279
|
-
}, {
|
|
280
|
-
"default": function _default() {
|
|
281
|
-
return [vue.createVNode(CancelSvg.IconWrapper, {
|
|
282
|
-
"onClick": _this3.clearSearchTerm,
|
|
283
|
-
"isClearIcon": true
|
|
284
|
-
}, {
|
|
285
|
-
"default": function _default() {
|
|
286
|
-
return [vue.createVNode(CancelSvg.CancelSvg, null, null)];
|
|
287
|
-
}
|
|
288
|
-
})];
|
|
289
|
-
}
|
|
290
|
-
})];
|
|
291
|
-
}
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
return InputComponent;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
exports.Dropdown = Dropdown;
|