@appbaseio/reactivesearch-vue 3.0.0-rc.16 → 3.0.0-rc.17
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 +5946 -5758
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/{install-aa32f65f.js → install-a773d7d3.js} +89 -28
- package/dist/cjs/install.js +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/{install-28637a98.js → install-45c35093.js} +89 -28
- package/dist/es/install.js +2 -2
- package/dist/es/version.js +1 -1
- package/package.json +92 -92
|
@@ -21,8 +21,8 @@ import { F as Flex } from './Flex-25792bc3.js';
|
|
|
21
21
|
import { recordAISessionUsefulness } from '@appbaseio/reactivecore/lib/actions/analytics';
|
|
22
22
|
import ReactiveBase from './ReactiveBase.js';
|
|
23
23
|
import hotkeys from 'hotkeys-js';
|
|
24
|
-
import { Remarkable } from 'remarkable';
|
|
25
24
|
import xss from 'xss';
|
|
25
|
+
import { Remarkable } from 'remarkable';
|
|
26
26
|
import { I as IconWrapper, C as CancelSvg, a as IconGroup, B as ButtonIconWrapper, D as Downshift, b as InputWrapper } from './DropDown-845623df.js';
|
|
27
27
|
import { n as noSuggestions, T as TextArea, I as Input, s as suggestionsContainer, A as Actions$1, a as suggestions, b as searchboxSuggestions } from './Input-83dee8c5.js';
|
|
28
28
|
import { C as Container } from './Container-d00219f7.js';
|
|
@@ -1084,7 +1084,9 @@ var md = new Remarkable();
|
|
|
1084
1084
|
md.set({
|
|
1085
1085
|
html: true,
|
|
1086
1086
|
breaks: true,
|
|
1087
|
-
xhtmlOut: true
|
|
1087
|
+
xhtmlOut: true,
|
|
1088
|
+
linkify: true,
|
|
1089
|
+
linkTarget: '_blank'
|
|
1088
1090
|
});
|
|
1089
1091
|
var _dropdownULRef = 'dropdownULRef';
|
|
1090
1092
|
var _inputGroupRef = 'inputGroupRef';
|
|
@@ -1112,7 +1114,9 @@ var SearchBox = defineComponent({
|
|
|
1112
1114
|
showAIScreen: false,
|
|
1113
1115
|
showAIScreenFooter: false,
|
|
1114
1116
|
showFeedbackComponent: false,
|
|
1115
|
-
feedbackState: null
|
|
1117
|
+
feedbackState: null,
|
|
1118
|
+
faqAnswer: '',
|
|
1119
|
+
faqQuestion: ''
|
|
1116
1120
|
};
|
|
1117
1121
|
this.internalComponent = props.componentId + "__internal";
|
|
1118
1122
|
return this.__state;
|
|
@@ -1154,6 +1158,12 @@ var SearchBox = defineComponent({
|
|
|
1154
1158
|
stats: function stats() {
|
|
1155
1159
|
return getResultStats(this);
|
|
1156
1160
|
},
|
|
1161
|
+
mergedAIQuestion: function mergedAIQuestion() {
|
|
1162
|
+
return this.faqQuestion || this.AIResponse && this.AIResponse.response && this.AIResponse.response.question;
|
|
1163
|
+
},
|
|
1164
|
+
mergedAIAnswer: function mergedAIAnswer() {
|
|
1165
|
+
return this.faqAnswer || this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.text;
|
|
1166
|
+
},
|
|
1157
1167
|
parsedSuggestions: function parsedSuggestions() {
|
|
1158
1168
|
var suggestionsArray = [];
|
|
1159
1169
|
if (Array.isArray(this.suggestions) && this.suggestions.length) {
|
|
@@ -1212,6 +1222,11 @@ var SearchBox = defineComponent({
|
|
|
1212
1222
|
enableQuerySuggestions: VueTypes.bool.def(false),
|
|
1213
1223
|
enablePopularSuggestions: VueTypes.bool.def(false),
|
|
1214
1224
|
enableRecentSuggestions: VueTypes.bool.def(false),
|
|
1225
|
+
enableFAQSuggestions: VueTypes.bool.def(false),
|
|
1226
|
+
FAQSuggestionsConfig: VueTypes.shape({
|
|
1227
|
+
sectionLabel: VueTypes.string,
|
|
1228
|
+
size: VueTypes.number
|
|
1229
|
+
}),
|
|
1215
1230
|
fieldWeights: types.fieldWeights,
|
|
1216
1231
|
filterLabel: types.string,
|
|
1217
1232
|
fuzziness: types.fuzziness,
|
|
@@ -1335,7 +1350,11 @@ var SearchBox = defineComponent({
|
|
|
1335
1350
|
if (this.$options.isTagsMode) {
|
|
1336
1351
|
cause = causes.SUGGESTION_SELECT;
|
|
1337
1352
|
}
|
|
1338
|
-
|
|
1353
|
+
if (this.$props.value === undefined) {
|
|
1354
|
+
this.setValue(newVal, newVal === '', this.$props, cause, false);
|
|
1355
|
+
} else {
|
|
1356
|
+
this.setValue(newVal || '', true, this.$props, cause);
|
|
1357
|
+
}
|
|
1339
1358
|
}
|
|
1340
1359
|
},
|
|
1341
1360
|
focusShortcuts: function focusShortcuts() {
|
|
@@ -1447,8 +1466,8 @@ var SearchBox = defineComponent({
|
|
|
1447
1466
|
value: currentValue,
|
|
1448
1467
|
resultStats: this.stats,
|
|
1449
1468
|
AIData: {
|
|
1450
|
-
question: this.
|
|
1451
|
-
answer: this.
|
|
1469
|
+
question: this.mergedAIQuestion,
|
|
1470
|
+
answer: this.mergedAIAnswer,
|
|
1452
1471
|
documentIds: this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.documentIds || [],
|
|
1453
1472
|
showAIScreen: this.showAIScreen,
|
|
1454
1473
|
sources: this.getAISourceObjects(),
|
|
@@ -1479,7 +1498,7 @@ var SearchBox = defineComponent({
|
|
|
1479
1498
|
this.onValueSelectedHandler(currentValue, causes.SEARCH_ICON_CLICK);
|
|
1480
1499
|
}
|
|
1481
1500
|
},
|
|
1482
|
-
setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen, categoryValue) {
|
|
1501
|
+
setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen, categoryValue, shouldExecuteQuery) {
|
|
1483
1502
|
var _this2 = this;
|
|
1484
1503
|
if (isDefaultValue === void 0) {
|
|
1485
1504
|
isDefaultValue = false;
|
|
@@ -1493,6 +1512,9 @@ var SearchBox = defineComponent({
|
|
|
1493
1512
|
if (categoryValue === void 0) {
|
|
1494
1513
|
categoryValue = undefined;
|
|
1495
1514
|
}
|
|
1515
|
+
if (shouldExecuteQuery === void 0) {
|
|
1516
|
+
shouldExecuteQuery = true;
|
|
1517
|
+
}
|
|
1496
1518
|
var performUpdate = function performUpdate() {
|
|
1497
1519
|
if (_this2.$options.isTagsMode && isEqual(value, _this2.selectedTags)) {
|
|
1498
1520
|
return;
|
|
@@ -1521,6 +1543,12 @@ var SearchBox = defineComponent({
|
|
|
1521
1543
|
if (_this2.$options.isTagsMode && cause === causes.SUGGESTION_SELECT) {
|
|
1522
1544
|
queryHandlerValue = Array.isArray(_this2.selectedTags) && _this2.selectedTags.length ? _this2.selectedTags : undefined;
|
|
1523
1545
|
}
|
|
1546
|
+
if ((_this2.faqAnswer || _this2.faqQuestion) && value === '') {
|
|
1547
|
+
// Empty the previous state
|
|
1548
|
+
_this2.faqAnswer = '';
|
|
1549
|
+
_this2.faqQuestion = '';
|
|
1550
|
+
_this2.showAIScreen = false;
|
|
1551
|
+
}
|
|
1524
1552
|
if (isDefaultValue) {
|
|
1525
1553
|
if (_this2.$props.autosuggest) {
|
|
1526
1554
|
if (toggleIsOpen) {
|
|
@@ -1528,17 +1556,18 @@ var SearchBox = defineComponent({
|
|
|
1528
1556
|
}
|
|
1529
1557
|
if (typeof _this2.currentValue === 'string') _this2.triggerDefaultQuery(_this2.currentValue, props.enableAI ? {
|
|
1530
1558
|
enableAI: true
|
|
1531
|
-
} : {});
|
|
1559
|
+
} : {}, shouldExecuteQuery);
|
|
1532
1560
|
} // in case of strict selection only SUGGESTION_SELECT should be able
|
|
1533
1561
|
// to set the query otherwise the value should reset
|
|
1534
1562
|
if (props.strictSelection) {
|
|
1535
1563
|
if (cause === causes.SUGGESTION_SELECT || (_this2.$options.isTagsMode ? _this2.selectedTags.length === 0 : value === '')) {
|
|
1536
|
-
_this2.triggerCustomQuery(queryHandlerValue, _this2.$options.isTagsMode ? undefined : categoryValue);
|
|
1564
|
+
_this2.triggerCustomQuery(queryHandlerValue, _this2.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
|
|
1537
1565
|
} else {
|
|
1538
1566
|
_this2.setValue('', true);
|
|
1539
1567
|
}
|
|
1540
1568
|
} else if (props.value === undefined || cause === causes.SUGGESTION_SELECT || cause === causes.CLEAR_VALUE) {
|
|
1541
|
-
_this2.
|
|
1569
|
+
_this2.showAIScreen = false;
|
|
1570
|
+
_this2.triggerCustomQuery(queryHandlerValue, _this2.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
|
|
1542
1571
|
}
|
|
1543
1572
|
} else {
|
|
1544
1573
|
// debounce for handling text while typing
|
|
@@ -1549,10 +1578,13 @@ var SearchBox = defineComponent({
|
|
|
1549
1578
|
};
|
|
1550
1579
|
checkValueChange(props.componentId, value, props.beforeValueChange, performUpdate);
|
|
1551
1580
|
},
|
|
1552
|
-
triggerDefaultQuery: function triggerDefaultQuery(paramValue, meta) {
|
|
1581
|
+
triggerDefaultQuery: function triggerDefaultQuery(paramValue, meta, shouldExecuteQuery) {
|
|
1553
1582
|
if (meta === void 0) {
|
|
1554
1583
|
meta = {};
|
|
1555
1584
|
}
|
|
1585
|
+
if (shouldExecuteQuery === void 0) {
|
|
1586
|
+
shouldExecuteQuery = true;
|
|
1587
|
+
}
|
|
1556
1588
|
if (!this.$props.autosuggest) {
|
|
1557
1589
|
return;
|
|
1558
1590
|
}
|
|
@@ -1573,12 +1605,15 @@ var SearchBox = defineComponent({
|
|
|
1573
1605
|
value: value,
|
|
1574
1606
|
componentType: componentTypes.searchBox,
|
|
1575
1607
|
meta: meta
|
|
1576
|
-
});
|
|
1608
|
+
}, shouldExecuteQuery);
|
|
1577
1609
|
},
|
|
1578
|
-
triggerCustomQuery: function triggerCustomQuery(paramValue, categoryValue) {
|
|
1610
|
+
triggerCustomQuery: function triggerCustomQuery(paramValue, categoryValue, shouldExecuteQuery) {
|
|
1579
1611
|
if (categoryValue === void 0) {
|
|
1580
1612
|
categoryValue = undefined;
|
|
1581
1613
|
}
|
|
1614
|
+
if (shouldExecuteQuery === void 0) {
|
|
1615
|
+
shouldExecuteQuery = true;
|
|
1616
|
+
}
|
|
1582
1617
|
var _this$$props = this.$props,
|
|
1583
1618
|
customQuery = _this$$props.customQuery,
|
|
1584
1619
|
filterLabel = _this$$props.filterLabel,
|
|
@@ -1607,7 +1642,7 @@ var SearchBox = defineComponent({
|
|
|
1607
1642
|
URLParams: URLParams,
|
|
1608
1643
|
componentType: componentTypes.searchBox,
|
|
1609
1644
|
category: categoryValue
|
|
1610
|
-
});
|
|
1645
|
+
}, shouldExecuteQuery);
|
|
1611
1646
|
},
|
|
1612
1647
|
handleFocus: function handleFocus(event) {
|
|
1613
1648
|
if (this.$props.autosuggest) {
|
|
@@ -1618,7 +1653,9 @@ var SearchBox = defineComponent({
|
|
|
1618
1653
|
handleVoiceResults: function handleVoiceResults(_ref) {
|
|
1619
1654
|
var results = _ref.results;
|
|
1620
1655
|
if (results && results[0] && results[0].isFinal && results[0][0] && results[0][0].transcript && results[0][0].transcript.trim()) {
|
|
1656
|
+
var _this$$refs2;
|
|
1621
1657
|
this.setValue(results[0][0].transcript.trim(), true);
|
|
1658
|
+
(_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null || (_this$$refs2 = _this$$refs2.$el) == null ? void 0 : _this$$refs2.focus(); // eslint-disable-line
|
|
1622
1659
|
}
|
|
1623
1660
|
},
|
|
1624
1661
|
triggerQuery: function triggerQuery(_ref2) {
|
|
@@ -1658,6 +1695,8 @@ var SearchBox = defineComponent({
|
|
|
1658
1695
|
clearValue: function clearValue() {
|
|
1659
1696
|
this.setValue('', false, this.$props, !this.$options.isTagsMode ? causes.CLEAR_VALUE : undefined, false);
|
|
1660
1697
|
this.onValueSelectedHandler('', !this.$options.isTagsMode ? causes.CLEAR_VALUE : undefined);
|
|
1698
|
+
this.showAIScreen = false;
|
|
1699
|
+
this.isOpen = false;
|
|
1661
1700
|
},
|
|
1662
1701
|
handleKeyDown: function handleKeyDown(event, highlightedIndex) {
|
|
1663
1702
|
if (highlightedIndex === void 0) {
|
|
@@ -1693,7 +1732,7 @@ var SearchBox = defineComponent({
|
|
|
1693
1732
|
}
|
|
1694
1733
|
var value = this.$props.value;
|
|
1695
1734
|
if (value === undefined) {
|
|
1696
|
-
this.setValue(inputValue,
|
|
1735
|
+
this.setValue(inputValue, inputValue === '', this.$props, undefined, false);
|
|
1697
1736
|
} else {
|
|
1698
1737
|
this.$emit('change', inputValue, function (_ref3) {
|
|
1699
1738
|
var isOpen = _ref3.isOpen;
|
|
@@ -1708,7 +1747,7 @@ var SearchBox = defineComponent({
|
|
|
1708
1747
|
},
|
|
1709
1748
|
handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
|
|
1710
1749
|
try {
|
|
1711
|
-
var _this$$
|
|
1750
|
+
var _this$$refs3;
|
|
1712
1751
|
if (suggestion.action === featuredSuggestionsActionTypes.NAVIGATE) {
|
|
1713
1752
|
var _JSON$parse = JSON.parse(suggestion.subAction),
|
|
1714
1753
|
_JSON$parse$target = _JSON$parse.target,
|
|
@@ -1727,7 +1766,7 @@ var SearchBox = defineComponent({
|
|
|
1727
1766
|
func(suggestion, this.$data.currentValue, this.$props.customEvents);
|
|
1728
1767
|
}
|
|
1729
1768
|
if (suggestion.action === featuredSuggestionsActionTypes.SELECT) {
|
|
1730
|
-
this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? causes.SUGGESTION_SELECT : causes.ENTER_PRESS);
|
|
1769
|
+
this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? causes.SUGGESTION_SELECT : causes.ENTER_PRESS, false);
|
|
1731
1770
|
this.onValueSelectedHandler(suggestion.value, causes.SUGGESTION_SELECT);
|
|
1732
1771
|
}
|
|
1733
1772
|
// blur is important to close the dropdown
|
|
@@ -1735,21 +1774,36 @@ var SearchBox = defineComponent({
|
|
|
1735
1774
|
// else Downshift probably is focusing the dropdown
|
|
1736
1775
|
// and not letting it close
|
|
1737
1776
|
// eslint-disable-next-line no-unused-expressions
|
|
1738
|
-
(_this$$
|
|
1777
|
+
(_this$$refs3 = this.$refs) == null || (_this$$refs3 = _this$$refs3[this.$props.innerRef]) == null || (_this$$refs3 = _this$$refs3.el) == null ? void 0 : _this$$refs3.blur();
|
|
1739
1778
|
} catch (e) {
|
|
1740
1779
|
console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
|
|
1741
1780
|
}
|
|
1742
1781
|
},
|
|
1743
1782
|
onSuggestionSelected: function onSuggestionSelected(suggestion) {
|
|
1744
1783
|
var _this4 = this;
|
|
1745
|
-
|
|
1784
|
+
var value = this.$props.value;
|
|
1785
|
+
// The state of the suggestion is open by the time it reaches here. i.e. isOpen = true
|
|
1786
|
+
// handle when FAQ suggestion is clicked
|
|
1787
|
+
if (suggestion && suggestion._suggestion_type === suggestionTypes.FAQ) {
|
|
1788
|
+
this.currentValue = suggestion.value;
|
|
1789
|
+
// Handle AI
|
|
1790
|
+
// Independent of enableAI.
|
|
1791
|
+
this.faqAnswer = suggestion._answer;
|
|
1792
|
+
this.faqQuestion = suggestion.value;
|
|
1793
|
+
this.isOpen = true;
|
|
1746
1794
|
this.showAIScreen = true;
|
|
1795
|
+
if (value !== undefined) this.$emit('change', suggestion.value, function () {});
|
|
1796
|
+
this.onValueSelectedHandler(suggestion.value);
|
|
1797
|
+
return;
|
|
1747
1798
|
}
|
|
1748
|
-
var value = this.$props.value;
|
|
1749
1799
|
|
|
1750
1800
|
// handle featured suggestions click event
|
|
1751
1801
|
if (suggestion._suggestion_type === suggestionTypes.Featured) {
|
|
1752
1802
|
this.handleFeaturedSuggestionClicked(suggestion);
|
|
1803
|
+
// Handle AI
|
|
1804
|
+
if (!this.$props.enableAI) this.isOpen = false;else {
|
|
1805
|
+
this.showAIScreen = true;
|
|
1806
|
+
}
|
|
1753
1807
|
return;
|
|
1754
1808
|
}
|
|
1755
1809
|
// Record analytics for selected suggestions
|
|
@@ -1779,6 +1833,11 @@ var SearchBox = defineComponent({
|
|
|
1779
1833
|
});
|
|
1780
1834
|
}
|
|
1781
1835
|
this.onValueSelectedHandler(suggestion.value, causes.SUGGESTION_SELECT, suggestion.source);
|
|
1836
|
+
|
|
1837
|
+
// Handle AI
|
|
1838
|
+
if (!this.$props.enableAI) this.isOpen = false;else {
|
|
1839
|
+
this.showAIScreen = true;
|
|
1840
|
+
}
|
|
1782
1841
|
},
|
|
1783
1842
|
onValueSelectedHandler: function onValueSelectedHandler(currentValue) {
|
|
1784
1843
|
if (currentValue === void 0) {
|
|
@@ -2022,14 +2081,14 @@ var SearchBox = defineComponent({
|
|
|
2022
2081
|
})]);
|
|
2023
2082
|
},
|
|
2024
2083
|
focusSearchBox: function focusSearchBox(event) {
|
|
2025
|
-
var _this$$
|
|
2084
|
+
var _this$$refs4;
|
|
2026
2085
|
var elt = event.target || event.srcElement;
|
|
2027
2086
|
var tagName = elt.tagName;
|
|
2028
2087
|
if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
|
|
2029
2088
|
// already in an input
|
|
2030
2089
|
return;
|
|
2031
2090
|
}
|
|
2032
|
-
(_this$$
|
|
2091
|
+
(_this$$refs4 = this.$refs) == null || (_this$$refs4 = _this$$refs4[this.$props.innerRef]) == null || (_this$$refs4 = _this$$refs4.$el) == null ? void 0 : _this$$refs4.focus(); // eslint-disable-line
|
|
2033
2092
|
},
|
|
2034
2093
|
listenForFocusShortcuts: function listenForFocusShortcuts() {
|
|
2035
2094
|
var _this9 = this;
|
|
@@ -2248,8 +2307,8 @@ var SearchBox = defineComponent({
|
|
|
2248
2307
|
var customAIRenderer = this.$props.renderAIAnswer || this.$slots.renderAIAnswer;
|
|
2249
2308
|
if (customAIRenderer) {
|
|
2250
2309
|
return customAIRenderer({
|
|
2251
|
-
question: this.
|
|
2252
|
-
answer: this.
|
|
2310
|
+
question: this.mergedAIQuestion,
|
|
2311
|
+
answer: this.mergedAIAnswer,
|
|
2253
2312
|
documentIds: this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.documentIds || [],
|
|
2254
2313
|
loading: this.isAIResponseLoading || this.isLoading,
|
|
2255
2314
|
sources: this.getAISourceObjects(),
|
|
@@ -2260,7 +2319,7 @@ var SearchBox = defineComponent({
|
|
|
2260
2319
|
return this.renderAIScreenLoader();
|
|
2261
2320
|
}
|
|
2262
2321
|
return createVNode("div", null, [createVNode(Answer, {
|
|
2263
|
-
"innerHTML": md.render(this.
|
|
2322
|
+
"innerHTML": md.render(this.mergedAIAnswer)
|
|
2264
2323
|
}, null), this.renderAIScreenFooter(), this.showFeedbackComponent && createVNode("div", {
|
|
2265
2324
|
"class": "" + (getClassName$1(this.$props.innerClass, 'ai-feedback') || '')
|
|
2266
2325
|
}, [createVNode(AIFeedback, {
|
|
@@ -2451,7 +2510,7 @@ var SearchBox = defineComponent({
|
|
|
2451
2510
|
}), _transformOn(getItemEvents({
|
|
2452
2511
|
item: sectionItem
|
|
2453
2512
|
})), {
|
|
2454
|
-
"key": index + sectionIndex,
|
|
2513
|
+
"key": sectionItem._id + "_" + index + "_" + sectionIndex,
|
|
2455
2514
|
"style": {
|
|
2456
2515
|
justifyContent: 'flex-start',
|
|
2457
2516
|
alignItems: 'center'
|
|
@@ -2462,7 +2521,7 @@ var SearchBox = defineComponent({
|
|
|
2462
2521
|
}), _transformOn(getItemEvents({
|
|
2463
2522
|
item: sectionItem
|
|
2464
2523
|
})), {
|
|
2465
|
-
"key": index + sectionIndex,
|
|
2524
|
+
"key": sectionItem._id + "_" + index + "_" + sectionIndex,
|
|
2466
2525
|
"style": {
|
|
2467
2526
|
justifyContent: 'flex-start',
|
|
2468
2527
|
alignItems: 'center'
|
|
@@ -2684,7 +2743,9 @@ var md$1 = new Remarkable();
|
|
|
2684
2743
|
md$1.set({
|
|
2685
2744
|
html: true,
|
|
2686
2745
|
breaks: true,
|
|
2687
|
-
xhtmlOut: true
|
|
2746
|
+
xhtmlOut: true,
|
|
2747
|
+
linkify: true,
|
|
2748
|
+
linkTarget: '_blank'
|
|
2688
2749
|
});
|
|
2689
2750
|
var _inputWrapperRef = 'inputWrapperRef';
|
|
2690
2751
|
var _inputRef = 'inputRef';
|
package/dist/es/install.js
CHANGED
|
@@ -28,9 +28,9 @@ import '@appbaseio/analytics';
|
|
|
28
28
|
import 'url-search-params-polyfill';
|
|
29
29
|
import './ReactiveBase.js';
|
|
30
30
|
import 'hotkeys-js';
|
|
31
|
-
import 'remarkable';
|
|
32
31
|
import 'xss';
|
|
33
|
-
|
|
32
|
+
import 'remarkable';
|
|
33
|
+
export { i as default } from './install-45c35093.js';
|
|
34
34
|
import './DropDown-845623df.js';
|
|
35
35
|
import './Input-83dee8c5.js';
|
|
36
36
|
import 'compute-scroll-into-view';
|
package/dist/es/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
2
|
+
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
+
"version": "3.0.0-rc.17",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"jsnext:main": "dist/es/index.js",
|
|
7
|
+
"module": "dist/es/index.js",
|
|
8
|
+
"typings": "dist/index.d.ts",
|
|
9
|
+
"description": "A Vue UI components library for building search experiences",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"appbase",
|
|
12
|
+
"elasticsearch",
|
|
13
|
+
"search"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/appbaseio/reactivesearch.git"
|
|
18
|
+
},
|
|
19
|
+
"author": "Kuldeep Saxena <kuldepsaxena155@gmail.com>",
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"scripts": {
|
|
22
|
+
"watch": "nps watch",
|
|
23
|
+
"serve": "vue-cli-service serve",
|
|
24
|
+
"build": "vue-cli-service build",
|
|
25
|
+
"start": "nps",
|
|
26
|
+
"pretest": "nps build",
|
|
27
|
+
"test": "nps test",
|
|
28
|
+
"precommit": "lint-staged",
|
|
29
|
+
"prepare": "npm start validate",
|
|
30
|
+
"version-upgrade": "nps upgrade-vue -c ../../package-scripts.js",
|
|
31
|
+
"postpublish": "yarn run version-upgrade"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"sideEffects": false,
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@appbaseio/analytics": "^1.2.0-alpha.1",
|
|
39
|
+
"@appbaseio/reactivecore": "10.0.0-alpha.34",
|
|
40
|
+
"@appbaseio/vue-emotion": "0.6.0-alpha.6",
|
|
41
|
+
"@emotion/css": "^11.10.5",
|
|
42
|
+
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
43
|
+
"appbase-js": "^5.2.0",
|
|
44
|
+
"compute-scroll-into-view": "^1.0.11",
|
|
45
|
+
"emotion": "11.0.0",
|
|
46
|
+
"hotkeys-js": "^3.8.7",
|
|
47
|
+
"ngeohash": "^0.6.3",
|
|
48
|
+
"polished": "^2.2.0",
|
|
49
|
+
"redux": "^4.0.0",
|
|
50
|
+
"remarkable": "^2.0.1",
|
|
51
|
+
"url-search-params-polyfill": "^7.0.0",
|
|
52
|
+
"vue-google-maps-community-fork": "^0.1.7",
|
|
53
|
+
"vue-highlight-words": "^1.2.0",
|
|
54
|
+
"vue-no-ssr": "^1.1.0",
|
|
55
|
+
"vue-slider-component": "next",
|
|
56
|
+
"vue-types": "^5.0.2",
|
|
57
|
+
"xss": "^1.0.11"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"vue": "^3.1.0"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@babel/plugin-external-helpers": "^7.2.0",
|
|
64
|
+
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
65
|
+
"@babel/plugin-proposal-json-strings": "^7.2.0",
|
|
66
|
+
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
67
|
+
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
|
68
|
+
"@babel/plugin-syntax-jsx": "^7.2.0",
|
|
69
|
+
"@babel/preset-env": "^7.5.5",
|
|
70
|
+
"@babel/preset-stage-2": "^7.0.0",
|
|
71
|
+
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
72
|
+
"@vue/compiler-sfc": "^3.0.11",
|
|
73
|
+
"eslint": "^4.12.0",
|
|
74
|
+
"eslint-config-airbnb-base": "^13.1.0",
|
|
75
|
+
"eslint-config-prettier": "^3.1.0",
|
|
76
|
+
"eslint-plugin-vue": "^4.7.1",
|
|
77
|
+
"nps": "^5.9.3",
|
|
78
|
+
"nps-utils": "^1.7.0",
|
|
79
|
+
"postcss": "^8.3.0",
|
|
80
|
+
"rollup": "^1.20.3",
|
|
81
|
+
"rollup-plugin-babel": "^4.3.3",
|
|
82
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
83
|
+
"rollup-plugin-json": "^4.0.0",
|
|
84
|
+
"rollup-plugin-node-builtins": "^2.1.2",
|
|
85
|
+
"rollup-plugin-node-globals": "^1.4.0",
|
|
86
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
87
|
+
"rollup-plugin-postcss": "^4.0.0",
|
|
88
|
+
"rollup-plugin-replace": "^2.2.0",
|
|
89
|
+
"rollup-plugin-terser": "^5.1.1",
|
|
90
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
91
|
+
"typescript": "^5.0.0",
|
|
92
|
+
"vue-eslint-parser": "^3.2.2"
|
|
93
|
+
}
|
|
94
94
|
}
|