@appbaseio/reactivesearch-vue 3.1.0-alpha.2 → 3.1.0-alpha.3

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.
Files changed (33) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +866 -494
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +4 -4
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{DropDown-26666911.js → DropDown-1532353d.js} +1 -1
  6. package/dist/cjs/DynamicRangeSlider.js +2 -3
  7. package/dist/cjs/{Input-3ecdb905.js → Input-4279b088.js} +2 -2
  8. package/dist/cjs/MultiDropdownList.js +2 -2
  9. package/dist/cjs/MultiList.js +1 -1
  10. package/dist/cjs/RangeInput.js +3 -4
  11. package/dist/cjs/RangeSlider.js +2 -3
  12. package/dist/cjs/SingleDropdownList.js +2 -2
  13. package/dist/cjs/SingleList.js +1 -1
  14. package/dist/cjs/index.js +5 -6
  15. package/dist/cjs/{install-26ae88c8.js → install-c2974532.js} +291 -167
  16. package/dist/cjs/install.js +5 -6
  17. package/dist/cjs/version.js +1 -1
  18. package/dist/components/search/SearchBox.d.ts +4 -0
  19. package/dist/es/{DropDown-48045fde.js → DropDown-6d1dddde.js} +1 -1
  20. package/dist/es/DynamicRangeSlider.js +2 -3
  21. package/dist/es/{Input-83dee8c5.js → Input-1f6207bc.js} +2 -2
  22. package/dist/es/MultiDropdownList.js +2 -2
  23. package/dist/es/MultiList.js +1 -1
  24. package/dist/es/RangeInput.js +3 -4
  25. package/dist/es/RangeSlider.js +2 -3
  26. package/dist/es/SingleDropdownList.js +2 -2
  27. package/dist/es/SingleList.js +1 -1
  28. package/dist/es/index.js +6 -7
  29. package/dist/es/{install-924d0354.js → install-7ecd1a9c.js} +293 -169
  30. package/dist/es/install.js +5 -6
  31. package/dist/es/version.js +1 -1
  32. package/dist/types.ts +12 -0
  33. package/package.json +91 -92
@@ -1191,7 +1191,7 @@
1191
1191
  geo: 'geo',
1192
1192
  suggestion: 'suggestion'
1193
1193
  };
1194
- var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'compoundClause', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'queryString', 'categoryField', 'strictSelection', 'selectAllLabel', 'showCheckbox', 'showFilter', 'showSearch', 'showCount', 'showLoadMore', 'loadMoreLabel', 'showMissing', 'missingLabel', 'data', 'showRadio', 'multiSelect', 'includeNullValues', 'interval', 'showHistogram', 'snap', 'stepValue', 'range', 'showSlider', 'parseDate', 'calendarInterval', 'unit', 'enablePopularSuggestions', 'enableRecentSuggestions', 'popularSuggestionsConfig', 'recentSuggestionsConfig', 'indexSuggestionsConfig', 'featuredSuggestionsConfig', 'FAQSuggestionsConfig', 'enablePredictiveSuggestions', 'applyStopwords', 'customStopwords', 'enableIndexSuggestions', 'enableFeaturedSuggestions', 'enableFAQSuggestions', 'searchboxId', 'endpoint', 'enableEndpointSuggestions', 'enableAI', 'AIConfig'];
1194
+ var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'compoundClause', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'queryString', 'categoryField', 'strictSelection', 'selectAllLabel', 'showCheckbox', 'showFilter', 'showSearch', 'showCount', 'showLoadMore', 'loadMoreLabel', 'showMissing', 'missingLabel', 'data', 'showRadio', 'multiSelect', 'includeNullValues', 'interval', 'showHistogram', 'snap', 'stepValue', 'range', 'showSlider', 'parseDate', 'calendarInterval', 'unit', 'enablePopularSuggestions', 'enableRecentSuggestions', 'popularSuggestionsConfig', 'recentSuggestionsConfig', 'indexSuggestionsConfig', 'featuredSuggestionsConfig', 'FAQSuggestionsConfig', 'documentSuggestionsConfig', 'enablePredictiveSuggestions', 'applyStopwords', 'customStopwords', 'enableIndexSuggestions', 'enableFeaturedSuggestions', 'enableFAQSuggestions', 'enableDocumentSuggestions', 'enableEndpointSuggestions', 'searchboxId', 'endpoint', 'enableAI', 'AIConfig', 'showDistinctSuggestions'];
1195
1195
  var CLEAR_ALL = exports.CLEAR_ALL = {
1196
1196
  NEVER: 'never',
1197
1197
  ALWAYS: 'always',
@@ -5258,7 +5258,8 @@
5258
5258
  Recent: 'recent',
5259
5259
  Promoted: 'promoted',
5260
5260
  Featured: 'featured',
5261
- FAQ: 'faq'
5261
+ FAQ: 'faq',
5262
+ Document: 'document'
5262
5263
  };
5263
5264
  var featuredSuggestionsActionTypes = exports.featuredSuggestionsActionTypes = {
5264
5265
  NAVIGATE: 'navigate',
@@ -5449,14 +5450,18 @@
5449
5450
  };
5450
5451
  exports.transformRequestUsingEndpoint = transformRequestUsingEndpoint;
5451
5452
  var setObjectInLocalStorage = exports.setObjectInLocalStorage = function setObjectInLocalStorage(key, value) {
5452
- if (!key || !value) {
5453
- throw new Error('Key and value are required for setObject');
5454
- }
5455
- try {
5456
- var serializedValue = JSON.stringify(value);
5457
- localStorage.setItem(key, serializedValue);
5458
- } catch (error) {
5459
- console.error('Error saving object to localStorage:', error);
5453
+ if (typeof localStorage !== 'undefined') {
5454
+ if (!key || !value) {
5455
+ throw new Error('Key and value are required for setObject');
5456
+ }
5457
+ try {
5458
+ var serializedValue = JSON.stringify(value);
5459
+ localStorage.setItem(key, serializedValue);
5460
+ } catch (error) {
5461
+ console.error('Error saving object to localStorage:', error);
5462
+ }
5463
+ } else {
5464
+ console.warn('localstorage not available');
5460
5465
  }
5461
5466
  };
5462
5467
  var getObjectFromLocalStorage = exports.getObjectFromLocalStorage = function getObjectFromLocalStorage(key) {
@@ -5613,7 +5618,7 @@
5613
5618
  if (action.type === constants.SET_AI_RESPONSE) {
5614
5619
  (0, helper.setObjectInLocalStorage)('AISessions', _extends({}, (0, helper.getObjectFromLocalStorage)(constants$1.AI_LOCAL_CACHE_KEY) || {}, _defineProperty({}, action.component, _extends({}, state[action.component] || {}, action.payload))));
5615
5620
  return _extends({}, state, _defineProperty({}, action.component, _extends({}, state[action.component] ? state[action.component] : {}, {
5616
- response: _extends({}, state[action.component] ? state[action.component] && state[action.component].response : {}, action.payload),
5621
+ response: _extends({}, state[action.component] ? state[action.component].response : {}, action.payload),
5617
5622
  isLoading: false,
5618
5623
  error: null
5619
5624
  })));
@@ -6330,7 +6335,10 @@
6330
6335
  applyStopwords: props.applyStopwords,
6331
6336
  customStopwords: props.customStopwords,
6332
6337
  enablePredictiveSuggestions: props.enablePredictiveSuggestions,
6333
- indexSuggestionsConfig: props.indexSuggestionsConfig
6338
+ indexSuggestionsConfig: props.indexSuggestionsConfig,
6339
+ enableDocumentSuggestions: props.enableDocumentSuggestions,
6340
+ showDistinctSuggestions: props.showDistinctSuggestions,
6341
+ documentSuggestionsConfig: props.enableDocumentSuggestions ? props.documentSuggestionsConfig : undefined
6334
6342
  }, featuredSuggestionsProps, faqSuggestionsProps, {
6335
6343
  enableIndexSuggestions: props.enableIndexSuggestions
6336
6344
  }, props.searchboxId ? {
@@ -6910,6 +6918,12 @@
6910
6918
  if (data.hasOwnProperty('hits')) {
6911
6919
  dispatch(updateHits(component, data, data.time || undefined));
6912
6920
  }
6921
+ if (data.hasOwnProperty('rawData')) {
6922
+ dispatch((0, misc.setRawData)(component, data.rawData));
6923
+ }
6924
+ if (data.hasOwnProperty('AI_RESPONSE')) {
6925
+ dispatch((0, misc.setAIResponse)(component, data.AI_RESPONSE));
6926
+ }
6913
6927
  };
6914
6928
  }
6915
6929
  });
@@ -24913,7 +24927,7 @@
24913
24927
  var InputWrapper = styled('span')(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n\tflex: 1;\n\tposition: relative;\n\theight: 42px;\n"])));
24914
24928
 
24915
24929
  var _templateObject$a;
24916
- var InputAddon = styled('span')(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #fafafa;\n border: 1px solid #ccc;\n border-radius: 2px;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n font-weight: 400;\n padding: 0 11px;\n position: relative;\n transition: all 0.3s;\n box-sizing: border-box;\n overflow: hidden;\n\n &:first-of-type {\n border-right: none;\n }\n &:last-of-type {\n border-left: none;\n }\n"])));
24930
+ var InputAddon = styled('span')(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #fafafa;\n border: 1px solid transparent;\n border-radius: 6px;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n font-weight: 400;\n padding: 0 11px;\n position: relative;\n transition: all 0.3s;\n box-sizing: border-box;\n overflow: hidden;\n\n &:first-of-type {\n border-right: none;\n }\n &:last-of-type {\n border-left: none;\n }\n"])));
24917
24931
  InputAddon.defaultProps = {
24918
24932
  className: 'input-addon'
24919
24933
  };
@@ -24985,9 +24999,9 @@
24985
24999
  };
24986
25000
  var suggestionsContainer = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
24987
25001
  var noSuggestions = function noSuggestions(themePreset, theme) {
24988
- return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: 260px;\n\toverflow-y: auto;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t", "\n"])), themePreset === 'dark' && theme && dark$1(theme));
25002
+ return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: 260px;\n\toverflow-y: auto;\n border-radius: 6px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n box-shadow: rgb(0 0 0 / 20%) 0px 10px 15px;\n border-top: 1px solid #f2f0f0;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t", "\n"])), themePreset === 'dark' && theme && dark$1(theme));
24989
25003
  };
24990
- var TextArea = styled('textarea')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t&::-webkit-search-decoration,\n\t&::-webkit-search-cancel-button,\n\t&::-webkit-search-results-button,\n\t&::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n\tresize: none;\n\toverflow: hidden;\n\theight: 42px;\n\tpadding-left: 0;\n\tpadding-right: 0;\n"])), function (props) {
25004
+ var TextArea = styled('textarea')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t&::-webkit-search-decoration,\n\t&::-webkit-search-cancel-button,\n\t&::-webkit-search-results-button,\n\t&::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n\tresize: none;\n\toverflow: hidden;\n\theight: 42px;\n\tpadding-left: 0;\n\tpadding-right: 0;\n\tborder-color: transparent;\n\n"])), function (props) {
24991
25005
  return input(props.searchBox);
24992
25006
  }, function (_ref4) {
24993
25007
  var themePreset = _ref4.themePreset,
@@ -25825,7 +25839,30 @@
25825
25839
  name: 'SuggestionItem',
25826
25840
  props: {
25827
25841
  currentValue: types.string,
25828
- suggestion: types.any
25842
+ suggestion: types.any,
25843
+ innerHTML: types.string.isRequired
25844
+ },
25845
+ data: function data() {
25846
+ return {
25847
+ isOverflowing: false
25848
+ };
25849
+ },
25850
+ methods: {
25851
+ updateOverflowing: function updateOverflowing() {
25852
+ if (this.$refs.container && this.$refs.content) {
25853
+ var _this$$refs = this.$refs,
25854
+ container = _this$$refs.container,
25855
+ content = _this$$refs.content;
25856
+ var containerWidth = container.offsetWidth;
25857
+ var contentWidth = content.scrollWidth;
25858
+ this.isOverflowing = contentWidth > containerWidth;
25859
+ } else {
25860
+ this.isOverflowing = false;
25861
+ }
25862
+ }
25863
+ },
25864
+ mounted: function mounted() {
25865
+ this.updateOverflowing();
25829
25866
  },
25830
25867
  render: function render() {
25831
25868
  var _this = this;
@@ -25841,7 +25878,11 @@
25841
25878
  if (label) {
25842
25879
  // label has highest precedence
25843
25880
  return typeof label === 'string' ? vue.createVNode("div", {
25844
- "class": "trim"
25881
+ "ref": "container",
25882
+ "class": "trim",
25883
+ "title": this.isOverflowing ? label : ''
25884
+ }, [vue.createVNode("div", {
25885
+ "ref": "content"
25845
25886
  }, [(_category ? false : isPredictiveSuggestion
25846
25887
  // eslint-disable-next-line
25847
25888
  || !!_suggestion_type) ? vue.createVNode(PredictiveSuggestion, {
@@ -25851,7 +25892,7 @@
25851
25892
  "textToHighlight": label,
25852
25893
  "autoEscape": true,
25853
25894
  "highlightStyle": highlightStyle
25854
- }, null)]) : label;
25895
+ }, null)])]) : label;
25855
25896
  }
25856
25897
  if (title || image || description) {
25857
25898
  return vue.createVNode(Flex, {
@@ -26540,7 +26581,7 @@
26540
26581
 
26541
26582
  var _templateObject$k, _templateObject2$8, _templateObject3$5, _templateObject4$2, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10, _templateObject11;
26542
26583
  var Chatbox = styled('div')(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\tmargin: 0 auto;\n\tpadding: 10px;\n\tbackground-color: #fafafa;\n\twidth: 100%;\n\tbox-shadow: rgb(0 0 0 / 20%) 0px 0px 6px;\n\tborder-radius: 6px;\n\tmargin-bottom: 20px;\n\tbackground-color: ", ";\n\n\t.--trigger-message-wrapper {\n\t\tcursor: pointer;\n\t}\n"])), function (props) {
26543
- return props.theme && props.theme.colors ? props.theme.colors.backgroundColor : '#fff';
26584
+ return props.theme && props.theme.colors && props.theme.colors.backgroundColor ? curriedLighten(0.1, props.theme.colors.backgroundColor) : '#fff';
26544
26585
  });
26545
26586
  var ChatContainer = styled('div')(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: column;\n\theight: 100%;\n\tposition: relative;\n\t.--ai-answer-error-container {\n\t\ttext-align: center;\n\t\tposition: absolute;\n\t\tbottom: 0px;\n\t\t", ";\n\t\tz-index: 1;\n\t\tleft: 50%;\n\t\ttransform: translateX(-50%);\n\t\twidth: 100%;\n\n\t\t.--default-error-element {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\talign-items: center;\n\t\t\tpadding: 10px;\n\t\t\tbackground-color: ", ";\n\t\t\tbox-shadow: 0 -5px 5px -2px\n\t\t\t\t", ";\n\n\t\t\tspan {\n\t\t\t\tmargin-bottom: 5px;\n\t\t\t}\n\n\t\t\tbutton {\n\t\t\t}\n\t\t}\n\t}\n\n\t", ";\n"])), function (props) {
26546
26587
  return props.showInput ? 'bottom: 48px;' : '';
@@ -26572,7 +26613,7 @@
26572
26613
  // eslint-disable-next-line no-nested-ternary
26573
26614
  props.isSender ? props.themePreset !== 'dark' ? props.theme.colors.primaryTextColor : props.theme.colors.textColor : props.theme.colors.primaryTextColor) + ";\n\t\tborder-radius: 3px;\n\t\tfont-size: 85%;\n\t\tpadding: 0.2em 0.4em;\n\t\tmargin-top: 5px;\n\t\tdisplay: inline-block;\n\t\toverflow: auto;\n\t\twidth: fit-content;\n\t\tmax-width: 100%;\n\t}\n\ncode[class*='language-'],\n\tpre[class*='language-'] {\n\t\tcolor: " + (
26574
26615
  // eslint-disable-next-line no-nested-ternary
26575
- props.isSender ? props.themePreset !== 'dark' ? props.theme.colors.primaryTextColor : props.theme.colors.textColor : props.theme.colors.primaryTextColor) + ";\n\t\ttext-shadow: none;\n\t}\n\n\tul,\n\tol {\n\t\tlist-style-position: inside;\n\t\tpadding-left: 10px;\n\n\t}\n\n\tli{\n\t\tdisplay: list-item;\n\t\tcursor: default;\n\t\tpadding: initial;\n\n\t\t&:hover{\n\t\t\tbackground-color: initial;\n\t\t}\n\t}\n\tp {\n\t\tmargin: inherit;\n\t}\n";
26616
+ props.isSender ? props.themePreset !== 'dark' ? props.theme.colors.primaryTextColor : props.theme.colors.textColor : props.theme.colors.primaryTextColor) + ";\n\t\ttext-shadow: none;\n\t}\n\n\tul,\n\tol {\n\t\tlist-style-position: inside;\n\t\tpadding-left: 10px;\n\n\t}\n\n\tli{\n\t\tdisplay: list-item;\n\t\tcursor: default;\n\t\tpadding: initial;\n\n\t\t&:hover{\n\t\t\tbackground-color: initial;\n\t\t}\n\t}\n\tp {\n\t\tmargin: inherit;\n\t}\n\n\t" + (props.themePreset === 'dark' && "a{\n\t\tcolor: cornflowerblue\n\t\t}") + ";\n";
26576
26617
  };
26577
26618
  var messageBGColor = function messageBGColor(props) {
26578
26619
  var finalBGColor;
@@ -26601,16 +26642,10 @@
26601
26642
  return resetCSS(props);
26602
26643
  });
26603
26644
  var MessageInputContainer = styled('form')(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tpadding-top: 12px;\n\talign-items: stretch;\n\tmargin-top: 10px;\n\t.ai-enter-button-wrapper {\n\t\talign-self: baseline;\n\t\theight: 41px;\n\t}\n"])));
26604
- var MessageInput = styled(TextArea)(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n\twidth: 100%;\n\tborder-radius: 5px;\n\tborder: 1px solid #ccc;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\n\t::placeholder {\n\t\tcolor: ", ";\n\t}\n\n\t:-ms-input-placeholder {\n\t\tcolor: ", ";\n\t}\n\n\t::-ms-input-placeholder {\n\t\tcolor: ", ";\n\t}\n\t", "\n\tpadding-left: 35px;\n"])), function (props) {
26645
+ var MessageInput = styled(TextArea)(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n\twidth: 100%;\n\tborder-radius: 5px;\n\tborder: 1px solid #ccc;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\n\t", "\n\tpadding-left: 35px;\n"])), function (props) {
26605
26646
  return props.themePreset === 'dark' ? props.theme.colors.borderColor : '#fff';
26606
26647
  }, function (props) {
26607
26648
  return props.themePreset === 'dark' ? props.theme.colors.titleColor : props.theme.colors.textColor;
26608
- }, function (props) {
26609
- return props.theme.colors.textColor;
26610
- }, function (props) {
26611
- return props.theme.colors.textColor;
26612
- }, function (props) {
26613
- return props.theme.colors.textColor;
26614
26649
  }, function (_ref) {
26615
26650
  var enterButton = _ref.enterButton;
26616
26651
  return enterButton && "\n\t\t border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n\t";
@@ -26815,6 +26850,42 @@
26815
26850
  }
26816
26851
  });
26817
26852
 
26853
+ // eslint-disable-next-line import/prefer-default-export
26854
+ var innerText = function innerText(jsx) {
26855
+ // Empty
26856
+ if (jsx === null || typeof jsx === 'boolean' || typeof jsx === 'undefined') {
26857
+ return '';
26858
+ }
26859
+
26860
+ // Numeric children.
26861
+ if (typeof jsx === 'number') {
26862
+ return jsx.toString();
26863
+ }
26864
+
26865
+ // String literals.
26866
+ if (typeof jsx === 'string') {
26867
+ return jsx;
26868
+ }
26869
+
26870
+ // Array of JSX.
26871
+ if (Array.isArray(jsx)) {
26872
+ // eslint-disable-next-line no-use-before-define
26873
+ return jsx.reduce(reduceJsxToString, '');
26874
+ }
26875
+
26876
+ // Children prop.
26877
+ if (Object.prototype.hasOwnProperty.call(jsx, 'children')) {
26878
+ return innerText(jsx.children);
26879
+ }
26880
+
26881
+ // Default
26882
+ return '';
26883
+ };
26884
+ innerText["default"] = innerText;
26885
+ function reduceJsxToString(previous, current) {
26886
+ return previous + innerText(current);
26887
+ }
26888
+
26818
26889
  var _excluded$1 = ["_source"];
26819
26890
  function _isSlot$5(s) {
26820
26891
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
@@ -26855,7 +26926,8 @@
26855
26926
  showFeedbackComponent: false,
26856
26927
  feedbackState: null,
26857
26928
  faqAnswer: '',
26858
- faqQuestion: ''
26929
+ faqQuestion: '',
26930
+ initialHits: null
26859
26931
  };
26860
26932
  this.internalComponent = props.componentId + "__internal";
26861
26933
  return this.__state;
@@ -26907,11 +26979,12 @@
26907
26979
  return this.faqAnswer || this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.text;
26908
26980
  },
26909
26981
  parsedSuggestions: function parsedSuggestions() {
26982
+ var _this = this;
26910
26983
  var suggestionsArray = [];
26911
26984
  if (Array.isArray(this.suggestions) && this.suggestions.length) {
26912
26985
  suggestionsArray = [].concat(withClickIds(this.suggestions));
26913
26986
  }
26914
- if (this.renderTriggerMessage() && this.currentValue && !this.isLoading) {
26987
+ if (this.renderTriggerMessage() && this.currentValue) {
26915
26988
  suggestionsArray.unshift({
26916
26989
  label: this.renderTriggerMessage(),
26917
26990
  value: 'AI_TRIGGER_MESSAGE',
@@ -26925,6 +26998,20 @@
26925
26998
  return _extends({}, s, {
26926
26999
  sectionId: s._suggestion_type
26927
27000
  });
27001
+ }).map(function (suggestion) {
27002
+ if (suggestion._suggestion_type === helper_16.Document) {
27003
+ // Document suggestions don't have a meaningful label and value
27004
+ var newSuggestion = _extends({}, suggestion);
27005
+ newSuggestion.label = 'For document suggestions, please implement a renderItem method to display label.';
27006
+ var renderItem = _this.$slots.renderItem || _this.$props.renderItem;
27007
+ if (typeof renderItem === 'function') {
27008
+ var jsxEl = renderItem(newSuggestion);
27009
+ var innerValue = innerText(jsxEl);
27010
+ newSuggestion.value = lib$2(innerValue);
27011
+ }
27012
+ return newSuggestion;
27013
+ }
27014
+ return suggestion;
26928
27015
  });
26929
27016
  var sectionsAccumulated = [];
26930
27017
  var sectionisedSuggestions = suggestionsArray.reduce(function (acc, d, currentIndex) {
@@ -26973,6 +27060,12 @@
26973
27060
  enablePopularSuggestions: Q.bool.def(false),
26974
27061
  enableRecentSuggestions: Q.bool.def(false),
26975
27062
  enableFAQSuggestions: Q.bool.def(false),
27063
+ enableDocumentSuggestions: Q.bool.def(false),
27064
+ documentSuggestionsConfig: Q.shape({
27065
+ size: Q.number,
27066
+ from: Q.number,
27067
+ maxChars: Q.number
27068
+ }),
26976
27069
  FAQSuggestionsConfig: Q.shape({
26977
27070
  sectionLabel: Q.string,
26978
27071
  size: Q.number
@@ -27041,9 +27134,47 @@
27041
27134
  AIUIConfig: types.AIUIConfig
27042
27135
  },
27043
27136
  mounted: function mounted() {
27137
+ var _this2 = this;
27044
27138
  this.listenForFocusShortcuts();
27139
+ var dropdownEle = this.$refs[_dropdownULRef];
27140
+ if (dropdownEle) {
27141
+ var handleScroll = function handleScroll() {
27142
+ var scrollTop = dropdownEle.scrollTop;
27143
+ _this2.lastScrollTop = scrollTop;
27144
+ if (scrollTop < _this2.lastScrollTop) {
27145
+ // User is scrolling up
27146
+ clearInterval(_this2.scrollTimerRef);
27147
+ _this2.isUserScrolling = true;
27148
+ }
27149
+ // Update lastScrollTop with the current scroll position
27150
+ _this2.lastScrollTop = scrollTop;
27151
+ };
27152
+ dropdownEle.addEventListener('scroll', handleScroll);
27153
+ }
27154
+ },
27155
+ updated: function updated() {
27156
+ if (this.$props.mode === constants_5$1.SELECT && this.$options.isTagsMode === true) {
27157
+ this.$options.isTagsMode = false;
27158
+ this.selectedTags = [];
27159
+ } else if (this.$props.mode === constants_5$1.TAG && this.$options.isTagsMode === false) {
27160
+ this.$options.isTagsMode = true;
27161
+ }
27045
27162
  },
27046
27163
  watch: {
27164
+ AIResponse: function AIResponse(newVal) {
27165
+ if (newVal) {
27166
+ if (this.$props.AIUIConfig && this.$props.AIUIConfig.showSourceDocuments && newVal.response && newVal.response.answer && Array.isArray(newVal.response.answer.documentIds)) {
27167
+ this.sourceDocIds = newVal.response.answer.documentIds;
27168
+ var localCache = helper_2(constants_8$1) && helper_2(constants_8$1)[this.$props.componentId];
27169
+ if (localCache && localCache.meta && localCache.meta.hits && localCache.meta.hits.hits) {
27170
+ this.initialHits = localCache.meta.hits.hits;
27171
+ }
27172
+ if (!this.showAIScreenFooter) {
27173
+ this.showAIScreenFooter = true;
27174
+ }
27175
+ }
27176
+ }
27177
+ },
27047
27178
  dataField: function dataField(newVal, oldVal) {
27048
27179
  if (!isEqual$4(newVal, oldVal)) {
27049
27180
  this.triggerCustomQuery(this.$data.currentValue);
@@ -27118,6 +27249,9 @@
27118
27249
  loading: this.isLoading,
27119
27250
  error: this.isError
27120
27251
  });
27252
+ if (newVal && newVal.hits && newVal.hits.hits) {
27253
+ this.initialHits = newVal.hits.hits;
27254
+ }
27121
27255
  },
27122
27256
  aggregationData: function aggregationData(newVal) {
27123
27257
  this.$emit('on-data', {
@@ -27152,9 +27286,10 @@
27152
27286
  }
27153
27287
  },
27154
27288
  isAITyping: function isAITyping(newVal, oldVal) {
27155
- var _this = this;
27289
+ var _this3 = this;
27156
27290
  var scrollAIContainer = function scrollAIContainer() {
27157
- var dropdownEle = _this.$refs[_dropdownULRef];
27291
+ if (_this3.isUserScrolling) return;
27292
+ var dropdownEle = _this3.$refs[_dropdownULRef];
27158
27293
  if (dropdownEle) {
27159
27294
  dropdownEle.scrollTo({
27160
27295
  top: dropdownEle.scrollHeight,
@@ -27163,6 +27298,7 @@
27163
27298
  }
27164
27299
  };
27165
27300
  if (!newVal && oldVal) {
27301
+ clearInterval(this.scrollTimerRef);
27166
27302
  this.showAIScreenFooter = true;
27167
27303
  if (this.$props.AIUIConfig && typeof this.$props.AIUIConfig.showFeedback === 'boolean' ? this.$props.AIUIConfig.showFeedback : true) {
27168
27304
  this.showFeedbackComponent = true;
@@ -27171,7 +27307,7 @@
27171
27307
  scrollAIContainer();
27172
27308
  }, 500);
27173
27309
  } else if (newVal) {
27174
- this.scrollTimerRef = setTimeout(function () {
27310
+ this.scrollTimerRef = setInterval(function () {
27175
27311
  scrollAIContainer();
27176
27312
  }, 2000);
27177
27313
  }
@@ -27188,7 +27324,7 @@
27188
27324
  }
27189
27325
  },
27190
27326
  currentValue: function currentValue() {
27191
- this.handleTextAreaHeightChange();
27327
+ this.$nextTick(this.handleTextAreaHeightChange);
27192
27328
  }
27193
27329
  },
27194
27330
  methods: {
@@ -27263,7 +27399,7 @@
27263
27399
  }
27264
27400
  },
27265
27401
  setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen, categoryValue, shouldExecuteQuery) {
27266
- var _this2 = this;
27402
+ var _this4 = this;
27267
27403
  if (isDefaultValue === void 0) {
27268
27404
  isDefaultValue = false;
27269
27405
  }
@@ -27280,65 +27416,65 @@
27280
27416
  shouldExecuteQuery = true;
27281
27417
  }
27282
27418
  var performUpdate = function performUpdate() {
27283
- if (_this2.$options.isTagsMode && isEqual$4(value, _this2.selectedTags)) {
27419
+ if (_this4.$options.isTagsMode && isEqual$4(value, _this4.selectedTags)) {
27284
27420
  return;
27285
27421
  }
27286
- if (_this2.$options.isTagsMode && cause === lib_7.SUGGESTION_SELECT) {
27287
- if (Array.isArray(_this2.selectedTags) && _this2.selectedTags.length) {
27422
+ if (_this4.$options.isTagsMode && cause === lib_7.SUGGESTION_SELECT) {
27423
+ if (Array.isArray(_this4.selectedTags) && _this4.selectedTags.length) {
27288
27424
  // check if value already present in selectedTags
27289
- if (typeof value === 'string' && _this2.selectedTags.includes(value)) {
27290
- _this2.isOpen = false;
27425
+ if (typeof value === 'string' && _this4.selectedTags.includes(value)) {
27426
+ _this4.isOpen = false;
27291
27427
  return;
27292
27428
  }
27293
- _this2.selectedTags = [].concat(_this2.selectedTags);
27429
+ _this4.selectedTags = [].concat(_this4.selectedTags);
27294
27430
  if (typeof value === 'string' && !!value) {
27295
- _this2.selectedTags.push(value);
27296
- } else if (Array.isArray(value) && !isEqual$4(_this2.selectedTags, value)) {
27297
- _this2.selectedTags = value;
27431
+ _this4.selectedTags.push(value);
27432
+ } else if (Array.isArray(value) && !isEqual$4(_this4.selectedTags, value)) {
27433
+ _this4.selectedTags = value;
27298
27434
  }
27299
27435
  } else if (value) {
27300
- _this2.selectedTags = typeof value !== 'string' ? value : [].concat(value);
27436
+ _this4.selectedTags = typeof value !== 'string' ? value : [].concat(value);
27301
27437
  }
27302
- _this2.currentValue = '';
27438
+ _this4.currentValue = '';
27303
27439
  } else {
27304
- _this2.currentValue = decodeHtml(value);
27440
+ _this4.currentValue = decodeHtml(value);
27305
27441
  }
27306
27442
  var queryHandlerValue = value;
27307
- if (_this2.$options.isTagsMode && cause === lib_7.SUGGESTION_SELECT) {
27308
- queryHandlerValue = Array.isArray(_this2.selectedTags) && _this2.selectedTags.length ? _this2.selectedTags : undefined;
27443
+ if (_this4.$options.isTagsMode && cause === lib_7.SUGGESTION_SELECT) {
27444
+ queryHandlerValue = Array.isArray(_this4.selectedTags) && _this4.selectedTags.length ? _this4.selectedTags : undefined;
27309
27445
  }
27310
- if ((_this2.faqAnswer || _this2.faqQuestion) && value === '') {
27446
+ if ((_this4.faqAnswer || _this4.faqQuestion) && value === '') {
27311
27447
  // Empty the previous state
27312
- _this2.faqAnswer = '';
27313
- _this2.faqQuestion = '';
27314
- _this2.showAIScreen = false;
27448
+ _this4.faqAnswer = '';
27449
+ _this4.faqQuestion = '';
27450
+ _this4.showAIScreen = false;
27315
27451
  }
27316
27452
  if (isDefaultValue) {
27317
- if (_this2.$props.autosuggest) {
27453
+ if (_this4.$props.autosuggest) {
27318
27454
  if (toggleIsOpen) {
27319
- _this2.isOpen = false;
27455
+ _this4.isOpen = false;
27320
27456
  }
27321
- if (typeof _this2.currentValue === 'string') _this2.triggerDefaultQuery(_this2.currentValue, props.enableAI && _this2.currentTriggerMode === constants_9$1.QUESTION && _this2.currentValue.endsWith('?') ? {
27457
+ if (typeof _this4.currentValue === 'string') _this4.triggerDefaultQuery(_this4.currentValue, props.enableAI && _this4.currentTriggerMode === constants_9$1.QUESTION && _this4.currentValue.endsWith('?') ? {
27322
27458
  enableAI: true
27323
27459
  } : {}, shouldExecuteQuery);
27324
27460
  } // in case of strict selection only SUGGESTION_SELECT should be able
27325
27461
  // to set the query otherwise the value should reset
27326
27462
  if (props.strictSelection) {
27327
- if (cause === lib_7.SUGGESTION_SELECT || (_this2.$options.isTagsMode ? _this2.selectedTags.length === 0 : value === '')) {
27328
- _this2.triggerCustomQuery(queryHandlerValue, _this2.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
27463
+ if (cause === lib_7.SUGGESTION_SELECT || (_this4.$options.isTagsMode ? _this4.selectedTags.length === 0 : value === '')) {
27464
+ _this4.triggerCustomQuery(queryHandlerValue, _this4.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
27329
27465
  } else {
27330
- _this2.setValue('', true);
27466
+ _this4.setValue('', true);
27331
27467
  }
27332
27468
  } else if (props.value === undefined || cause === lib_7.SUGGESTION_SELECT || cause === lib_7.CLEAR_VALUE) {
27333
- _this2.showAIScreen = false;
27334
- _this2.triggerCustomQuery(queryHandlerValue, _this2.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
27469
+ _this4.showAIScreen = false;
27470
+ _this4.triggerCustomQuery(queryHandlerValue, _this4.$options.isTagsMode ? undefined : categoryValue, shouldExecuteQuery);
27335
27471
  }
27336
27472
  } else {
27337
27473
  // debounce for handling text while typing
27338
- _this2.handleTextChange(value, cause);
27474
+ _this4.handleTextChange(value, cause);
27339
27475
  }
27340
- _this2.$emit('valueChange', value);
27341
- _this2.$emit('value-change', value);
27476
+ _this4.$emit('valueChange', value);
27477
+ _this4.$emit('value-change', value);
27342
27478
  };
27343
27479
  checkValueChange(props.componentId, value, props.beforeValueChange, performUpdate);
27344
27480
  },
@@ -27487,7 +27623,7 @@
27487
27623
  this.$emit('key-down', event, this.triggerQuery);
27488
27624
  },
27489
27625
  onInputChange: function onInputChange(e) {
27490
- var _this3 = this;
27626
+ var _this5 = this;
27491
27627
  var inputValue = e.target.value;
27492
27628
  if (!this.$data.isOpen && this.$props.autosuggest) {
27493
27629
  this.isOpen = true;
@@ -27501,7 +27637,7 @@
27501
27637
  } else {
27502
27638
  this.$emit('change', inputValue, function (_ref3) {
27503
27639
  var isOpen = _ref3.isOpen;
27504
- return _this3.triggerQuery({
27640
+ return _this5.triggerQuery({
27505
27641
  defaultQuery: true,
27506
27642
  customQuery: true,
27507
27643
  value: inputValue,
@@ -27545,7 +27681,7 @@
27545
27681
  }
27546
27682
  },
27547
27683
  onSuggestionSelected: function onSuggestionSelected(suggestion) {
27548
- var _this4 = this;
27684
+ var _this6 = this;
27549
27685
  var value = this.$props.value;
27550
27686
  // The state of the suggestion is open by the time it reaches here. i.e. isOpen = true
27551
27687
  // handle when FAQ suggestion is clicked
@@ -27594,10 +27730,10 @@
27594
27730
  this.setValue(emitValue, true, this.$props, lib_7.SUGGESTION_SELECT, false, suggestion._category);
27595
27731
  this.$emit('change', emitValue, function (_ref4) {
27596
27732
  var isOpen = _ref4.isOpen;
27597
- return _this4.triggerQuery(_extends({
27733
+ return _this6.triggerQuery(_extends({
27598
27734
  isOpen: isOpen,
27599
27735
  value: emitValue
27600
- }, !_this4.$options.isTagsMode && {
27736
+ }, !_this6.$options.isTagsMode && {
27601
27737
  categoryValue: suggestion._category
27602
27738
  }));
27603
27739
  });
@@ -27637,7 +27773,7 @@
27637
27773
  return null;
27638
27774
  },
27639
27775
  renderErrorComponent: function renderErrorComponent(isAIError) {
27640
- var _this5 = this;
27776
+ var _this7 = this;
27641
27777
  if (isAIError === void 0) {
27642
27778
  isAIError = false;
27643
27779
  }
@@ -27664,7 +27800,7 @@
27664
27800
  "themePreset": this.themePreset
27665
27801
  }, {
27666
27802
  "default": function _default() {
27667
- return [isFunction(renderError) ? renderError(_this5.error) : renderError];
27803
+ return [isFunction(renderError) ? renderError(_this7.error) : renderError];
27668
27804
  }
27669
27805
  });
27670
27806
  }
@@ -27744,7 +27880,7 @@
27744
27880
  });
27745
27881
  },
27746
27882
  renderEnterButtonElement: function renderEnterButtonElement() {
27747
- var _this6 = this;
27883
+ var _this8 = this;
27748
27884
  var _this$$props2 = this.$props,
27749
27885
  enterButton = _this$$props2.enterButton,
27750
27886
  innerClass = _this$$props2.innerClass;
@@ -27752,12 +27888,12 @@
27752
27888
  if (enterButton) {
27753
27889
  var getEnterButtonMarkup = function getEnterButtonMarkup() {
27754
27890
  if (renderEnterButton) {
27755
- return renderEnterButton(_this6.enterButtonOnClick);
27891
+ return renderEnterButton(_this8.enterButtonOnClick);
27756
27892
  }
27757
27893
  return vue.createVNode(Button, {
27758
27894
  "class": "enter-btn " + getClassName$3(innerClass, 'enter-button'),
27759
27895
  "primary": true,
27760
- "onClick": _this6.enterButtonOnClick
27896
+ "onClick": _this8.enterButtonOnClick
27761
27897
  }, {
27762
27898
  "default": function _default() {
27763
27899
  return [vue.createTextVNode("Search")];
@@ -27783,7 +27919,7 @@
27783
27919
  return '/';
27784
27920
  },
27785
27921
  renderLeftIcons: function renderLeftIcons() {
27786
- var _this7 = this;
27922
+ var _this9 = this;
27787
27923
  var _slot3;
27788
27924
  var _this$$props3 = this.$props,
27789
27925
  iconPosition = _this$$props3.iconPosition,
@@ -27793,8 +27929,8 @@
27793
27929
  }, {
27794
27930
  "default": function _default() {
27795
27931
  return [iconPosition === 'left' && showIcon && vue.createVNode(IconWrapper, {
27796
- "onClick": _this7.handleSearchIconClick
27797
- }, _isSlot$5(_slot3 = _this7.renderIcon()) ? _slot3 : {
27932
+ "onClick": _this9.handleSearchIconClick
27933
+ }, _isSlot$5(_slot3 = _this9.renderIcon()) ? _slot3 : {
27798
27934
  "default": function _default() {
27799
27935
  return [_slot3];
27800
27936
  }
@@ -27803,7 +27939,7 @@
27803
27939
  })]);
27804
27940
  },
27805
27941
  renderRightIcons: function renderRightIcons() {
27806
- var _this8 = this;
27942
+ var _this10 = this;
27807
27943
  var _slot4, _slot5, _slot6;
27808
27944
  var _this$$props4 = this.$props,
27809
27945
  iconPosition = _this$$props4.iconPosition,
@@ -27820,29 +27956,29 @@
27820
27956
  }, {
27821
27957
  "default": function _default() {
27822
27958
  return [currentValue && showClear && vue.createVNode(IconWrapper, {
27823
- "onClick": _this8.clearValue,
27959
+ "onClick": _this10.clearValue,
27824
27960
  "showIcon": showIcon,
27825
27961
  "isClearIcon": true
27826
- }, _isSlot$5(_slot4 = _this8.renderCancelIcon()) ? _slot4 : {
27962
+ }, _isSlot$5(_slot4 = _this10.renderCancelIcon()) ? _slot4 : {
27827
27963
  "default": function _default() {
27828
27964
  return [_slot4];
27829
27965
  }
27830
27966
  }), showFocusShortcutsIcon && vue.createVNode(ButtonIconWrapper, {
27831
27967
  "onClick": function onClick(e) {
27832
- return _this8.focusSearchBox(e);
27968
+ return _this10.focusSearchBox(e);
27833
27969
  }
27834
- }, _isSlot$5(_slot5 = _this8.renderShortcut()) ? _slot5 : {
27970
+ }, _isSlot$5(_slot5 = _this10.renderShortcut()) ? _slot5 : {
27835
27971
  "default": function _default() {
27836
27972
  return [_slot5];
27837
27973
  }
27838
27974
  }), showVoiceSearch && vue.createVNode(Mic, {
27839
27975
  "getInstance": getMicInstance,
27840
27976
  "render": renderMic,
27841
- "handleResult": _this8.handleVoiceResults,
27977
+ "handleResult": _this10.handleVoiceResults,
27842
27978
  "className": getClassName$3(innerClass, 'mic') || null
27843
27979
  }, null), iconPosition === 'right' && showIcon && vue.createVNode(IconWrapper, {
27844
- "onClick": _this8.handleSearchIconClick
27845
- }, _isSlot$5(_slot6 = _this8.renderIcon()) ? _slot6 : {
27980
+ "onClick": _this10.handleSearchIconClick
27981
+ }, _isSlot$5(_slot6 = _this10.renderIcon()) ? _slot6 : {
27846
27982
  "default": function _default() {
27847
27983
  return [_slot6];
27848
27984
  }
@@ -27861,7 +27997,7 @@
27861
27997
  (_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
27862
27998
  },
27863
27999
  listenForFocusShortcuts: function listenForFocusShortcuts() {
27864
- var _this9 = this;
28000
+ var _this11 = this;
27865
28001
  var _this$$props$focusSho = this.$props.focusShortcuts,
27866
28002
  focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
27867
28003
  if (isEmpty(focusShortcuts)) {
@@ -27876,7 +28012,7 @@
27876
28012
  function (event, handler) {
27877
28013
  // Prevent the default refresh event under WINDOWS system
27878
28014
  event.preventDefault();
27879
- _this9.focusSearchBox(event);
28015
+ _this11.focusSearchBox(event);
27880
28016
  });
27881
28017
 
27882
28018
  // if one of modifier keys are used, they are handled below
@@ -27886,7 +28022,7 @@
27886
28022
  for (var index = 0; index < modifierKeys.length; index += 1) {
27887
28023
  var element = modifierKeys[index];
27888
28024
  if (hotkeys[element]) {
27889
- _this9.focusSearchBox(event);
28025
+ _this11.focusSearchBox(event);
27890
28026
  break;
27891
28027
  }
27892
28028
  }
@@ -27899,10 +28035,10 @@
27899
28035
  this.triggerDefaultQuery(value);
27900
28036
  },
27901
28037
  renderActionIcon: function renderActionIcon(suggestion) {
27902
- var _this10 = this;
28038
+ var _this12 = this;
27903
28039
  var handleAutoFillClick = function handleAutoFillClick(e) {
27904
28040
  e.stopPropagation();
27905
- _this10.onAutofillClick(suggestion);
28041
+ _this12.onAutofillClick(suggestion);
27906
28042
  };
27907
28043
  if (suggestion._suggestion_type === helper_16.Featured) {
27908
28044
  if (suggestion.action === helper_15.FUNCTION) {
@@ -27925,7 +28061,7 @@
27925
28061
  return null;
27926
28062
  },
27927
28063
  renderTag: function renderTag(item) {
27928
- var _this11 = this;
28064
+ var _this13 = this;
27929
28065
  var innerClass = this.$props.innerClass;
27930
28066
  return vue.createVNode(TagItem, {
27931
28067
  "class": getClassName$3(innerClass, 'selected-tag') || ''
@@ -27936,7 +28072,7 @@
27936
28072
  "aria-label": "delete-tag",
27937
28073
  "class": "close-icon",
27938
28074
  "onClick": function onClick() {
27939
- return _this11.clearTag(item);
28075
+ return _this13.clearTag(item);
27940
28076
  }
27941
28077
  }, [vue.createVNode(CancelSvg, null, null)])];
27942
28078
  }
@@ -27959,7 +28095,7 @@
27959
28095
  }
27960
28096
  },
27961
28097
  renderTags: function renderTags() {
27962
- var _this12 = this;
28098
+ var _this14 = this;
27963
28099
  if (!Array.isArray(this.selectedTags)) {
27964
28100
  return null;
27965
28101
  }
@@ -27973,16 +28109,16 @@
27973
28109
  }) : vue.createVNode(TagsContainer, null, {
27974
28110
  "default": function _default() {
27975
28111
  return [tagsList.map(function (item) {
27976
- return _this12.renderTag(item);
28112
+ return _this14.renderTag(item);
27977
28113
  }), shouldRenderClearAllTag && vue.createVNode(TagItem, {
27978
- "class": getClassName$3(_this12.$props.innerClass, 'selected-tag') || ''
28114
+ "class": getClassName$3(_this14.$props.innerClass, 'selected-tag') || ''
27979
28115
  }, {
27980
28116
  "default": function _default() {
27981
28117
  return [vue.createVNode("span", null, [vue.createTextVNode("Clear All")]), vue.createVNode("span", {
27982
28118
  "role": "img",
27983
28119
  "aria-label": "delete-tag",
27984
28120
  "class": "close-icon",
27985
- "onClick": _this12.clearAllTags
28121
+ "onClick": _this14.clearAllTags
27986
28122
  }, [vue.createVNode(CancelSvg, null, null)])];
27987
28123
  }
27988
28124
  })];
@@ -27990,13 +28126,13 @@
27990
28126
  });
27991
28127
  },
27992
28128
  getAISourceObjects: function getAISourceObjects() {
27993
- var localCache = helper_2(constants_8$1) && helper_2(constants_8$1)[this.componentId];
28129
+ var _this15 = this;
27994
28130
  var sourceObjects = [];
27995
28131
  if (!this.AIResponse) return sourceObjects;
27996
28132
  var docIds = this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.documentIds || [];
27997
- if (localCache && localCache.meta && localCache.meta.hits && localCache.meta.hits.hits) {
28133
+ if (this.initialHits) {
27998
28134
  docIds.forEach(function (id) {
27999
- var foundSourceObj = localCache.meta.hits.hits.find(function (hit) {
28135
+ var foundSourceObj = _this15.initialHits.find(function (hit) {
28000
28136
  return hit._id === id;
28001
28137
  }) || {};
28002
28138
  if (foundSourceObj) {
@@ -28030,31 +28166,31 @@
28030
28166
  },
28031
28167
  renderAIScreenFooter: function renderAIScreenFooter() {
28032
28168
  var _slot8;
28033
- var _this13 = this;
28169
+ var _this16 = this;
28034
28170
  var _this$$props$AIUIConf2 = this.$props.AIUIConfig,
28035
28171
  AIUIConfig = _this$$props$AIUIConf2 === void 0 ? {} : _this$$props$AIUIConf2;
28036
28172
  var _ref6 = AIUIConfig || {},
28037
28173
  _ref6$showSourceDocum = _ref6.showSourceDocuments,
28038
- showSourceDocuments = _ref6$showSourceDocum === void 0 ? true : _ref6$showSourceDocum,
28174
+ showSourceDocuments = _ref6$showSourceDocum === void 0 ? false : _ref6$showSourceDocum,
28039
28175
  _ref6$onSourceClick = _ref6.onSourceClick,
28040
28176
  onSourceClick = _ref6$onSourceClick === void 0 ? function () {} : _ref6$onSourceClick;
28041
28177
  var renderSourceDocumentLabel = function renderSourceDocumentLabel(sourceObj) {
28042
- if (_this13.$props.AIUIConfig && _this13.$props.AIUIConfig.renderSourceDocument) {
28043
- return _this13.$props.AIUIConfig.renderSourceDocument(sourceObj);
28178
+ if (_this16.$props.AIUIConfig && _this16.$props.AIUIConfig.renderSourceDocument) {
28179
+ return _this16.$props.AIUIConfig.renderSourceDocument(sourceObj);
28044
28180
  }
28045
- if (_this13.$slots.renderSourceDocument) {
28046
- return _this13.$slots.renderSourceDocument(sourceObj);
28181
+ if (_this16.$slots.renderSourceDocument) {
28182
+ return _this16.$slots.renderSourceDocument(sourceObj);
28047
28183
  }
28048
28184
  return sourceObj._id;
28049
28185
  };
28050
- return showSourceDocuments && this.showAIScreenFooter && this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.documentIds ? vue.createVNode(Footer, {
28186
+ return showSourceDocuments && this.showAIScreenFooter && this.AIResponse && this.AIResponse.response && this.AIResponse.response.answer && this.AIResponse.response.answer.documentIds && this.AIResponse.response.answer.documentIds.length ? vue.createVNode(Footer, {
28051
28187
  "themePreset": this.$props.themePreset
28052
28188
  }, {
28053
28189
  "default": function _default() {
28054
- return [vue.createTextVNode("Summary generated using the following sources:"), ' ', vue.createVNode(SourceTags, null, _isSlot$5(_slot8 = _this13.getAISourceObjects().map(function (el) {
28190
+ return [vue.createTextVNode("Summary generated using the following sources:"), ' ', vue.createVNode(SourceTags, null, _isSlot$5(_slot8 = _this16.getAISourceObjects().map(function (el) {
28055
28191
  var _slot7;
28056
28192
  return vue.createVNode(Button, {
28057
- "class": "--ai-source-tag " + (getClassName$3(_this13.$props.innerClass, 'ai-source-tag') || ''),
28193
+ "class": "--ai-source-tag " + (getClassName$3(_this16.$props.innerClass, 'ai-source-tag') || ''),
28058
28194
  "info": true,
28059
28195
  "onClick": function onClick() {
28060
28196
  return onSourceClick && onSourceClick(el);
@@ -28073,7 +28209,7 @@
28073
28209
  }) : null;
28074
28210
  },
28075
28211
  renderAIScreen: function renderAIScreen() {
28076
- var _this14 = this;
28212
+ var _this17 = this;
28077
28213
  var customAIRenderer = this.$props.renderAIAnswer || this.$slots.renderAIAnswer;
28078
28214
  if (customAIRenderer) {
28079
28215
  return customAIRenderer({
@@ -28097,11 +28233,11 @@
28097
28233
  "hideUI": this.isAIResponseLoading || this.isLoading || !this.sessionIdFromStore,
28098
28234
  "key": this.sessionIdFromStore,
28099
28235
  "onFeedbackSubmit": function onFeedbackSubmit(useful, reason) {
28100
- _this14.feedbackState = {
28236
+ _this17.feedbackState = {
28101
28237
  isRecorded: true,
28102
28238
  feedbackType: useful ? 'positive' : 'negative'
28103
28239
  };
28104
- _this14.recordAISessionUsefulness(_this14.sessionIdFromStore, {
28240
+ _this17.recordAISessionUsefulness(_this17.sessionIdFromStore, {
28105
28241
  useful: useful,
28106
28242
  reason: reason
28107
28243
  });
@@ -28136,7 +28272,7 @@
28136
28272
  });
28137
28273
  },
28138
28274
  renderAskButtonElement: function renderAskButtonElement() {
28139
- var _this15 = this;
28275
+ var _this18 = this;
28140
28276
  var _this$$props5 = this.$props,
28141
28277
  AIUIConfig = _this$$props5.AIUIConfig,
28142
28278
  innerClass = _this$$props5.innerClass;
@@ -28146,12 +28282,12 @@
28146
28282
  if (askButton) {
28147
28283
  var getEnterButtonMarkup = function getEnterButtonMarkup() {
28148
28284
  if (renderAskButton) {
28149
- return renderAskButton(_this15.askButtonOnClick);
28285
+ return renderAskButton(_this18.askButtonOnClick);
28150
28286
  }
28151
28287
  return vue.createVNode(Button, {
28152
28288
  "class": "enter-btn " + getClassName$3(innerClass, 'ask-button'),
28153
28289
  "info": true,
28154
- "onClick": _this15.askButtonOnClick
28290
+ "onClick": _this18.askButtonOnClick
28155
28291
  }, {
28156
28292
  "default": function _default() {
28157
28293
  return [vue.createTextVNode("Ask")];
@@ -28166,28 +28302,28 @@
28166
28302
  }
28167
28303
  },
28168
28304
  render: function render() {
28169
- var _this16 = this;
28305
+ var _this19 = this;
28170
28306
  var expandSuggestionsContainer = this.$props.expandSuggestionsContainer;
28171
28307
  var _this$$slots = this.$slots,
28172
28308
  recentSearchesIcon = _this$$slots.recentSearchesIcon,
28173
28309
  popularSearchesIcon = _this$$slots.popularSearchesIcon;
28174
- var hasSuggestions = Array.isArray(this.normalizedSuggestions) && this.normalizedSuggestions.length;
28310
+ var hasSuggestions = Array.isArray(this.parsedSuggestions) && this.parsedSuggestions.length;
28175
28311
  var renderItem = this.$slots.renderItem || this.$props.renderItem;
28176
28312
  return vue.createVNode(Container, {
28177
28313
  "class": this.$props.className
28178
28314
  }, {
28179
28315
  "default": function _default() {
28180
- return [_this16.$props.title && vue.createVNode(Title, {
28181
- "class": getClassName$3(_this16.$props.innerClass, 'title') || ''
28316
+ return [_this19.$props.title && vue.createVNode(Title, {
28317
+ "class": getClassName$3(_this19.$props.innerClass, 'title') || ''
28182
28318
  }, {
28183
28319
  "default": function _default() {
28184
- return [_this16.$props.title];
28320
+ return [_this19.$props.title];
28185
28321
  }
28186
- }), _this16.$props.autosuggest ? vue.createVNode(Downshift, {
28187
- "id": _this16.$props.componentId + "-downshift",
28188
- "handleChange": _this16.onSuggestionSelected,
28189
- "handleMouseup": _this16.handleStateChange,
28190
- "isOpen": _this16.$data.isOpen
28322
+ }), _this19.$props.autosuggest ? vue.createVNode(Downshift, {
28323
+ "id": _this19.$props.componentId + "-downshift",
28324
+ "handleChange": _this19.onSuggestionSelected,
28325
+ "handleMouseup": _this19.handleStateChange,
28326
+ "isOpen": _this19.$data.isOpen
28191
28327
  }, {
28192
28328
  "default": function _default(_ref8) {
28193
28329
  var getInputEvents = _ref8.getInputEvents,
@@ -28243,21 +28379,21 @@
28243
28379
  }
28244
28380
  };
28245
28381
  var indexOffset = 0;
28246
- return vue.createVNode("div", null, [_this16.hasCustomRenderer && _this16.getComponent({
28382
+ return vue.createVNode("div", null, [_this19.hasCustomRenderer && _this19.getComponent({
28247
28383
  isOpen: isOpen,
28248
28384
  getItemProps: getItemProps,
28249
28385
  getItemEvents: getItemEvents,
28250
28386
  highlightedIndex: highlightedIndex
28251
- }), _this16.renderErrorComponent(), !_this16.hasCustomRenderer && isOpen && hasSuggestions ? vue.createVNode("ul", {
28252
- "class": suggestions$1(_this16.themePreset, _this16.theme) + " " + getClassName$3(_this16.$props.innerClass, 'list') + " " + searchboxSuggestions(_this16.themePreset, _this16.theme) + "\n\t\t\t\t\t\t\t\t\t\t\t\t\t",
28387
+ }), _this19.renderErrorComponent(), !_this19.hasCustomRenderer && isOpen && hasSuggestions ? vue.createVNode("ul", {
28388
+ "class": suggestions$1(_this19.themePreset, _this19.theme) + " " + getClassName$3(_this19.$props.innerClass, 'list') + " " + searchboxSuggestions(_this19.themePreset, _this19.theme) + "\n\t\t\t\t\t\t\t\t\t\t\t\t\t",
28253
28389
  "ref": _dropdownULRef
28254
- }, [_this16.showAIScreen && vue.createVNode(SearchBoxAISection, {
28255
- "themePreset": _this16.$props.themePreset
28390
+ }, [_this19.showAIScreen && vue.createVNode(SearchBoxAISection, {
28391
+ "themePreset": _this19.$props.themePreset
28256
28392
  }, {
28257
28393
  "default": function _default() {
28258
- return [_this16.renderAIScreen(), ' ', _this16.renderErrorComponent(true)];
28394
+ return [_this19.renderAIScreen(), ' ', _this19.renderErrorComponent(true)];
28259
28395
  }
28260
- }), !_this16.showAIScreen && _this16.parsedSuggestions.map(function (item, itemIndex) {
28396
+ }), !_this19.showAIScreen && _this19.parsedSuggestions.map(function (item, itemIndex) {
28261
28397
  var index = indexOffset + itemIndex;
28262
28398
  if (Array.isArray(item)) {
28263
28399
  var sectionHtml = lib$2(item[0].sectionLabel);
@@ -28266,7 +28402,7 @@
28266
28402
  "key": "section-" + itemIndex,
28267
28403
  "class": "section-container"
28268
28404
  }, [sectionHtml ? vue.createVNode("div", {
28269
- "class": "section-header " + getClassName$3(_this16.$props.innerClass, 'section-label'),
28405
+ "class": "section-header " + getClassName$3(_this19.$props.innerClass, 'section-label'),
28270
28406
  "key": "" + item[0].sectionId,
28271
28407
  "innerHTML": sectionHtml
28272
28408
  }, null) : null, vue.createVNode("ul", {
@@ -28286,7 +28422,7 @@
28286
28422
  justifyContent: 'flex-start',
28287
28423
  alignItems: 'center'
28288
28424
  },
28289
- "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this16.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this16.$props.innerClass, 'suggestion-item'))
28425
+ "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this19.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this19.$props.innerClass, 'suggestion-item'))
28290
28426
  }), [renderItem(sectionItem)]);
28291
28427
  }
28292
28428
  if (sectionItem._suggestion_type === '_internal_a_i_trigger') {
@@ -28300,9 +28436,9 @@
28300
28436
  justifyContent: 'flex-start',
28301
28437
  alignItems: 'center'
28302
28438
  },
28303
- "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this16.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this16.$props.innerClass, 'suggestion-item'))
28439
+ "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this19.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this19.$props.innerClass, 'suggestion-item'))
28304
28440
  }), [vue.createVNode(SuggestionItem, {
28305
- "currentValue": _this16.currentValue,
28441
+ "currentValue": _this19.currentValue,
28306
28442
  "suggestion": sectionItem
28307
28443
  }, null)]);
28308
28444
  }
@@ -28316,7 +28452,7 @@
28316
28452
  justifyContent: 'flex-start',
28317
28453
  alignItems: 'center'
28318
28454
  },
28319
- "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this16.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this16.$props.innerClass, 'suggestion-item'))
28455
+ "class": "" + (highlightedIndex === index + sectionIndex ? "active-li-item " + getClassName$3(_this19.$props.innerClass, 'active-suggestion-item') : "li-item " + getClassName$3(_this19.$props.innerClass, 'suggestion-item'))
28320
28456
  }), [vue.createVNode("div", {
28321
28457
  "style": {
28322
28458
  padding: '0 10px 0 0',
@@ -28324,74 +28460,74 @@
28324
28460
  }
28325
28461
  }, [vue.createVNode(CustomSvg, {
28326
28462
  "key": sectionItem._suggestion_type + "-" + sectionIndex,
28327
- "className": getClassName$3(_this16.$props.innerClass, sectionItem._suggestion_type + "-search-icon") || null,
28463
+ "className": getClassName$3(_this19.$props.innerClass, sectionItem._suggestion_type + "-search-icon") || null,
28328
28464
  "icon": getIcon(sectionItem._suggestion_type, sectionItem, suggestionsHaveIcon),
28329
28465
  "type": sectionItem._suggestion_type + "-search-icon"
28330
28466
  }, null)]), vue.createVNode(SuggestionItem, {
28331
- "currentValue": _this16.currentValue,
28467
+ "currentValue": _this19.currentValue,
28332
28468
  "suggestion": sectionItem
28333
- }, null), _this16.renderActionIcon(sectionItem)]);
28469
+ }, null), _this19.renderActionIcon(sectionItem)]);
28334
28470
  })])]);
28335
28471
  }
28336
28472
  return vue.createVNode("div", null, [vue.createTextVNode("No suggestions")]);
28337
- }), !_this16.showAIScreen && _this16.parsedSuggestions.length && _this16.$props.showSuggestionsFooter ? _this16.suggestionsFooter() : null]) : _this16.renderNoSuggestions(_this16.normalizedSuggestions)]);
28473
+ }), !_this19.showAIScreen && _this19.parsedSuggestions.length && _this19.$props.showSuggestionsFooter ? _this19.suggestionsFooter() : null]) : _this19.renderNoSuggestions(_this19.normalizedSuggestions)]);
28338
28474
  };
28339
28475
  return vue.createVNode("div", {
28340
28476
  "class": suggestionsContainer
28341
28477
  }, [vue.createVNode(InputGroup, {
28342
28478
  "searchBox": true,
28343
28479
  "ref": _inputGroupRef,
28344
- "isOpen": _this16.$data.isOpen
28480
+ "isOpen": _this19.$data.isOpen
28345
28481
  }, {
28346
28482
  "default": function _default() {
28347
28483
  return [vue.createVNode(Actions, null, {
28348
28484
  "default": function _default() {
28349
- return [_this16.renderInputAddonBefore(), _this16.renderLeftIcons()];
28485
+ return [_this19.renderInputAddonBefore(), _this19.renderLeftIcons()];
28350
28486
  }
28351
28487
  }), vue.createVNode(InputWrapper, null, {
28352
28488
  "default": function _default() {
28353
28489
  return [vue.createVNode(TextArea, vue.mergeProps(babelHelperVueTransformOn(getInputEvents({
28354
- onInput: _this16.onInputChange,
28490
+ onInput: _this19.onInputChange,
28355
28491
  onBlur: function onBlur(e) {
28356
- _this16.$emit('blur', e, _this16.triggerQuery);
28492
+ _this19.$emit('blur', e, _this19.triggerQuery);
28357
28493
  },
28358
- onFocus: _this16.handleFocus,
28494
+ onFocus: _this19.handleFocus,
28359
28495
  onKeyPress: function onKeyPress(e) {
28360
- _this16.$emit('keyPress', e, _this16.triggerQuery);
28361
- _this16.$emit('key-press', e, _this16.triggerQuery);
28496
+ _this19.$emit('keyPress', e, _this19.triggerQuery);
28497
+ _this19.$emit('key-press', e, _this19.triggerQuery);
28362
28498
  },
28363
28499
  onKeyDown: function onKeyDown(e) {
28364
- return _this16.handleKeyDown(e, highlightedIndex);
28500
+ return _this19.handleKeyDown(e, highlightedIndex);
28365
28501
  },
28366
28502
  onKeyUp: function onKeyUp(e) {
28367
- _this16.$emit('keyUp', e, _this16.triggerQuery);
28368
- _this16.$emit('key-up', e, _this16.triggerQuery);
28503
+ _this19.$emit('keyUp', e, _this19.triggerQuery);
28504
+ _this19.$emit('key-up', e, _this19.triggerQuery);
28369
28505
  },
28370
28506
  onClick: function onClick() {
28371
28507
  setHighlightedIndex(null);
28372
28508
  }
28373
28509
  })), {
28374
28510
  "searchBox": true,
28375
- "isOpen": _this16.$data.isOpen,
28376
- "id": _this16.$props.componentId + "-input",
28377
- "ref": _this16.$props.innerRef,
28378
- "class": getClassName$3(_this16.$props.innerClass, 'input'),
28379
- "placeholder": _this16.$props.placeholder,
28380
- "autoFocus": _this16.$props.autoFocus
28511
+ "isOpen": _this19.$data.isOpen,
28512
+ "id": _this19.$props.componentId + "-input",
28513
+ "ref": _this19.$props.innerRef,
28514
+ "class": getClassName$3(_this19.$props.innerClass, 'input'),
28515
+ "placeholder": _this19.$props.placeholder,
28516
+ "autoFocus": _this19.$props.autoFocus
28381
28517
  }, getInputProps({
28382
- value: _this16.$data.currentValue === null ? '' : _this16.$data.currentValue
28518
+ value: _this19.$data.currentValue === null ? '' : _this19.$data.currentValue
28383
28519
  }), {
28384
- "themePreset": _this16.themePreset,
28520
+ "themePreset": _this19.themePreset,
28385
28521
  "autocomplete": "off"
28386
28522
  }), null), !expandSuggestionsContainer && renderSuggestionsDropdown()];
28387
28523
  }
28388
28524
  }), vue.createVNode(Actions, null, {
28389
28525
  "default": function _default() {
28390
- return [_this16.renderRightIcons(), _this16.renderInputAddonAfter(), _this16.renderAskButtonElement(), _this16.renderEnterButtonElement()];
28526
+ return [_this19.renderRightIcons(), _this19.renderInputAddonAfter(), _this19.renderAskButtonElement(), _this19.renderEnterButtonElement()];
28391
28527
  }
28392
28528
  })];
28393
28529
  }
28394
- }), expandSuggestionsContainer && renderSuggestionsDropdown(), _this16.renderTags()]);
28530
+ }), expandSuggestionsContainer && renderSuggestionsDropdown(), _this19.renderTags()]);
28395
28531
  }
28396
28532
  }) : vue.createVNode("div", {
28397
28533
  "class": suggestionsContainer
@@ -28402,43 +28538,43 @@
28402
28538
  "default": function _default() {
28403
28539
  return [vue.createVNode(Actions, null, {
28404
28540
  "default": function _default() {
28405
- return [_this16.renderInputAddonBefore(), _this16.renderLeftIcons()];
28541
+ return [_this19.renderInputAddonBefore(), _this19.renderLeftIcons()];
28406
28542
  }
28407
28543
  }), vue.createVNode(InputWrapper, null, {
28408
28544
  "default": function _default() {
28409
28545
  return [vue.createVNode(TextArea, vue.mergeProps(babelHelperVueTransformOn({
28410
28546
  blur: function blur(e) {
28411
- _this16.$emit('blur', e, _this16.triggerQuery);
28547
+ _this19.$emit('blur', e, _this19.triggerQuery);
28412
28548
  },
28413
28549
  keypress: function keypress(e) {
28414
- _this16.$emit('keyPress', e, _this16.triggerQuery);
28415
- _this16.$emit('key-press', e, _this16.triggerQuery);
28550
+ _this19.$emit('keyPress', e, _this19.triggerQuery);
28551
+ _this19.$emit('key-press', e, _this19.triggerQuery);
28416
28552
  },
28417
- input: _this16.onInputChange,
28553
+ input: _this19.onInputChange,
28418
28554
  focus: function focus(e) {
28419
- _this16.$emit('focus', e, _this16.triggerQuery);
28555
+ _this19.$emit('focus', e, _this19.triggerQuery);
28420
28556
  },
28421
- keydown: _this16.handleKeyDown,
28557
+ keydown: _this19.handleKeyDown,
28422
28558
  keyup: function keyup(e) {
28423
- _this16.$emit('keyUp', e, _this16.triggerQuery);
28424
- _this16.$emit('key-up', e, _this16.triggerQuery);
28559
+ _this19.$emit('keyUp', e, _this19.triggerQuery);
28560
+ _this19.$emit('key-up', e, _this19.triggerQuery);
28425
28561
  }
28426
28562
  }), {
28427
28563
  "searchBox": true,
28428
- "class": getClassName$3(_this16.$props.innerClass, 'input') || '',
28429
- "placeholder": _this16.$props.placeholder,
28430
- "autofocus": _this16.$props.autoFocus,
28431
- "value": _this16.$data.currentValue ? _this16.$data.currentValue : '',
28432
- "iconPosition": _this16.$props.iconPosition,
28433
- "showIcon": _this16.$props.showIcon,
28434
- "showClear": _this16.$props.showClear,
28435
- "ref": _this16.$props.innerRef,
28436
- "themePreset": _this16.themePreset
28564
+ "class": getClassName$3(_this19.$props.innerClass, 'input') || '',
28565
+ "placeholder": _this19.$props.placeholder,
28566
+ "autofocus": _this19.$props.autoFocus,
28567
+ "value": _this19.$data.currentValue ? _this19.$data.currentValue : '',
28568
+ "iconPosition": _this19.$props.iconPosition,
28569
+ "showIcon": _this19.$props.showIcon,
28570
+ "showClear": _this19.$props.showClear,
28571
+ "ref": _this19.$props.innerRef,
28572
+ "themePreset": _this19.themePreset
28437
28573
  }), null)];
28438
28574
  }
28439
28575
  }), vue.createVNode(Actions, null, {
28440
28576
  "default": function _default() {
28441
- return [_this16.renderRightIcons(), _this16.renderInputAddonAfter(), _this16.renderEnterButtonElement()];
28577
+ return [_this19.renderRightIcons(), _this19.renderInputAddonAfter(), _this19.renderEnterButtonElement()];
28442
28578
  }
28443
28579
  })];
28444
28580
  }
@@ -28653,12 +28789,14 @@
28653
28789
  message: response.error
28654
28790
  };
28655
28791
  }
28656
-
28657
28792
  // pushing message history so far
28658
28793
  if (messagesHistory && Array.isArray(messagesHistory)) {
28659
28794
  finalMessages.push.apply(finalMessages, messagesHistory.filter(function (msg) {
28660
28795
  return msg.role !== constants_7$1.SYSTEM;
28661
28796
  }));
28797
+ if (finalMessages[0].role === constants_7$1.USER) {
28798
+ finalMessages.shift();
28799
+ }
28662
28800
  } else if (response && response.answer && response.answer.text) {
28663
28801
  finalMessages.push({
28664
28802
  role: constants_7$1.ASSISTANT,
@@ -33816,9 +33954,9 @@
33816
33954
  return function () {
33817
33955
  var e = {
33818
33956
  388: function _(t, e) {
33819
- var n, r, i;
33957
+ var r, n, i;
33820
33958
  (function (o, a) {
33821
- r = [], n = a, i = "function" === typeof n ? n.apply(e, r) : n, void 0 === i || (t.exports = i);
33959
+ n = [], r = a, i = "function" === typeof r ? r.apply(e, n) : r, void 0 === i || (t.exports = i);
33822
33960
  })("undefined" !== typeof self && self, function () {
33823
33961
  function t() {
33824
33962
  var e = Object.getOwnPropertyDescriptor(document, "currentScript");
@@ -33827,8 +33965,8 @@
33827
33965
  try {
33828
33966
  throw new Error();
33829
33967
  } catch (f) {
33830
- var n,
33831
- r,
33968
+ var r,
33969
+ n,
33832
33970
  i,
33833
33971
  o = /.*at [^(]*\((.*):(.+):(.+)\)$/gi,
33834
33972
  a = /@([^@]*):(\d+):(\d+)\s*$/gi,
@@ -33837,7 +33975,7 @@
33837
33975
  u = s && s[2] || !1,
33838
33976
  c = document.location.href.replace(document.location.hash, ""),
33839
33977
  d = document.getElementsByTagName("script");
33840
- l === c && (n = document.documentElement.outerHTML, r = new RegExp("(?:[^\\n]+?\\n){0," + (u - 2) + "}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*", "i"), i = n.replace(r, "$1").trim());
33978
+ l === c && (r = document.documentElement.outerHTML, n = new RegExp("(?:[^\\n]+?\\n){0," + (u - 2) + "}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*", "i"), i = r.replace(n, "$1").trim());
33841
33979
  for (var h = 0; h < d.length; h++) {
33842
33980
  if ("interactive" === d[h].readyState) return d[h];
33843
33981
  if (d[h].src === l) return d[h];
@@ -33849,77 +33987,310 @@
33849
33987
  return t;
33850
33988
  });
33851
33989
  },
33990
+ 905: function _(t, e, r) {
33991
+
33992
+ r.r(e);
33993
+ var n = r(117),
33994
+ i = r.n(n),
33995
+ o = r(488),
33996
+ a = r.n(o),
33997
+ s = a()(i());
33998
+ s.push([t.id, ".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}", ""]), e["default"] = s;
33999
+ },
34000
+ 121: function _(t, e, r) {
34001
+
34002
+ r.r(e);
34003
+ var n = r(117),
34004
+ i = r.n(n),
34005
+ o = r(488),
34006
+ a = r.n(o),
34007
+ s = a()(i());
34008
+ s.push([t.id, ".vue-slider-marks{position:relative;width:100%;height:100%}.vue-slider-mark{position:absolute;z-index:1}.vue-slider-ltr .vue-slider-mark,.vue-slider-rtl .vue-slider-mark{width:0;height:100%;top:50%}.vue-slider-ltr .vue-slider-mark-step,.vue-slider-rtl .vue-slider-mark-step{top:0}.vue-slider-ltr .vue-slider-mark-label,.vue-slider-rtl .vue-slider-mark-label{top:100%;margin-top:10px}.vue-slider-ltr .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ltr .vue-slider-mark-step{left:0}.vue-slider-ltr .vue-slider-mark-label{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vue-slider-rtl .vue-slider-mark{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.vue-slider-rtl .vue-slider-mark-step{right:0}.vue-slider-rtl .vue-slider-mark-label{right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.vue-slider-btt .vue-slider-mark,.vue-slider-ttb .vue-slider-mark{width:100%;height:0;left:50%}.vue-slider-btt .vue-slider-mark-step,.vue-slider-ttb .vue-slider-mark-step{left:0}.vue-slider-btt .vue-slider-mark-label,.vue-slider-ttb .vue-slider-mark-label{left:100%;margin-left:10px}.vue-slider-btt .vue-slider-mark{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.vue-slider-btt .vue-slider-mark-step{top:0}.vue-slider-btt .vue-slider-mark-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-slider-ttb .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ttb .vue-slider-mark-step{bottom:0}.vue-slider-ttb .vue-slider-mark-label{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.vue-slider-mark-label,.vue-slider-mark-step{position:absolute}", ""]), e["default"] = s;
34009
+ },
34010
+ 207: function _(t, e, r) {
34011
+
34012
+ r.r(e);
34013
+ var n = r(117),
34014
+ i = r.n(n),
34015
+ o = r(488),
34016
+ a = r.n(o),
34017
+ s = a()(i());
34018
+ s.push([t.id, ".vue-slider{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.vue-slider-rail{position:relative;width:100%;height:100%;-webkit-transition-property:width,height,left,right,top,bottom;transition-property:width,height,left,right,top,bottom}.vue-slider-process{position:absolute;z-index:1}", ""]), e["default"] = s;
34019
+ },
34020
+ 488: function _(t) {
34021
+
34022
+ t.exports = function (t) {
34023
+ var e = [];
34024
+ return e.toString = function () {
34025
+ return this.map(function (e) {
34026
+ var r = "",
34027
+ n = "undefined" !== typeof e[5];
34028
+ return e[4] && (r += "@supports (".concat(e[4], ") {")), e[2] && (r += "@media ".concat(e[2], " {")), n && (r += "@layer".concat(e[5].length > 0 ? " ".concat(e[5]) : "", " {")), r += t(e), n && (r += "}"), e[2] && (r += "}"), e[4] && (r += "}"), r;
34029
+ }).join("");
34030
+ }, e.i = function (t, r, n, i, o) {
34031
+ "string" === typeof t && (t = [[null, t, void 0]]);
34032
+ var a = {};
34033
+ if (n) for (var s = 0; s < this.length; s++) {
34034
+ var l = this[s][0];
34035
+ null != l && (a[l] = !0);
34036
+ }
34037
+ for (var u = 0; u < t.length; u++) {
34038
+ var c = [].concat(t[u]);
34039
+ n && a[c[0]] || ("undefined" !== typeof o && ("undefined" === typeof c[5] || (c[1] = "@layer".concat(c[5].length > 0 ? " ".concat(c[5]) : "", " {").concat(c[1], "}")), c[5] = o), r && (c[2] ? (c[1] = "@media ".concat(c[2], " {").concat(c[1], "}"), c[2] = r) : c[2] = r), i && (c[4] ? (c[1] = "@supports (".concat(c[4], ") {").concat(c[1], "}"), c[4] = i) : c[4] = "".concat(i)), e.push(c));
34040
+ }
34041
+ }, e;
34042
+ };
34043
+ },
34044
+ 117: function _(t) {
34045
+
34046
+ t.exports = function (t) {
34047
+ return t[1];
34048
+ };
34049
+ },
33852
34050
  831: function _(t, e) {
33853
34051
 
33854
34052
  e.Z = function (t, e) {
33855
- var n = t.__vccOpts || t;
34053
+ var r = t.__vccOpts || t;
33856
34054
  for (var _iterator = _createForOfIteratorHelperLoose(e), _step; !(_step = _iterator()).done;) {
33857
34055
  var _step$value = _step.value,
33858
- _r = _step$value[0],
34056
+ _n = _step$value[0],
33859
34057
  _i = _step$value[1];
33860
- n[_r] = _i;
34058
+ r[_n] = _i;
33861
34059
  }
33862
- return n;
34060
+ return r;
33863
34061
  };
33864
34062
  },
34063
+ 466: function _(t, e, r) {
34064
+ var n = r(905);
34065
+ n.__esModule && (n = n["default"]), "string" === typeof n && (n = [[t.id, n, ""]]), n.locals && (t.exports = n.locals);
34066
+ var i = r(959).Z;
34067
+ i("50bc1720", n, !0, {
34068
+ sourceMap: !1,
34069
+ shadowMode: !1
34070
+ });
34071
+ },
34072
+ 18: function _(t, e, r) {
34073
+ var n = r(121);
34074
+ n.__esModule && (n = n["default"]), "string" === typeof n && (n = [[t.id, n, ""]]), n.locals && (t.exports = n.locals);
34075
+ var i = r(959).Z;
34076
+ i("10aa5f36", n, !0, {
34077
+ sourceMap: !1,
34078
+ shadowMode: !1
34079
+ });
34080
+ },
34081
+ 631: function _(t, e, r) {
34082
+ var n = r(207);
34083
+ n.__esModule && (n = n["default"]), "string" === typeof n && (n = [[t.id, n, ""]]), n.locals && (t.exports = n.locals);
34084
+ var i = r(959).Z;
34085
+ i("1772934e", n, !0, {
34086
+ sourceMap: !1,
34087
+ shadowMode: !1
34088
+ });
34089
+ },
34090
+ 959: function _(t, e, r) {
34091
+
34092
+ function n(t, e) {
34093
+ for (var r = [], n = {}, i = 0; i < e.length; i++) {
34094
+ var o = e[i],
34095
+ a = o[0],
34096
+ s = o[1],
34097
+ l = o[2],
34098
+ u = o[3],
34099
+ c = {
34100
+ id: t + ":" + i,
34101
+ css: s,
34102
+ media: l,
34103
+ sourceMap: u
34104
+ };
34105
+ n[a] ? n[a].parts.push(c) : r.push(n[a] = {
34106
+ id: a,
34107
+ parts: [c]
34108
+ });
34109
+ }
34110
+ return r;
34111
+ }
34112
+ r.d(e, {
34113
+ Z: function Z() {
34114
+ return p;
34115
+ }
34116
+ });
34117
+ var i = "undefined" !== typeof document;
34118
+ if ("undefined" !== typeof DEBUG && DEBUG && !i) throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");
34119
+ var o = {},
34120
+ a = i && (document.head || document.getElementsByTagName("head")[0]),
34121
+ s = null,
34122
+ l = 0,
34123
+ u = !1,
34124
+ c = function c() {},
34125
+ d = null,
34126
+ h = "data-vue-ssr-id",
34127
+ f = "undefined" !== typeof navigator && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
34128
+ function p(t, e, r, i) {
34129
+ u = r, d = i || {};
34130
+ var a = n(t, e);
34131
+ return m(a), function (e) {
34132
+ for (var r = [], i = 0; i < a.length; i++) {
34133
+ var s = a[i],
34134
+ l = o[s.id];
34135
+ l.refs--, r.push(l);
34136
+ }
34137
+ e ? (a = n(t, e), m(a)) : a = [];
34138
+ for (i = 0; i < r.length; i++) {
34139
+ l = r[i];
34140
+ if (0 === l.refs) {
34141
+ for (var u = 0; u < l.parts.length; u++) l.parts[u]();
34142
+ delete o[l.id];
34143
+ }
34144
+ }
34145
+ };
34146
+ }
34147
+ function m(t) {
34148
+ for (var e = 0; e < t.length; e++) {
34149
+ var r = t[e],
34150
+ n = o[r.id];
34151
+ if (n) {
34152
+ n.refs++;
34153
+ for (var i = 0; i < n.parts.length; i++) n.parts[i](r.parts[i]);
34154
+ for (; i < r.parts.length; i++) n.parts.push(y(r.parts[i]));
34155
+ n.parts.length > r.parts.length && (n.parts.length = r.parts.length);
34156
+ } else {
34157
+ var a = [];
34158
+ for (i = 0; i < r.parts.length; i++) a.push(y(r.parts[i]));
34159
+ o[r.id] = {
34160
+ id: r.id,
34161
+ refs: 1,
34162
+ parts: a
34163
+ };
34164
+ }
34165
+ }
34166
+ }
34167
+ function v() {
34168
+ var t = document.createElement("style");
34169
+ return t.type = "text/css", a.appendChild(t), t;
34170
+ }
34171
+ function y(t) {
34172
+ var e,
34173
+ r,
34174
+ n = document.querySelector("style[" + h + '~="' + t.id + '"]');
34175
+ if (n) {
34176
+ if (u) return c;
34177
+ n.parentNode.removeChild(n);
34178
+ }
34179
+ if (f) {
34180
+ var i = l++;
34181
+ n = s || (s = v()), e = g.bind(null, n, i, !1), r = g.bind(null, n, i, !0);
34182
+ } else n = v(), e = k.bind(null, n), r = function r() {
34183
+ n.parentNode.removeChild(n);
34184
+ };
34185
+ return e(t), function (n) {
34186
+ if (n) {
34187
+ if (n.css === t.css && n.media === t.media && n.sourceMap === t.sourceMap) return;
34188
+ e(t = n);
34189
+ } else r();
34190
+ };
34191
+ }
34192
+ var b = function () {
34193
+ var t = [];
34194
+ return function (e, r) {
34195
+ return t[e] = r, t.filter(Boolean).join("\n");
34196
+ };
34197
+ }();
34198
+ function g(t, e, r, n) {
34199
+ var i = r ? "" : n.css;
34200
+ if (t.styleSheet) t.styleSheet.cssText = b(e, i);else {
34201
+ var o = document.createTextNode(i),
34202
+ a = t.childNodes;
34203
+ a[e] && t.removeChild(a[e]), a.length ? t.insertBefore(o, a[e]) : t.appendChild(o);
34204
+ }
34205
+ }
34206
+ function k(t, e) {
34207
+ var r = e.css,
34208
+ n = e.media,
34209
+ i = e.sourceMap;
34210
+ if (n && t.setAttribute("media", n), d.ssrId && t.setAttribute(h, e.id), i && (r += "\n/*# sourceURL=" + i.sources[0] + " */", r += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(i)))) + " */"), t.styleSheet) t.styleSheet.cssText = r;else {
34211
+ while (t.firstChild) t.removeChild(t.firstChild);
34212
+ t.appendChild(document.createTextNode(r));
34213
+ }
34214
+ }
34215
+ },
33865
34216
  927: function _(e) {
33866
34217
 
33867
34218
  e.exports = t;
33868
34219
  }
33869
34220
  },
33870
- n = {};
33871
- function r(t) {
33872
- var i = n[t];
34221
+ r = {};
34222
+ function n(t) {
34223
+ var i = r[t];
33873
34224
  if (void 0 !== i) return i.exports;
33874
- var o = n[t] = {
34225
+ var o = r[t] = {
34226
+ id: t,
33875
34227
  exports: {}
33876
34228
  };
33877
- return e[t].call(o.exports, o, o.exports, r), o.exports;
34229
+ return e[t].call(o.exports, o, o.exports, n), o.exports;
33878
34230
  }
33879
34231
  !function () {
33880
- r.d = function (t, e) {
33881
- for (var n in e) r.o(e, n) && !r.o(t, n) && Object.defineProperty(t, n, {
34232
+ n.n = function (t) {
34233
+ var e = t && t.__esModule ? function () {
34234
+ return t["default"];
34235
+ } : function () {
34236
+ return t;
34237
+ };
34238
+ return n.d(e, {
34239
+ a: e
34240
+ }), e;
34241
+ };
34242
+ }(), function () {
34243
+ n.d = function (t, e) {
34244
+ for (var r in e) n.o(e, r) && !n.o(t, r) && Object.defineProperty(t, r, {
33882
34245
  enumerable: !0,
33883
- get: e[n]
34246
+ get: e[r]
33884
34247
  });
33885
34248
  };
33886
34249
  }(), function () {
33887
- r.o = function (t, e) {
34250
+ n.o = function (t, e) {
33888
34251
  return Object.prototype.hasOwnProperty.call(t, e);
33889
34252
  };
33890
34253
  }(), function () {
33891
- r.p = "";
34254
+ n.r = function (t) {
34255
+ "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
34256
+ value: "Module"
34257
+ }), Object.defineProperty(t, "__esModule", {
34258
+ value: !0
34259
+ });
34260
+ };
34261
+ }(), function () {
34262
+ n.p = "";
33892
34263
  }();
33893
34264
  var i = {};
33894
34265
  return function () {
33895
34266
 
33896
- if (r.d(i, {
34267
+ if (n.d(i, {
33897
34268
  "default": function _default() {
33898
34269
  return St;
33899
34270
  }
33900
34271
  }), "undefined" !== typeof window) {
33901
34272
  var t = window.document.currentScript,
33902
- e = r(388);
34273
+ e = n(388);
33903
34274
  t = e(), "currentScript" in document || Object.defineProperty(document, "currentScript", {
33904
34275
  get: e
33905
34276
  });
33906
- var n = t && t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);
33907
- n && (r.p = n[1]);
34277
+ var r = t && t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);
34278
+ r && (n.p = r[1]);
33908
34279
  }
33909
- var o = r(927);
33910
- function a(t, e, n) {
34280
+ var o = n(927);
34281
+ function a(t, e, r) {
33911
34282
  return e in t ? Object.defineProperty(t, e, {
33912
- value: n,
34283
+ value: r,
33913
34284
  enumerable: !0,
33914
34285
  configurable: !0,
33915
34286
  writable: !0
33916
- }) : t[e] = n, t;
34287
+ }) : t[e] = r, t;
33917
34288
  }
33918
34289
  var s = {
33919
34290
  key: 0,
33920
34291
  "class": "vue-slider-marks"
33921
34292
  };
33922
- function l(t, e, n, r, i, l) {
34293
+ function l(t, e, r, n, i, l) {
33923
34294
  var u = (0, o.resolveComponent)("vue-slider-mark"),
33924
34295
  c = (0, o.resolveComponent)("vue-slider-dot");
33925
34296
  return (0, o.openBlock)(), (0, o.createElementBlock)("div", (0, o.mergeProps)({
@@ -33938,22 +34309,22 @@
33938
34309
  }, t.$attrs), [(0, o.createElementVNode)("div", {
33939
34310
  "class": "vue-slider-rail",
33940
34311
  style: (0, o.normalizeStyle)(t.railStyle)
33941
- }, [((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.processArray, function (e, n) {
34312
+ }, [((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.processArray, function (e, r) {
33942
34313
  return (0, o.renderSlot)(t.$slots, "process", (0, o.normalizeProps)((0, o.guardReactiveProps)(e)), function () {
33943
34314
  return [((0, o.openBlock)(), (0, o.createElementBlock)("div", {
33944
34315
  "class": "vue-slider-process",
33945
- key: "process-".concat(n),
34316
+ key: "process-".concat(r),
33946
34317
  style: (0, o.normalizeStyle)(e.style)
33947
34318
  }, null, 4))];
33948
34319
  });
33949
- }), 256)), t.sliderMarks && t.control ? ((0, o.openBlock)(), (0, o.createElementBlock)("div", s, [((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.control.markList, function (n, r) {
33950
- return (0, o.renderSlot)(t.$slots, "mark", (0, o.normalizeProps)((0, o.guardReactiveProps)(n)), function () {
34320
+ }), 256)), t.sliderMarks && t.control ? ((0, o.openBlock)(), (0, o.createElementBlock)("div", s, [((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.control.markList, function (r, n) {
34321
+ return (0, o.renderSlot)(t.$slots, "mark", (0, o.normalizeProps)((0, o.guardReactiveProps)(r)), function () {
33951
34322
  var i;
33952
34323
  return [((0, o.openBlock)(), (0, o.createBlock)(u, {
33953
- key: "mark-".concat(r),
33954
- mark: n,
34324
+ key: "mark-".concat(n),
34325
+ mark: r,
33955
34326
  hideLabel: t.hideLabel,
33956
- style: (0, o.normalizeStyle)((i = {}, a(i, t.isHorizontal ? "height" : "width", "100%"), a(i, t.isHorizontal ? "width" : "height", t.tailSize), a(i, t.mainDirection, "".concat(n.pos, "%")), i)),
34327
+ style: (0, o.normalizeStyle)((i = {}, a(i, t.isHorizontal ? "height" : "width", "100%"), a(i, t.isHorizontal ? "width" : "height", t.tailSize), a(i, t.mainDirection, "".concat(r.pos, "%")), i)),
33957
34328
  stepStyle: t.stepStyle,
33958
34329
  stepActiveStyle: t.stepActiveStyle,
33959
34330
  labelStyle: t.labelStyle,
@@ -33963,50 +34334,50 @@
33963
34334
  })
33964
34335
  }, {
33965
34336
  step: (0, o.withCtx)(function () {
33966
- return [(0, o.renderSlot)(t.$slots, "step", (0, o.normalizeProps)((0, o.guardReactiveProps)(n)))];
34337
+ return [(0, o.renderSlot)(t.$slots, "step", (0, o.normalizeProps)((0, o.guardReactiveProps)(r)))];
33967
34338
  }),
33968
34339
  label: (0, o.withCtx)(function () {
33969
- return [(0, o.renderSlot)(t.$slots, "label", (0, o.normalizeProps)((0, o.guardReactiveProps)(n)))];
34340
+ return [(0, o.renderSlot)(t.$slots, "label", (0, o.normalizeProps)((0, o.guardReactiveProps)(r)))];
33970
34341
  }),
33971
34342
  _: 2
33972
34343
  }, 1032, ["mark", "hideLabel", "style", "stepStyle", "stepActiveStyle", "labelStyle", "labelActiveStyle"]))];
33973
34344
  });
33974
- }), 256))])) : (0, o.createCommentVNode)("", !0), ((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.dots, function (n, r) {
34345
+ }), 256))])) : (0, o.createCommentVNode)("", !0), ((0, o.openBlock)(!0), (0, o.createElementBlock)(o.Fragment, null, (0, o.renderList)(t.dots, function (r, n) {
33975
34346
  var i;
33976
34347
  return (0, o.openBlock)(), (0, o.createBlock)(c, (0, o.mergeProps)({
33977
34348
  ref_for: !0,
33978
- ref: "dot-".concat(r),
33979
- key: "dot-".concat(r),
33980
- value: n.value,
33981
- disabled: n.disabled,
33982
- focus: n.focus,
33983
- "dot-style": [n.style, n.disabled ? n.disabledStyle : null, n.focus ? n.focusStyle : null],
33984
- tooltip: n.tooltip || t.tooltip,
33985
- "tooltip-style": [t.tooltipStyle, n.tooltipStyle, n.disabled ? n.tooltipDisabledStyle : null, n.focus ? n.tooltipFocusStyle : null],
33986
- "tooltip-formatter": Array.isArray(t.sliderTooltipFormatter) ? t.sliderTooltipFormatter[r] : t.sliderTooltipFormatter,
33987
- "tooltip-placement": t.tooltipDirections[r],
33988
- style: [t.dotBaseStyle, (i = {}, a(i, t.mainDirection, "".concat(n.pos, "%")), a(i, "transition", "".concat(t.mainDirection, " ").concat(t.animateTime, "s")), i)],
34349
+ ref: "dot-".concat(n),
34350
+ key: "dot-".concat(n),
34351
+ value: r.value,
34352
+ disabled: r.disabled,
34353
+ focus: r.focus,
34354
+ "dot-style": [r.style, r.disabled ? r.disabledStyle : null, r.focus ? r.focusStyle : null],
34355
+ tooltip: r.tooltip || t.tooltip,
34356
+ "tooltip-style": [t.tooltipStyle, r.tooltipStyle, r.disabled ? r.tooltipDisabledStyle : null, r.focus ? r.tooltipFocusStyle : null],
34357
+ "tooltip-formatter": Array.isArray(t.sliderTooltipFormatter) ? t.sliderTooltipFormatter[n] : t.sliderTooltipFormatter,
34358
+ "tooltip-placement": t.tooltipDirections[n],
34359
+ style: [t.dotBaseStyle, (i = {}, a(i, t.mainDirection, "".concat(r.pos, "%")), a(i, "transition", "".concat(t.mainDirection, " ").concat(t.animateTime, "s")), i)],
33989
34360
  onDragStart: function onDragStart() {
33990
- return t.dragStart(r);
34361
+ return t.dragStart(n);
33991
34362
  },
33992
34363
  role: "slider",
33993
- "aria-valuenow": n.value,
34364
+ "aria-valuenow": r.value,
33994
34365
  "aria-valuemin": t.min,
33995
34366
  "aria-valuemax": t.max,
33996
34367
  "aria-orientation": t.isHorizontal ? "horizontal" : "vertical",
33997
34368
  tabindex: "0",
33998
34369
  onFocus: function onFocus() {
33999
- return t.focus(n, r);
34370
+ return t.focus(r, n);
34000
34371
  },
34001
34372
  onBlur: e[1] || (e[1] = function () {
34002
34373
  return t.blur();
34003
34374
  })
34004
34375
  }, t.dotAttrs), {
34005
34376
  dot: (0, o.withCtx)(function () {
34006
- return [(0, o.renderSlot)(t.$slots, "dot", (0, o.normalizeProps)((0, o.guardReactiveProps)(n)))];
34377
+ return [(0, o.renderSlot)(t.$slots, "dot", (0, o.normalizeProps)((0, o.guardReactiveProps)(r)))];
34007
34378
  }),
34008
34379
  tooltip: (0, o.withCtx)(function () {
34009
- return [(0, o.renderSlot)(t.$slots, "tooltip", (0, o.normalizeProps)((0, o.guardReactiveProps)(n)))];
34380
+ return [(0, o.renderSlot)(t.$slots, "tooltip", (0, o.normalizeProps)((0, o.guardReactiveProps)(r)))];
34010
34381
  }),
34011
34382
  _: 2
34012
34383
  }, 1040, ["value", "disabled", "focus", "dot-style", "tooltip", "tooltip-style", "tooltip-formatter", "tooltip-placement", "style", "onDragStart", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-orientation", "onFocus"]);
@@ -34018,7 +34389,7 @@
34018
34389
  c = {
34019
34390
  "class": "vue-slider-dot-tooltip-text"
34020
34391
  };
34021
- function d(t, e, n, r, i, a) {
34392
+ function d(t, e, r, n, i, a) {
34022
34393
  var s;
34023
34394
  return (0, o.openBlock)(), (0, o.createElementBlock)("div", {
34024
34395
  ref: "dot",
@@ -34045,6 +34416,7 @@
34045
34416
  }, [(0, o.createElementVNode)("span", c, (0, o.toDisplayString)(t.tooltipValue), 1)], 6)];
34046
34417
  })], 2)) : (0, o.createCommentVNode)("", !0)], 42, u);
34047
34418
  }
34419
+ n(466);
34048
34420
  var h = (0, o.defineComponent)({
34049
34421
  name: "VueSliderDot",
34050
34422
  emits: ["drag-start"],
@@ -34131,10 +34503,10 @@
34131
34503
  }
34132
34504
  }
34133
34505
  }),
34134
- f = r(831);
34506
+ f = n(831);
34135
34507
  var p = (0, f.Z)(h, [["render", d]]);
34136
34508
  var m = p;
34137
- function y(t, e, n, r, i, a) {
34509
+ function v(t, e, r, n, i, a) {
34138
34510
  return (0, o.openBlock)(), (0, o.createElementBlock)("div", {
34139
34511
  "class": (0, o.normalizeClass)(t.marksClasses)
34140
34512
  }, [(0, o.renderSlot)(t.$slots, "step", {}, function () {
@@ -34154,7 +34526,8 @@
34154
34526
  }, (0, o.toDisplayString)(t.mark.label), 7)];
34155
34527
  })], 2);
34156
34528
  }
34157
- var v = (0, o.defineComponent)({
34529
+ n(18);
34530
+ var y = (0, o.defineComponent)({
34158
34531
  name: "VueSliderMark",
34159
34532
  emits: ["press-label"],
34160
34533
  props: {
@@ -34213,24 +34586,24 @@
34213
34586
  }
34214
34587
  }
34215
34588
  });
34216
- var g = (0, f.Z)(v, [["render", y]]);
34217
- var b,
34218
- k = g,
34589
+ var b = (0, f.Z)(y, [["render", v]]);
34590
+ var g,
34591
+ k = b,
34219
34592
  S = function S(t) {
34220
34593
  return "number" === typeof t ? "".concat(t, "px") : t;
34221
34594
  },
34222
34595
  x = function x(t) {
34223
34596
  var e = document.documentElement,
34224
- n = document.body,
34225
- r = t.getBoundingClientRect(),
34597
+ r = document.body,
34598
+ n = t.getBoundingClientRect(),
34226
34599
  i = {
34227
- y: r.top + (window.pageYOffset || e.scrollTop) - (e.clientTop || n.clientTop || 0),
34228
- x: r.left + (window.pageXOffset || e.scrollLeft) - (e.clientLeft || n.clientLeft || 0)
34600
+ y: n.top + (window.pageYOffset || e.scrollTop) - (e.clientTop || r.clientTop || 0),
34601
+ x: n.left + (window.pageXOffset || e.scrollLeft) - (e.clientLeft || r.clientLeft || 0)
34229
34602
  };
34230
34603
  return i;
34231
34604
  },
34232
- P = function P(t, e, n) {
34233
- var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1,
34605
+ P = function P(t, e, r) {
34606
+ var n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1,
34234
34607
  i = "targetTouches" in t ? t.targetTouches[0] : t,
34235
34608
  o = x(e),
34236
34609
  a = {
@@ -34238,49 +34611,49 @@
34238
34611
  y: i.pageY - o.y
34239
34612
  };
34240
34613
  return {
34241
- x: n ? e.offsetWidth * r - a.x : a.x,
34242
- y: n ? e.offsetHeight * r - a.y : a.y
34614
+ x: r ? e.offsetWidth * n - a.x : a.x,
34615
+ y: r ? e.offsetHeight * n - a.y : a.y
34243
34616
  };
34244
34617
  };
34245
34618
  (function (t) {
34246
34619
  t[t["PAGE_UP"] = 33] = "PAGE_UP", t[t["PAGE_DOWN"] = 34] = "PAGE_DOWN", t[t["END"] = 35] = "END", t[t["HOME"] = 36] = "HOME", t[t["LEFT"] = 37] = "LEFT", t[t["UP"] = 38] = "UP", t[t["RIGHT"] = 39] = "RIGHT", t[t["DOWN"] = 40] = "DOWN";
34247
- })(b || (b = {}));
34248
- var O = function O(t, e) {
34620
+ })(g || (g = {}));
34621
+ var w = function w(t, e) {
34249
34622
  if (e.hook) {
34250
- var n = e.hook(t);
34251
- if ("function" === typeof n) return n;
34252
- if (!n) return null;
34623
+ var r = e.hook(t);
34624
+ if ("function" === typeof r) return r;
34625
+ if (!r) return null;
34253
34626
  }
34254
34627
  switch (t.keyCode) {
34255
- case b.UP:
34628
+ case g.UP:
34256
34629
  return function (t) {
34257
34630
  return "ttb" === e.direction ? t - 1 : t + 1;
34258
34631
  };
34259
- case b.RIGHT:
34632
+ case g.RIGHT:
34260
34633
  return function (t) {
34261
34634
  return "rtl" === e.direction ? t - 1 : t + 1;
34262
34635
  };
34263
- case b.DOWN:
34636
+ case g.DOWN:
34264
34637
  return function (t) {
34265
34638
  return "ttb" === e.direction ? t + 1 : t - 1;
34266
34639
  };
34267
- case b.LEFT:
34640
+ case g.LEFT:
34268
34641
  return function (t) {
34269
34642
  return "rtl" === e.direction ? t + 1 : t - 1;
34270
34643
  };
34271
- case b.END:
34644
+ case g.END:
34272
34645
  return function () {
34273
34646
  return e.max;
34274
34647
  };
34275
- case b.HOME:
34648
+ case g.HOME:
34276
34649
  return function () {
34277
34650
  return e.min;
34278
34651
  };
34279
- case b.PAGE_UP:
34652
+ case g.PAGE_UP:
34280
34653
  return function (t) {
34281
34654
  return t + 10;
34282
34655
  };
34283
- case b.PAGE_DOWN:
34656
+ case g.PAGE_DOWN:
34284
34657
  return function (t) {
34285
34658
  return t - 10;
34286
34659
  };
@@ -34288,56 +34661,56 @@
34288
34661
  return null;
34289
34662
  }
34290
34663
  };
34291
- function D(t, e) {
34664
+ function O(t, e) {
34292
34665
  if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
34293
34666
  }
34294
- function E(t, e) {
34295
- for (var n = 0; n < e.length; n++) {
34296
- var r = e[n];
34297
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
34667
+ function D(t, e) {
34668
+ for (var r = 0; r < e.length; r++) {
34669
+ var n = e[r];
34670
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n);
34298
34671
  }
34299
34672
  }
34300
- function R(t, e, n) {
34301
- return e && E(t.prototype, e), n && E(t, n), Object.defineProperty(t, "prototype", {
34673
+ function E(t, e, r) {
34674
+ return e && D(t.prototype, e), r && D(t, r), Object.defineProperty(t, "prototype", {
34302
34675
  writable: !1
34303
34676
  }), t;
34304
34677
  }
34305
- function A(t, e, n) {
34678
+ function R(t, e, r) {
34306
34679
  return e in t ? Object.defineProperty(t, e, {
34307
- value: n,
34680
+ value: r,
34308
34681
  enumerable: !0,
34309
34682
  configurable: !0,
34310
34683
  writable: !0
34311
- }) : t[e] = n, t;
34684
+ }) : t[e] = r, t;
34312
34685
  }
34313
- var w,
34686
+ var A,
34314
34687
  V,
34315
34688
  j = function () {
34316
34689
  function t(e) {
34317
- D(this, t), A(this, "num", void 0), this.num = e;
34690
+ O(this, t), R(this, "num", void 0), this.num = e;
34318
34691
  }
34319
- return R(t, [{
34692
+ return E(t, [{
34320
34693
  key: "decimal",
34321
34694
  value: function value(t, e) {
34322
- var n = this.num,
34323
- r = this.getDecimalLen(n),
34695
+ var r = this.num,
34696
+ n = this.getDecimalLen(r),
34324
34697
  i = this.getDecimalLen(t),
34325
34698
  o = 0;
34326
34699
  switch (e) {
34327
34700
  case "+":
34328
- o = this.getExponent(r, i), this.num = (this.safeRoundUp(n, o) + this.safeRoundUp(t, o)) / o;
34701
+ o = this.getExponent(n, i), this.num = (this.safeRoundUp(r, o) + this.safeRoundUp(t, o)) / o;
34329
34702
  break;
34330
34703
  case "-":
34331
- o = this.getExponent(r, i), this.num = (this.safeRoundUp(n, o) - this.safeRoundUp(t, o)) / o;
34704
+ o = this.getExponent(n, i), this.num = (this.safeRoundUp(r, o) - this.safeRoundUp(t, o)) / o;
34332
34705
  break;
34333
34706
  case "*":
34334
- this.num = this.safeRoundUp(this.safeRoundUp(n, this.getExponent(r)), this.safeRoundUp(t, this.getExponent(i))) / this.getExponent(r + i);
34707
+ this.num = this.safeRoundUp(this.safeRoundUp(r, this.getExponent(n)), this.safeRoundUp(t, this.getExponent(i))) / this.getExponent(n + i);
34335
34708
  break;
34336
34709
  case "/":
34337
- o = this.getExponent(r, i), this.num = this.safeRoundUp(n, o) / this.safeRoundUp(t, o);
34710
+ o = this.getExponent(n, i), this.num = this.safeRoundUp(r, o) / this.safeRoundUp(t, o);
34338
34711
  break;
34339
34712
  case "%":
34340
- o = this.getExponent(r, i), this.num = this.safeRoundUp(n, o) % this.safeRoundUp(t, o) / o;
34713
+ o = this.getExponent(n, i), this.num = this.safeRoundUp(r, o) % this.safeRoundUp(t, o) / o;
34341
34714
  break;
34342
34715
  }
34343
34716
  return this;
@@ -34390,27 +34763,27 @@
34390
34763
  }
34391
34764
  }]), t;
34392
34765
  }();
34393
- function B(t, e) {
34394
- return I(t) || L(t, e) || H(t, e) || C();
34766
+ function C(t, e) {
34767
+ return L(t) || M(t, e) || H(t, e) || B();
34395
34768
  }
34396
- function C() {
34769
+ function B() {
34397
34770
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
34398
34771
  }
34399
- function L(t, e) {
34400
- var n = null == t ? null : "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
34401
- if (null != n) {
34402
- var r,
34772
+ function M(t, e) {
34773
+ var r = null == t ? null : "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
34774
+ if (null != r) {
34775
+ var n,
34403
34776
  i,
34404
34777
  o = [],
34405
34778
  a = !0,
34406
34779
  s = !1;
34407
34780
  try {
34408
- for (n = n.call(t); !(a = (r = n.next()).done); a = !0) if (o.push(r.value), e && o.length === e) break;
34781
+ for (r = r.call(t); !(a = (n = r.next()).done); a = !0) if (o.push(n.value), e && o.length === e) break;
34409
34782
  } catch (l) {
34410
34783
  s = !0, i = l;
34411
34784
  } finally {
34412
34785
  try {
34413
- a || null == n["return"] || n["return"]();
34786
+ a || null == r["return"] || r["return"]();
34414
34787
  } finally {
34415
34788
  if (s) throw i;
34416
34789
  }
@@ -34418,31 +34791,31 @@
34418
34791
  return o;
34419
34792
  }
34420
34793
  }
34421
- function I(t) {
34794
+ function L(t) {
34422
34795
  if (Array.isArray(t)) return t;
34423
34796
  }
34424
- function z(t, e) {
34425
- var n = Object.keys(t);
34797
+ function N(t, e) {
34798
+ var r = Object.keys(t);
34426
34799
  if (Object.getOwnPropertySymbols) {
34427
- var r = Object.getOwnPropertySymbols(t);
34428
- e && (r = r.filter(function (e) {
34800
+ var n = Object.getOwnPropertySymbols(t);
34801
+ e && (n = n.filter(function (e) {
34429
34802
  return Object.getOwnPropertyDescriptor(t, e).enumerable;
34430
- })), n.push.apply(n, r);
34803
+ })), r.push.apply(r, n);
34431
34804
  }
34432
- return n;
34805
+ return r;
34433
34806
  }
34434
- function N(t) {
34807
+ function z(t) {
34435
34808
  for (var e = 1; e < arguments.length; e++) {
34436
- var n = null != arguments[e] ? arguments[e] : {};
34437
- e % 2 ? z(Object(n), !0).forEach(function (e) {
34438
- q(t, e, n[e]);
34439
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : z(Object(n)).forEach(function (e) {
34440
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
34809
+ var r = null != arguments[e] ? arguments[e] : {};
34810
+ e % 2 ? N(Object(r), !0).forEach(function (e) {
34811
+ X(t, e, r[e]);
34812
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : N(Object(r)).forEach(function (e) {
34813
+ Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
34441
34814
  });
34442
34815
  }
34443
34816
  return t;
34444
34817
  }
34445
- function M(t) {
34818
+ function I(t) {
34446
34819
  return $(t) || F(t) || H(t) || T();
34447
34820
  }
34448
34821
  function T() {
@@ -34451,8 +34824,8 @@
34451
34824
  function H(t, e) {
34452
34825
  if (t) {
34453
34826
  if ("string" === typeof t) return U(t, e);
34454
- var n = Object.prototype.toString.call(t).slice(8, -1);
34455
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? U(t, e) : void 0;
34827
+ var r = Object.prototype.toString.call(t).slice(8, -1);
34828
+ return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? U(t, e) : void 0;
34456
34829
  }
34457
34830
  }
34458
34831
  function F(t) {
@@ -34463,43 +34836,43 @@
34463
34836
  }
34464
34837
  function U(t, e) {
34465
34838
  (null == e || e > t.length) && (e = t.length);
34466
- for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
34467
- return r;
34839
+ for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
34840
+ return n;
34468
34841
  }
34469
- function W(t, e) {
34842
+ function _(t, e) {
34470
34843
  if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
34471
34844
  }
34472
- function _(t, e) {
34473
- for (var n = 0; n < e.length; n++) {
34474
- var r = e[n];
34475
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
34845
+ function W(t, e) {
34846
+ for (var r = 0; r < e.length; r++) {
34847
+ var n = e[r];
34848
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n);
34476
34849
  }
34477
34850
  }
34478
- function G(t, e, n) {
34479
- return e && _(t.prototype, e), n && _(t, n), Object.defineProperty(t, "prototype", {
34851
+ function G(t, e, r) {
34852
+ return e && W(t.prototype, e), r && W(t, r), Object.defineProperty(t, "prototype", {
34480
34853
  writable: !1
34481
34854
  }), t;
34482
34855
  }
34483
- function q(t, e, n) {
34856
+ function X(t, e, r) {
34484
34857
  return e in t ? Object.defineProperty(t, e, {
34485
- value: n,
34858
+ value: r,
34486
34859
  enumerable: !0,
34487
34860
  configurable: !0,
34488
34861
  writable: !0
34489
- }) : t[e] = n, t;
34862
+ }) : t[e] = r, t;
34490
34863
  }
34491
34864
  (function (t) {
34492
34865
  t[t["VALUE"] = 1] = "VALUE", t[t["INTERVAL"] = 2] = "INTERVAL", t[t["MIN"] = 3] = "MIN", t[t["MAX"] = 4] = "MAX", t[t["ORDER"] = 5] = "ORDER";
34493
34866
  })(V || (V = {}));
34494
- var X = (w = {}, q(w, V.VALUE, 'The type of the "value" is illegal'), q(w, V.INTERVAL, 'The prop "interval" is invalid, "(max - min)" must be divisible by "interval"'), q(w, V.MIN, 'The "value" must be greater than or equal to the "min".'), q(w, V.MAX, 'The "value" must be less than or equal to the "max".'), q(w, V.ORDER, 'When "order" is false, the parameters "minRange", "maxRange", "fixed", "enabled" are invalid.'), w),
34495
- K = function () {
34867
+ var q = (A = {}, X(A, V.VALUE, 'The type of the "value" is illegal'), X(A, V.INTERVAL, 'The prop "interval" is invalid, "(max - min)" must be divisible by "interval"'), X(A, V.MIN, 'The "value" must be greater than or equal to the "min".'), X(A, V.MAX, 'The "value" must be less than or equal to the "max".'), X(A, V.ORDER, 'When "order" is false, the parameters "minRange", "maxRange", "fixed", "enabled" are invalid.'), A),
34868
+ Z = function () {
34496
34869
  function t(e) {
34497
- W(this, t), q(this, "dotsPos", []), q(this, "dotsValue", []), q(this, "data", void 0), q(this, "enableCross", void 0), q(this, "fixed", void 0), q(this, "max", void 0), q(this, "min", void 0), q(this, "interval", void 0), q(this, "minRange", void 0), q(this, "maxRange", void 0), q(this, "order", void 0), q(this, "marks", void 0), q(this, "included", void 0), q(this, "process", void 0), q(this, "adsorb", void 0), q(this, "dotOptions", void 0), q(this, "onError", void 0), q(this, "cacheRangeDir", {}), this.data = e.data, this.max = e.max, this.min = e.min, this.interval = e.interval, this.order = e.order, this.marks = e.marks, this.included = e.included, this.process = e.process, this.adsorb = e.adsorb, this.dotOptions = e.dotOptions, this.onError = e.onError, this.order ? (this.minRange = e.minRange || 0, this.maxRange = e.maxRange || 0, this.enableCross = e.enableCross, this.fixed = e.fixed) : ((e.minRange || e.maxRange || !e.enableCross || e.fixed) && this.emitError(V.ORDER), this.minRange = 0, this.maxRange = 0, this.enableCross = !0, this.fixed = !1), this.setValue(e.value);
34870
+ _(this, t), X(this, "dotsPos", []), X(this, "dotsValue", []), X(this, "data", void 0), X(this, "enableCross", void 0), X(this, "fixed", void 0), X(this, "max", void 0), X(this, "min", void 0), X(this, "interval", void 0), X(this, "minRange", void 0), X(this, "maxRange", void 0), X(this, "order", void 0), X(this, "marks", void 0), X(this, "included", void 0), X(this, "process", void 0), X(this, "adsorb", void 0), X(this, "dotOptions", void 0), X(this, "onError", void 0), X(this, "cacheRangeDir", {}), this.data = e.data, this.max = e.max, this.min = e.min, this.interval = e.interval, this.order = e.order, this.marks = e.marks, this.included = e.included, this.process = e.process, this.adsorb = e.adsorb, this.dotOptions = e.dotOptions, this.onError = e.onError, this.order ? (this.minRange = e.minRange || 0, this.maxRange = e.maxRange || 0, this.enableCross = e.enableCross, this.fixed = e.fixed) : ((e.minRange || e.maxRange || !e.enableCross || e.fixed) && this.emitError(V.ORDER), this.minRange = 0, this.maxRange = 0, this.enableCross = !0, this.fixed = !1), this.setValue(e.value);
34498
34871
  }
34499
34872
  return G(t, [{
34500
34873
  key: "setValue",
34501
34874
  value: function value(t) {
34502
- this.setDotsValue(Array.isArray(t) ? M(t) : [t], !0);
34875
+ this.setDotsValue(Array.isArray(t) ? I(t) : [t], !0);
34503
34876
  }
34504
34877
  }, {
34505
34878
  key: "setDotsValue",
@@ -34510,10 +34883,10 @@
34510
34883
  key: "setDotsPos",
34511
34884
  value: function value(t) {
34512
34885
  var e = this,
34513
- n = this.order ? M(t).sort(function (t, e) {
34886
+ r = this.order ? I(t).sort(function (t, e) {
34514
34887
  return t - e;
34515
34888
  }) : t;
34516
- this.dotsPos = n, this.setDotsValue(n.map(function (t) {
34889
+ this.dotsPos = r, this.setDotsValue(r.map(function (t) {
34517
34890
  return e.getValueByPos(t);
34518
34891
  }), this.adsorb);
34519
34892
  }
@@ -34522,10 +34895,10 @@
34522
34895
  value: function value(t) {
34523
34896
  var e = this.parsePos(t);
34524
34897
  if (this.included) {
34525
- var n = 100;
34526
- this.markList.forEach(function (r) {
34527
- var i = Math.abs(r.pos - t);
34528
- i < n && (n = i, e = r.value);
34898
+ var r = 100;
34899
+ this.markList.forEach(function (n) {
34900
+ var i = Math.abs(n.pos - t);
34901
+ i < r && (r = i, e = n.value);
34529
34902
  });
34530
34903
  }
34531
34904
  return e;
@@ -34543,23 +34916,23 @@
34543
34916
  get: function get() {
34544
34917
  var t = this;
34545
34918
  if (!this.marks) return [];
34546
- var e = function e(_e, n) {
34547
- var r = t.parseValue(_e);
34548
- return N({
34549
- pos: r,
34919
+ var e = function e(_e, r) {
34920
+ var n = t.parseValue(_e);
34921
+ return z({
34922
+ pos: n,
34550
34923
  value: _e,
34551
34924
  label: _e,
34552
- active: t.isActiveByPos(r)
34553
- }, n);
34925
+ active: t.isActiveByPos(n)
34926
+ }, r);
34554
34927
  };
34555
34928
  return !0 === this.marks ? this.getValues().map(function (t) {
34556
34929
  return e(t);
34557
34930
  }) : "[object Object]" === Object.prototype.toString.call(this.marks) ? Object.keys(this.marks).sort(function (t, e) {
34558
34931
  return +t - +e;
34559
- }).map(function (n) {
34560
- var r = t.marks[n];
34561
- return e(n, "string" !== typeof r ? r : {
34562
- label: r
34932
+ }).map(function (r) {
34933
+ var n = t.marks[r];
34934
+ return e(r, "string" !== typeof n ? n : {
34935
+ label: n
34563
34936
  });
34564
34937
  }) : Array.isArray(this.marks) ? this.marks.map(function (t) {
34565
34938
  return e(t);
@@ -34572,9 +34945,9 @@
34572
34945
  var e = t.result;
34573
34946
  return !!e;
34574
34947
  }).map(function (t) {
34575
- var n = t.value,
34576
- r = t.result;
34577
- return e(n, r);
34948
+ var r = t.value,
34949
+ n = t.result;
34950
+ return e(r, n);
34578
34951
  }) : [];
34579
34952
  }
34580
34953
  }, {
@@ -34583,7 +34956,7 @@
34583
34956
  var e = this.dotsPos.map(function (e) {
34584
34957
  return Math.abs(e - t);
34585
34958
  });
34586
- return e.indexOf(Math.min.apply(Math, M(e)));
34959
+ return e.indexOf(Math.min.apply(Math, I(e)));
34587
34960
  }
34588
34961
  }, {
34589
34962
  key: "getIndexByValue",
@@ -34599,24 +34972,24 @@
34599
34972
  key: "setDotPos",
34600
34973
  value: function value(t, e) {
34601
34974
  t = this.getValidPos(t, e).pos;
34602
- var n = t - this.dotsPos[e];
34603
- if (n) {
34604
- var r = new Array(this.dotsPos.length);
34605
- this.fixed ? r = this.getFixedChangePosArr(n, e) : this.minRange || this.maxRange ? r = this.getLimitRangeChangePosArr(t, n, e) : r[e] = n, this.setDotsPos(this.dotsPos.map(function (t, e) {
34606
- return t + (r[e] || 0);
34975
+ var r = t - this.dotsPos[e];
34976
+ if (r) {
34977
+ var n = new Array(this.dotsPos.length);
34978
+ this.fixed ? n = this.getFixedChangePosArr(r, e) : this.minRange || this.maxRange ? n = this.getLimitRangeChangePosArr(t, r, e) : n[e] = r, this.setDotsPos(this.dotsPos.map(function (t, e) {
34979
+ return t + (n[e] || 0);
34607
34980
  }));
34608
34981
  }
34609
34982
  }
34610
34983
  }, {
34611
34984
  key: "getFixedChangePosArr",
34612
34985
  value: function value(t, e) {
34613
- var n = this;
34614
- return this.dotsPos.forEach(function (r, i) {
34986
+ var r = this;
34987
+ return this.dotsPos.forEach(function (n, i) {
34615
34988
  if (i !== e) {
34616
- var o = n.getValidPos(r + t, i),
34989
+ var o = r.getValidPos(n + t, i),
34617
34990
  a = o.pos,
34618
34991
  s = o.inRange;
34619
- s || (t = Math.min(Math.abs(a - r), Math.abs(t)) * (t < 0 ? -1 : 1));
34992
+ s || (t = Math.min(Math.abs(a - n), Math.abs(t)) * (t < 0 ? -1 : 1));
34620
34993
  }
34621
34994
  }), this.dotsPos.map(function (e) {
34622
34995
  return t;
@@ -34624,10 +34997,10 @@
34624
34997
  }
34625
34998
  }, {
34626
34999
  key: "getLimitRangeChangePosArr",
34627
- value: function value(t, e, n) {
34628
- var r = this,
35000
+ value: function value(t, e, r) {
35001
+ var n = this,
34629
35002
  i = [{
34630
- index: n,
35003
+ index: r,
34631
35004
  changePos: e
34632
35005
  }],
34633
35006
  o = e;
@@ -34638,25 +35011,25 @@
34638
35011
  c = 0;
34639
35012
  c = l ? u ? 1 : -1 : u ? -1 : 1;
34640
35013
  var d = function d(t, e) {
34641
- var n = Math.abs(t - e);
34642
- return l ? n < r.minRangeDir : n > r.maxRangeDir;
35014
+ var r = Math.abs(t - e);
35015
+ return l ? r < n.minRangeDir : r > n.maxRangeDir;
34643
35016
  },
34644
- h = n + c,
34645
- f = r.dotsPos[h],
35017
+ h = r + c,
35018
+ f = n.dotsPos[h],
34646
35019
  p = t;
34647
- while (r.isPos(f) && d(f, p)) {
34648
- var m = r.getValidPos(f + o, h),
34649
- y = m.pos;
35020
+ while (n.isPos(f) && d(f, p)) {
35021
+ var m = n.getValidPos(f + o, h),
35022
+ v = m.pos;
34650
35023
  i.push({
34651
35024
  index: h,
34652
- changePos: y - f
34653
- }), h += c, p = y, f = r.dotsPos[h];
35025
+ changePos: v - f
35026
+ }), h += c, p = v, f = n.dotsPos[h];
34654
35027
  }
34655
35028
  }), this.dotsPos.map(function (t, e) {
34656
- var n = i.filter(function (t) {
35029
+ var r = i.filter(function (t) {
34657
35030
  return t.index === e;
34658
35031
  });
34659
- return n.length ? n[0].changePos : 0;
35032
+ return r.length ? r[0].changePos : 0;
34660
35033
  });
34661
35034
  }
34662
35035
  }, {
@@ -34667,11 +35040,11 @@
34667
35040
  }, {
34668
35041
  key: "getValidPos",
34669
35042
  value: function value(t, e) {
34670
- var n = this.valuePosRange[e],
34671
- r = !0;
34672
- return t < n[0] ? (t = n[0], r = !1) : t > n[1] && (t = n[1], r = !1), {
35043
+ var r = this.valuePosRange[e],
35044
+ n = !0;
35045
+ return t < r[0] ? (t = r[0], n = !1) : t > r[1] && (t = r[1], n = !1), {
34673
35046
  pos: t,
34674
- inRange: r
35047
+ inRange: n
34675
35048
  };
34676
35049
  }
34677
35050
  }, {
@@ -34696,10 +35069,10 @@
34696
35069
  key: "isActiveByPos",
34697
35070
  value: function value(t) {
34698
35071
  return this.processArray.some(function (e) {
34699
- var n = B(e, 2),
34700
- r = n[0],
34701
- i = n[1];
34702
- return t >= r && t <= i;
35072
+ var r = C(e, 2),
35073
+ n = r[0],
35074
+ i = r[1];
35075
+ return t >= n && t <= i;
34703
35076
  });
34704
35077
  }
34705
35078
  }, {
@@ -34717,7 +35090,7 @@
34717
35090
  }, {
34718
35091
  key: "emitError",
34719
35092
  value: function value(t) {
34720
- this.onError && this.onError(t, X[t]);
35093
+ this.onError && this.onError(t, q[t]);
34721
35094
  }
34722
35095
  }, {
34723
35096
  key: "processArray",
@@ -34725,7 +35098,7 @@
34725
35098
  if (this.process) {
34726
35099
  if ("function" === typeof this.process) return this.process(this.dotsPos);
34727
35100
  if (1 === this.dotsPos.length) return [[0, this.dotsPos[0]]];
34728
- if (this.dotsPos.length > 1) return [[Math.min.apply(Math, M(this.dotsPos)), Math.max.apply(Math, M(this.dotsPos))]];
35101
+ if (this.dotsPos.length > 1) return [[Math.min.apply(Math, I(this.dotsPos)), Math.max.apply(Math, I(this.dotsPos))]];
34729
35102
  }
34730
35103
  return [];
34731
35104
  }
@@ -34752,20 +35125,20 @@
34752
35125
  }
34753
35126
  }, {
34754
35127
  key: "getDotRange",
34755
- value: function value(t, e, n) {
34756
- if (!this.dotOptions) return n;
34757
- var r = Array.isArray(this.dotOptions) ? this.dotOptions[t] : this.dotOptions;
34758
- return r && void 0 !== r[e] ? this.parseValue(r[e]) : n;
35128
+ value: function value(t, e, r) {
35129
+ if (!this.dotOptions) return r;
35130
+ var n = Array.isArray(this.dotOptions) ? this.dotOptions[t] : this.dotOptions;
35131
+ return n && void 0 !== n[e] ? this.parseValue(n[e]) : r;
34759
35132
  }
34760
35133
  }, {
34761
35134
  key: "valuePosRange",
34762
35135
  get: function get() {
34763
35136
  var t = this,
34764
35137
  e = this.dotsPos,
34765
- n = [];
34766
- return e.forEach(function (r, i) {
34767
- n.push([Math.max(t.minRange ? t.minRangeDir * i : 0, t.enableCross ? 0 : e[i - 1] || 0, t.getDotRange(i, "min", 0)), Math.min(t.minRange ? 100 - t.minRangeDir * (e.length - 1 - i) : 100, t.enableCross ? 100 : e[i + 1] || 100, t.getDotRange(i, "max", 100))]);
34768
- }), n;
35138
+ r = [];
35139
+ return e.forEach(function (n, i) {
35140
+ r.push([Math.max(t.minRange ? t.minRangeDir * i : 0, t.enableCross ? 0 : e[i - 1] || 0, t.getDotRange(i, "min", 0)), Math.min(t.minRange ? 100 - t.minRangeDir * (e.length - 1 - i) : 100, t.enableCross ? 100 : e[i + 1] || 100, t.getDotRange(i, "max", 100))]);
35141
+ }), r;
34769
35142
  }
34770
35143
  }, {
34771
35144
  key: "dotsIndex",
@@ -34777,31 +35150,31 @@
34777
35150
  }
34778
35151
  }]), t;
34779
35152
  }();
34780
- function Z(t, e) {
35153
+ function Y(t, e) {
34781
35154
  if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
34782
35155
  }
34783
- function Y(t, e) {
34784
- for (var n = 0; n < e.length; n++) {
34785
- var r = e[n];
34786
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
35156
+ function K(t, e) {
35157
+ for (var r = 0; r < e.length; r++) {
35158
+ var n = e[r];
35159
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n);
34787
35160
  }
34788
35161
  }
34789
- function J(t, e, n) {
34790
- return e && Y(t.prototype, e), n && Y(t, n), Object.defineProperty(t, "prototype", {
35162
+ function J(t, e, r) {
35163
+ return e && K(t.prototype, e), r && K(t, r), Object.defineProperty(t, "prototype", {
34791
35164
  writable: !1
34792
35165
  }), t;
34793
35166
  }
34794
- function Q(t, e, n) {
35167
+ function Q(t, e, r) {
34795
35168
  return e in t ? Object.defineProperty(t, e, {
34796
- value: n,
35169
+ value: r,
34797
35170
  enumerable: !0,
34798
35171
  configurable: !0,
34799
35172
  writable: !0
34800
- }) : t[e] = n, t;
35173
+ }) : t[e] = r, t;
34801
35174
  }
34802
35175
  var tt = function () {
34803
35176
  function t(e) {
34804
- Z(this, t), Q(this, "map", void 0), Q(this, "states", 0), this.map = e;
35177
+ Y(this, t), Q(this, "map", void 0), Q(this, "states", 0), this.map = e;
34805
35178
  }
34806
35179
  return J(t, [{
34807
35180
  key: "add",
@@ -34825,13 +35198,14 @@
34825
35198
  }
34826
35199
  }]), t;
34827
35200
  }();
35201
+ n(631);
34828
35202
  function et(t) {
34829
- return it(t) || rt(t) || dt(t) || nt();
35203
+ return it(t) || nt(t) || dt(t) || rt();
34830
35204
  }
34831
- function nt() {
35205
+ function rt() {
34832
35206
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
34833
35207
  }
34834
- function rt(t) {
35208
+ function nt(t) {
34835
35209
  if ("undefined" !== typeof Symbol && null != t[Symbol.iterator] || null != t["@@iterator"]) return Array.from(t);
34836
35210
  }
34837
35211
  function it(t) {
@@ -34845,33 +35219,33 @@
34845
35219
  }, ot(t);
34846
35220
  }
34847
35221
  function at(t, e) {
34848
- var n = Object.keys(t);
35222
+ var r = Object.keys(t);
34849
35223
  if (Object.getOwnPropertySymbols) {
34850
- var r = Object.getOwnPropertySymbols(t);
34851
- e && (r = r.filter(function (e) {
35224
+ var n = Object.getOwnPropertySymbols(t);
35225
+ e && (n = n.filter(function (e) {
34852
35226
  return Object.getOwnPropertyDescriptor(t, e).enumerable;
34853
- })), n.push.apply(n, r);
35227
+ })), r.push.apply(r, n);
34854
35228
  }
34855
- return n;
35229
+ return r;
34856
35230
  }
34857
35231
  function st(t) {
34858
35232
  for (var e = 1; e < arguments.length; e++) {
34859
- var n = null != arguments[e] ? arguments[e] : {};
34860
- e % 2 ? at(Object(n), !0).forEach(function (e) {
34861
- lt(t, e, n[e]);
34862
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : at(Object(n)).forEach(function (e) {
34863
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
35233
+ var r = null != arguments[e] ? arguments[e] : {};
35234
+ e % 2 ? at(Object(r), !0).forEach(function (e) {
35235
+ lt(t, e, r[e]);
35236
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : at(Object(r)).forEach(function (e) {
35237
+ Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
34864
35238
  });
34865
35239
  }
34866
35240
  return t;
34867
35241
  }
34868
- function lt(t, e, n) {
35242
+ function lt(t, e, r) {
34869
35243
  return e in t ? Object.defineProperty(t, e, {
34870
- value: n,
35244
+ value: r,
34871
35245
  enumerable: !0,
34872
35246
  configurable: !0,
34873
35247
  writable: !0
34874
- }) : t[e] = n, t;
35248
+ }) : t[e] = r, t;
34875
35249
  }
34876
35250
  function ut(t, e) {
34877
35251
  return pt(t) || ft(t, e) || dt(t, e) || ct();
@@ -34882,30 +35256,30 @@
34882
35256
  function dt(t, e) {
34883
35257
  if (t) {
34884
35258
  if ("string" === typeof t) return ht(t, e);
34885
- var n = Object.prototype.toString.call(t).slice(8, -1);
34886
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ht(t, e) : void 0;
35259
+ var r = Object.prototype.toString.call(t).slice(8, -1);
35260
+ return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ht(t, e) : void 0;
34887
35261
  }
34888
35262
  }
34889
35263
  function ht(t, e) {
34890
35264
  (null == e || e > t.length) && (e = t.length);
34891
- for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
34892
- return r;
35265
+ for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
35266
+ return n;
34893
35267
  }
34894
35268
  function ft(t, e) {
34895
- var n = null == t ? null : "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
34896
- if (null != n) {
34897
- var r,
35269
+ var r = null == t ? null : "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
35270
+ if (null != r) {
35271
+ var n,
34898
35272
  i,
34899
35273
  o = [],
34900
35274
  a = !0,
34901
35275
  s = !1;
34902
35276
  try {
34903
- for (n = n.call(t); !(a = (r = n.next()).done); a = !0) if (o.push(r.value), e && o.length === e) break;
35277
+ for (r = r.call(t); !(a = (n = r.next()).done); a = !0) if (o.push(n.value), e && o.length === e) break;
34904
35278
  } catch (l) {
34905
35279
  s = !0, i = l;
34906
35280
  } finally {
34907
35281
  try {
34908
- a || null == n["return"] || n["return"]();
35282
+ a || null == r["return"] || r["return"]();
34909
35283
  } finally {
34910
35284
  if (s) throw i;
34911
35285
  }
@@ -34921,8 +35295,8 @@
34921
35295
  Drag: 2,
34922
35296
  Focus: 4
34923
35297
  },
34924
- yt = 4,
34925
- vt = (0, o.defineComponent)({
35298
+ vt = 4,
35299
+ yt = (0, o.defineComponent)({
34926
35300
  name: "VueSlider",
34927
35301
  components: {
34928
35302
  VueSliderDot: m,
@@ -35112,7 +35486,7 @@
35112
35486
  return "rtl" === this.direction || "btt" === this.direction;
35113
35487
  },
35114
35488
  tailSize: function tailSize() {
35115
- return S((this.isHorizontal ? this.height : this.width) || yt);
35489
+ return S((this.isHorizontal ? this.height : this.width) || vt);
35116
35490
  },
35117
35491
  containerClasses: function containerClasses() {
35118
35492
  return ["vue-slider", ["vue-slider-".concat(this.direction)], {
@@ -35122,20 +35496,20 @@
35122
35496
  containerStyles: function containerStyles() {
35123
35497
  var t = Array.isArray(this.dotSize) ? this.dotSize : [this.dotSize, this.dotSize],
35124
35498
  e = ut(t, 2),
35125
- n = e[0],
35126
- r = e[1],
35127
- i = this.width ? S(this.width) : this.isHorizontal ? "auto" : S(yt),
35128
- o = this.height ? S(this.height) : this.isHorizontal ? S(yt) : "auto";
35499
+ r = e[0],
35500
+ n = e[1],
35501
+ i = this.width ? S(this.width) : this.isHorizontal ? "auto" : S(vt),
35502
+ o = this.height ? S(this.height) : this.isHorizontal ? S(vt) : "auto";
35129
35503
  return {
35130
- padding: this.contained ? "".concat(r / 2, "px ").concat(n / 2, "px") : this.isHorizontal ? "".concat(r / 2, "px 0") : "0 ".concat(n / 2, "px"),
35504
+ padding: this.contained ? "".concat(n / 2, "px ").concat(r / 2, "px") : this.isHorizontal ? "".concat(n / 2, "px 0") : "0 ".concat(r / 2, "px"),
35131
35505
  width: i,
35132
35506
  height: o
35133
35507
  };
35134
35508
  },
35135
35509
  processArray: function processArray() {
35136
35510
  var t = this;
35137
- return this.control.processArray.map(function (e, n) {
35138
- var r,
35511
+ return this.control.processArray.map(function (e, r) {
35512
+ var n,
35139
35513
  i = ut(e, 3),
35140
35514
  o = i[0],
35141
35515
  a = i[1],
@@ -35148,17 +35522,17 @@
35148
35522
  return {
35149
35523
  start: o,
35150
35524
  end: a,
35151
- index: n,
35152
- style: st(st((r = {}, lt(r, t.isHorizontal ? "height" : "width", "100%"), lt(r, t.isHorizontal ? "top" : "left", 0), lt(r, t.mainDirection, "".concat(o, "%")), lt(r, u, "".concat(a - o, "%")), lt(r, "transitionProperty", "".concat(u, ",").concat(t.mainDirection)), lt(r, "transitionDuration", "".concat(t.animateTime, "s")), r), t.processStyle), s)
35525
+ index: r,
35526
+ style: st(st((n = {}, lt(n, t.isHorizontal ? "height" : "width", "100%"), lt(n, t.isHorizontal ? "top" : "left", 0), lt(n, t.mainDirection, "".concat(o, "%")), lt(n, u, "".concat(a - o, "%")), lt(n, "transitionProperty", "".concat(u, ",").concat(t.mainDirection)), lt(n, "transitionDuration", "".concat(t.animateTime, "s")), n), t.processStyle), s)
35153
35527
  };
35154
35528
  });
35155
35529
  },
35156
35530
  dotBaseStyle: function dotBaseStyle() {
35157
35531
  var t,
35158
35532
  e = Array.isArray(this.dotSize) ? this.dotSize : [this.dotSize, this.dotSize],
35159
- n = ut(e, 2),
35160
- r = n[0],
35161
- i = n[1];
35533
+ r = ut(e, 2),
35534
+ n = r[0],
35535
+ i = r[1];
35162
35536
  return t = this.isHorizontal ? lt({
35163
35537
  transform: "translate(".concat(this.isReverse ? "50%" : "-50%", ", -50%)"),
35164
35538
  WebkitTransform: "translate(".concat(this.isReverse ? "50%" : "-50%", ", -50%)"),
@@ -35168,7 +35542,7 @@
35168
35542
  WebkitTransform: "translate(-50%, ".concat(this.isReverse ? "50%" : "-50%", ")"),
35169
35543
  left: "50%"
35170
35544
  }, "btt" === this.direction ? "bottom" : "top", "0"), st({
35171
- width: "".concat(r, "px"),
35545
+ width: "".concat(n, "px"),
35172
35546
  height: "".concat(i, "px")
35173
35547
  }, t);
35174
35548
  },
@@ -35194,15 +35568,15 @@
35194
35568
  },
35195
35569
  dots: function dots() {
35196
35570
  var t = this;
35197
- return this.control.dotsPos.map(function (e, n) {
35571
+ return this.control.dotsPos.map(function (e, r) {
35198
35572
  return st({
35199
35573
  pos: e,
35200
- index: n,
35201
- value: t.control.dotsValue[n],
35202
- focus: t.states.has(mt.Focus) && t.focusDotIndex === n,
35574
+ index: r,
35575
+ value: t.control.dotsValue[r],
35576
+ focus: t.states.has(mt.Focus) && t.focusDotIndex === r,
35203
35577
  disabled: t.disabled,
35204
35578
  style: t.dotStyle
35205
- }, (Array.isArray(t.dotOptions) ? t.dotOptions[n] : t.dotOptions) || {});
35579
+ }, (Array.isArray(t.dotOptions) ? t.dotOptions[r] : t.dotOptions) || {});
35206
35580
  });
35207
35581
  },
35208
35582
  animateTime: function animateTime() {
@@ -35220,22 +35594,22 @@
35220
35594
  sliderMarks: function sliderMarks() {
35221
35595
  var t = this;
35222
35596
  return this.marks ? this.marks : this.isObjectArrayData(this.data) ? function (e) {
35223
- var n = {
35597
+ var r = {
35224
35598
  label: e
35225
35599
  };
35226
- return t.data.some(function (r) {
35227
- return r[t.dataValue] === e && (n.label = r[t.dataLabel], !0);
35228
- }), n;
35600
+ return t.data.some(function (n) {
35601
+ return n[t.dataValue] === e && (r.label = n[t.dataLabel], !0);
35602
+ }), r;
35229
35603
  } : this.isObjectData(this.data) ? this.data : void 0;
35230
35604
  },
35231
35605
  sliderTooltipFormatter: function sliderTooltipFormatter() {
35232
35606
  var t = this;
35233
35607
  if (this.tooltipFormatter) return this.tooltipFormatter;
35234
35608
  if (this.isObjectArrayData(this.data)) return function (e) {
35235
- var n = "" + e;
35236
- return t.data.some(function (r) {
35237
- return r[t.dataValue] === e && (n = r[t.dataLabel], !0);
35238
- }), n;
35609
+ var r = "" + e;
35610
+ return t.data.some(function (n) {
35611
+ return n[t.dataValue] === e && (r = n[t.dataLabel], !0);
35612
+ }), r;
35239
35613
  };
35240
35614
  if (this.isObjectData(this.data)) {
35241
35615
  var e = this.data;
@@ -35246,8 +35620,8 @@
35246
35620
  },
35247
35621
  isNotSync: function isNotSync() {
35248
35622
  var t = this.control.dotsValue;
35249
- return Array.isArray(this.modelValue) ? this.modelValue.length !== t.length || this.modelValue.some(function (e, n) {
35250
- return e !== t[n];
35623
+ return Array.isArray(this.modelValue) ? this.modelValue.length !== t.length || this.modelValue.some(function (e, r) {
35624
+ return e !== t[r];
35251
35625
  }) : this.modelValue !== t[0];
35252
35626
  },
35253
35627
  dragRange: function dragRange() {
@@ -35283,7 +35657,7 @@
35283
35657
  },
35284
35658
  initControl: function initControl() {
35285
35659
  var t = this;
35286
- this.control = new K({
35660
+ this.control = new Z({
35287
35661
  value: this.modelValue,
35288
35662
  data: this.sliderData,
35289
35663
  enableCross: this.enableCross,
@@ -35301,9 +35675,9 @@
35301
35675
  dotOptions: this.dotOptions,
35302
35676
  onError: this.emitError
35303
35677
  }), ["data", "enableCross", "fixed", "max", "min", "interval", "minRange", "maxRange", "order", "marks", "process", "adsorb", "included", "dotOptions"].forEach(function (e) {
35304
- t.$watch(e, function (n) {
35305
- if ("data" === e && Array.isArray(t.control.data) && Array.isArray(n) && t.control.data.length === n.length && n.every(function (e, n) {
35306
- return e === t.control.data[n];
35678
+ t.$watch(e, function (r) {
35679
+ if ("data" === e && Array.isArray(t.control.data) && Array.isArray(r) && t.control.data.length === r.length && r.every(function (e, r) {
35680
+ return e === t.control.data[r];
35307
35681
  })) return !1;
35308
35682
  switch (e) {
35309
35683
  case "data":
@@ -35315,7 +35689,7 @@
35315
35689
  t.control.marks = t.sliderMarks;
35316
35690
  break;
35317
35691
  default:
35318
- t.control[e] = n;
35692
+ t.control[e] = r;
35319
35693
  }
35320
35694
  ["data", "max", "min", "interval"].indexOf(e) > -1 && t.control.syncDotsPos();
35321
35695
  });
@@ -35329,8 +35703,8 @@
35329
35703
  }
35330
35704
  },
35331
35705
  isDiff: function isDiff(t, e) {
35332
- return t.length !== e.length || t.some(function (t, n) {
35333
- return t !== e[n];
35706
+ return t.length !== e.length || t.some(function (t, r) {
35707
+ return t !== e[r];
35334
35708
  });
35335
35709
  },
35336
35710
  emitError: function emitError(t, e) {
@@ -35340,9 +35714,9 @@
35340
35714
  if (this.dragOnClick) {
35341
35715
  this.setScale();
35342
35716
  var e = this.getPosByEvent(t),
35343
- n = this.control.getRecentDot(e);
35344
- if (this.dots[n].disabled) return;
35345
- this.dragStart(n), this.control.setDotPos(e, this.focusDotIndex), this.lazy || this.syncValueByPos();
35717
+ r = this.control.getRecentDot(e);
35718
+ if (this.dots[r].disabled) return;
35719
+ this.dragStart(r), this.control.setDotPos(e, this.focusDotIndex), this.lazy || this.syncValueByPos();
35346
35720
  }
35347
35721
  },
35348
35722
  dragStart: function dragStart(t) {
@@ -35353,16 +35727,16 @@
35353
35727
  t.preventDefault();
35354
35728
  var e = this.getPosByEvent(t);
35355
35729
  this.isCrossDot(e), this.control.setDotPos(e, this.focusDotIndex), this.lazy || this.syncValueByPos();
35356
- var n = this.control.dotsValue;
35357
- this.$emit("dragging", 1 === n.length ? n[0] : et(n), this.focusDotIndex);
35730
+ var r = this.control.dotsValue;
35731
+ this.$emit("dragging", 1 === r.length ? r[0] : et(r), this.focusDotIndex);
35358
35732
  },
35359
35733
  isCrossDot: function isCrossDot(t) {
35360
35734
  if (this.canSort) {
35361
35735
  var e = this.focusDotIndex,
35362
- n = t;
35363
- if (n > this.dragRange[1] ? (n = this.dragRange[1], this.focusDotIndex++) : n < this.dragRange[0] && (n = this.dragRange[0], this.focusDotIndex--), e !== this.focusDotIndex) {
35364
- var r = this.$refs["dot-".concat(this.focusDotIndex)];
35365
- r && r.$el && r.$el.focus(), this.control.setDotPos(n, e);
35736
+ r = t;
35737
+ if (r > this.dragRange[1] ? (r = this.dragRange[1], this.focusDotIndex++) : r < this.dragRange[0] && (r = this.dragRange[0], this.focusDotIndex--), e !== this.focusDotIndex) {
35738
+ var n = this.$refs["dot-".concat(this.focusDotIndex)];
35739
+ n && n.$el && n.$el.focus(), this.control.setDotPos(r, e);
35366
35740
  }
35367
35741
  }
35368
35742
  },
@@ -35405,44 +35779,44 @@
35405
35779
  },
35406
35780
  setIndex: function setIndex(t) {
35407
35781
  var e = this,
35408
- n = Array.isArray(t) ? t.map(function (t) {
35782
+ r = Array.isArray(t) ? t.map(function (t) {
35409
35783
  return e.control.getValueByIndex(t);
35410
35784
  }) : this.control.getValueByIndex(t);
35411
- this.setValue(n);
35785
+ this.setValue(r);
35412
35786
  },
35413
35787
  setValueByPos: function setValueByPos(t) {
35414
35788
  var e = this,
35415
- n = this.control.getRecentDot(t);
35416
- if (this.disabled || this.dots[n].disabled) return !1;
35417
- this.focusDotIndex = n, this.control.setDotPos(t, n), this.syncValueByPos(), this.useKeyboard && this.states.add(mt.Focus), setTimeout(function () {
35789
+ r = this.control.getRecentDot(t);
35790
+ if (this.disabled || this.dots[r].disabled) return !1;
35791
+ this.focusDotIndex = r, this.control.setDotPos(t, r), this.syncValueByPos(), this.useKeyboard && this.states.add(mt.Focus), setTimeout(function () {
35418
35792
  e.included && e.isNotSync ? e.control.setValue(e.modelValue) : e.control.syncDotsPos();
35419
35793
  });
35420
35794
  },
35421
35795
  keydownHandle: function keydownHandle(t) {
35422
35796
  var e = this;
35423
35797
  if (!this.useKeyboard || !this.states.has(mt.Focus)) return !1;
35424
- var n = this.included && this.marks,
35425
- r = O(t, {
35798
+ var r = this.included && this.marks,
35799
+ n = w(t, {
35426
35800
  direction: this.direction,
35427
- max: n ? this.control.markList.length - 1 : this.control.total,
35801
+ max: r ? this.control.markList.length - 1 : this.control.total,
35428
35802
  min: 0,
35429
35803
  hook: this.keydownHook
35430
35804
  });
35431
- if (r) {
35805
+ if (n) {
35432
35806
  t.preventDefault();
35433
35807
  var i = -1,
35434
35808
  o = 0;
35435
- n ? (this.control.markList.some(function (t, n) {
35436
- return t.value === e.control.dotsValue[e.focusDotIndex] && (i = r(n), !0);
35437
- }), i < 0 ? i = 0 : i > this.control.markList.length - 1 && (i = this.control.markList.length - 1), o = this.control.markList[i].pos) : (i = r(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])), o = this.control.parseValue(this.control.getValueByIndex(i))), this.isCrossDot(o), this.control.setDotPos(o, this.focusDotIndex), this.syncValueByPos();
35809
+ r ? (this.control.markList.some(function (t, r) {
35810
+ return t.value === e.control.dotsValue[e.focusDotIndex] && (i = n(r), !0);
35811
+ }), i < 0 ? i = 0 : i > this.control.markList.length - 1 && (i = this.control.markList.length - 1), o = this.control.markList[i].pos) : (i = n(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])), o = this.control.parseValue(this.control.getValueByIndex(i))), this.isCrossDot(o), this.control.setDotPos(o, this.focusDotIndex), this.syncValueByPos();
35438
35812
  }
35439
35813
  },
35440
35814
  getPosByEvent: function getPosByEvent(t) {
35441
35815
  return P(t, this.$el, this.isReverse, this.zoom)[this.isHorizontal ? "x" : "y"] / this.scale;
35442
35816
  },
35443
- renderSlot: function renderSlot(t, e, n) {
35444
- var r = this.$slots[t];
35445
- return r ? r(e) : n;
35817
+ renderSlot: function renderSlot(t, e, r) {
35818
+ var n = this.$slots[t];
35819
+ return n ? n(e) : r;
35446
35820
  }
35447
35821
  },
35448
35822
  created: function created() {
@@ -35455,22 +35829,20 @@
35455
35829
  this.unbindEvent();
35456
35830
  }
35457
35831
  });
35458
- var gt = (0, f.Z)(vt, [["render", l]]);
35459
- var bt = gt;
35460
- bt.VueSliderMark = k, bt.VueSliderDot = m;
35461
- var kt = bt,
35832
+ var bt = (0, f.Z)(yt, [["render", l]]);
35833
+ var gt = bt;
35834
+ gt.VueSliderMark = k, gt.VueSliderDot = m;
35835
+ var kt = gt,
35462
35836
  St = kt;
35463
35837
  }(), i = i["default"], i;
35464
35838
  }();
35465
35839
  });
35466
35840
  });
35841
+ var VueSlider = unwrapExports(vueSliderComponent_umd_min);
35467
35842
 
35468
- var css_248z = ".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip{visibility:visible}.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%, -100%);transform:translate(-50%, -100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%, 100%);transform:translate(-50%, 100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%, -50%);transform:translate(-100%, -50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}\n.vue-slider-marks{position:relative;width:100%;height:100%}.vue-slider-mark{position:absolute;z-index:1}.vue-slider-ltr .vue-slider-mark,.vue-slider-rtl .vue-slider-mark{width:0;height:100%;top:50%}.vue-slider-ltr .vue-slider-mark-step,.vue-slider-rtl .vue-slider-mark-step{top:0}.vue-slider-ltr .vue-slider-mark-label,.vue-slider-rtl .vue-slider-mark-label{top:100%;margin-top:10px}.vue-slider-ltr .vue-slider-mark{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.vue-slider-ltr .vue-slider-mark-step{left:0}.vue-slider-ltr .vue-slider-mark-label{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vue-slider-rtl .vue-slider-mark{-webkit-transform:translate(50%, -50%);transform:translate(50%, -50%)}.vue-slider-rtl .vue-slider-mark-step{right:0}.vue-slider-rtl .vue-slider-mark-label{right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.vue-slider-ttb .vue-slider-mark,.vue-slider-btt .vue-slider-mark{width:100%;height:0;left:50%}.vue-slider-ttb .vue-slider-mark-step,.vue-slider-btt .vue-slider-mark-step{left:0}.vue-slider-ttb .vue-slider-mark-label,.vue-slider-btt .vue-slider-mark-label{left:100%;margin-left:10px}.vue-slider-btt .vue-slider-mark{-webkit-transform:translate(-50%, 50%);transform:translate(-50%, 50%)}.vue-slider-btt .vue-slider-mark-step{top:0}.vue-slider-btt .vue-slider-mark-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-slider-ttb .vue-slider-mark{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.vue-slider-ttb .vue-slider-mark-step{bottom:0}.vue-slider-ttb .vue-slider-mark-label{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.vue-slider-mark-step,.vue-slider-mark-label{position:absolute}\n.vue-slider{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.vue-slider-rail{position:relative;width:100%;height:100%;-webkit-transition-property:width,height,left,right,top,bottom;transition-property:width,height,left,right,top,bottom}.vue-slider-process{position:absolute;z-index:1}\n";
35843
+ var css_248z = "/* component style */\n.vue-slider-disabled .vue-slider-process {\n background-color: #a7a7a7;\n}\n.vue-slider-disabled .vue-slider-dot-handle {\n border-color: #a7a7a7;\n}\n.vue-slider-disabled .vue-slider-mark-step-active {\n box-shadow: 0 0 0 2px #a7a7a7;\n}\n\n/* rail style */\n.vue-slider-rail {\n background-color: whitesmoke;\n border-radius: 15px;\n transition: background-color 0.3s;\n}\n.vue-slider:hover .vue-slider-rail {\n background-color: #e1e1e1;\n}\n\n/* process style */\n.vue-slider-process {\n background-color: #9cd5ff;\n border-radius: 15px;\n transition: background-color 0.3s;\n}\n.vue-slider:hover .vue-slider-process {\n background-color: #69c0ff;\n}\n\n/* mark style */\n.vue-slider-mark-step {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n box-shadow: 0 0 0 2px #e8e8e8;\n background-color: #fff;\n}\n.vue-slider-mark-step-active {\n box-shadow: 0 0 0 2px #9cd5ff;\n}\n.vue-slider:hover .vue-slider-mark-step-active {\n box-shadow: 0 0 0 2px #69c0ff;\n}\n\n.vue-slider-mark-label {\n font-size: 12px;\n white-space: nowrap;\n}\n/* dot style */\n.vue-slider-dot-handle {\n cursor: pointer;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #fff;\n border: 2px solid #9cd5ff;\n box-sizing: border-box;\n transition: box-shadow 0.3s, border-color 0.3s;\n}\n.vue-slider:hover .vue-slider-dot-handle {\n border-color: #69c0ff;\n}\n\n.vue-slider-dot-handle-focus {\n border-color: #36abff;\n box-shadow: 0 0 0 5px rgba(54, 171, 255, 0.2);\n}\n.vue-slider:hover .vue-slider-dot-handle-focus {\n border-color: #36abff;\n}\n\n.vue-slider-dot-handle:hover {\n border-color: #36abff;\n}\n.vue-slider:hover .vue-slider-dot-handle:hover {\n border-color: #36abff;\n}\n\n.vue-slider-dot-handle-disabled {\n cursor: not-allowed;\n border-color: #ddd !important;\n}\n\n.vue-slider-dot-tooltip {\n opacity: 0;\n visibility: hidden;\n transition: all 0.3s;\n}\n.vue-slider-dot-tooltip-inner {\n font-size: 14px;\n white-space: nowrap;\n padding: 6px 8px;\n color: #fff;\n border-radius: 5px;\n border-color: rgba(0, 0, 0, 0.75);\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n transform: scale(0.9);\n transition: transform 0.3s;\n}\n.vue-slider-dot-tooltip-inner::after {\n content: \"\";\n position: absolute;\n}\n.vue-slider-dot-tooltip-inner-top::after {\n top: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-top-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-bottom::after {\n bottom: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-bottom-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-left::after {\n left: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-left-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-right::after {\n right: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-right-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-top {\n transform-origin: 50% 100%;\n}\n.vue-slider-dot-tooltip-inner-bottom {\n transform-origin: 50% 0;\n}\n.vue-slider-dot-tooltip-inner-left {\n transform-origin: 100% 50%;\n}\n.vue-slider-dot-tooltip-inner-right {\n transform-origin: 0% 50%;\n}\n\n.vue-slider-dot:hover .vue-slider-dot-tooltip, .vue-slider-dot-tooltip-show {\n opacity: 1;\n visibility: visible;\n}\n.vue-slider-dot:hover .vue-slider-dot-tooltip .vue-slider-dot-tooltip-inner, .vue-slider-dot-tooltip-show .vue-slider-dot-tooltip-inner {\n transform: scale(1);\n}\n";
35469
35844
  styleInject(css_248z);
35470
35845
 
35471
- var css_248z$1 = "/* component style */\n.vue-slider-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n/* rail style */\n.vue-slider-rail {\n background-color: #ccc;\n border-radius: 15px;\n}\n\n/* process style */\n.vue-slider-process {\n background-color: #3498db;\n border-radius: 15px;\n}\n\n/* mark style */\n.vue-slider-mark {\n z-index: 4;\n}\n.vue-slider-mark:first-child .vue-slider-mark-step, .vue-slider-mark:last-child .vue-slider-mark-step {\n display: none;\n}\n.vue-slider-mark-step {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.16);\n}\n.vue-slider-mark-label {\n font-size: 14px;\n white-space: nowrap;\n}\n/* dot style */\n.vue-slider-dot-handle {\n cursor: pointer;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #fff;\n box-sizing: border-box;\n box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);\n}\n.vue-slider-dot-handle-focus {\n box-shadow: 0px 0px 1px 2px rgba(52, 152, 219, 0.36);\n}\n\n.vue-slider-dot-handle-disabled {\n cursor: not-allowed;\n background-color: #ccc;\n}\n\n.vue-slider-dot-tooltip-inner {\n font-size: 14px;\n white-space: nowrap;\n padding: 2px 5px;\n min-width: 20px;\n text-align: center;\n color: #fff;\n border-radius: 5px;\n border-color: #3498db;\n background-color: #3498db;\n box-sizing: content-box;\n}\n.vue-slider-dot-tooltip-inner::after {\n content: \"\";\n position: absolute;\n}\n.vue-slider-dot-tooltip-inner-top::after {\n top: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-top-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-bottom::after {\n bottom: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-bottom-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-left::after {\n left: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-left-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-right::after {\n right: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-right-color: inherit;\n}\n\n.vue-slider-dot-tooltip-wrapper {\n opacity: 0;\n transition: all 0.3s;\n}\n.vue-slider-dot-tooltip-wrapper-show {\n opacity: 1;\n}\n";
35472
- styleInject(css_248z$1);
35473
-
35474
35846
  // client only component
35475
35847
  // render the placeholder slot on SSR
35476
35848
  // you can manually control exactly when to show the component by the isShow prop
@@ -35840,7 +36212,7 @@
35840
36212
  "class": getClassName$a(_this4.$props.innerClass, 'slider')
35841
36213
  }, {
35842
36214
  "default": function _default() {
35843
- return [vue.createVNode(vueSliderComponent_umd_min, vue.mergeProps({
36215
+ return [vue.createVNode(VueSlider, vue.mergeProps({
35844
36216
  "ref": "slider",
35845
36217
  "modelValue": [Math.floor(Math.max(start, _this4.currentValue[0])), Math.ceil(Math.min(end, _this4.currentValue[1]))],
35846
36218
  "min": Math.floor(Math.min(start, _this4.currentValue[0])),
@@ -36557,7 +36929,7 @@
36557
36929
  "class": getClassName$d(_this2.$props.innerClass, 'slider')
36558
36930
  }, {
36559
36931
  "default": function _default() {
36560
- return [vue.createVNode(vueSliderComponent_umd_min, vue.mergeProps({
36932
+ return [vue.createVNode(VueSlider, vue.mergeProps({
36561
36933
  "ref": "slider",
36562
36934
  "modelValue": _this2.currentValue,
36563
36935
  "min": _this2.$props.range.start,
@@ -40187,8 +40559,8 @@
40187
40559
  }, null, 4 /* STYLE */), vue.createElementVNode("div", _hoisted_1$1, [vue.renderSlot(_ctx.$slots, "default")]), vue.renderSlot(_ctx.$slots, "visible")], 2 /* CLASS */);
40188
40560
  }
40189
40561
 
40190
- var css_248z$2 = "\n.vue-map {\n width: 100%;\n height: 100%;\n min-height: 2rem;\n}\n";
40191
- styleInject(css_248z$2);
40562
+ var css_248z$1 = "\n.vue-map {\n width: 100%;\n height: 100%;\n min-height: 2rem;\n}\n";
40563
+ styleInject(css_248z$1);
40192
40564
 
40193
40565
  script$3.render = render$3;
40194
40566
  script$3.__file = "node_modules/vue-google-maps-community-fork/src/components/map.vue";
@@ -43994,7 +44366,7 @@
43994
44366
  }, queryString, renderFunction);
43995
44367
  }
43996
44368
 
43997
- var version = "3.1.0-alpha.2";
44369
+ var version = "3.1.0-alpha.3";
43998
44370
 
43999
44371
  var components = [RLConnected, ResultCard, ResultList, ReactiveBase, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4, TreeListConnected, AIConnected];
44000
44372
  function install$1 (Vue) {