@appbaseio/reactivesearch-vue 1.33.6 → 1.33.8

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 (39) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +455 -757
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +6 -11
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{DataSearch-de3b7c47.js → DataSearch-57d44eca.js} +4 -0
  6. package/dist/cjs/DataSearch.js +1 -1
  7. package/dist/cjs/DynamicRangeSlider.js +6 -3
  8. package/dist/cjs/MultiDropdownList.js +6 -3
  9. package/dist/cjs/MultiList.js +6 -4
  10. package/dist/cjs/MultiRange.js +3 -0
  11. package/dist/cjs/RangeSlider.js +3 -0
  12. package/dist/cjs/{ReactiveComponent-71def4c6.js → ReactiveComponent-f51e4519.js} +10 -4
  13. package/dist/cjs/ReactiveComponent.js +2 -2
  14. package/dist/cjs/ReactiveList.js +12 -1
  15. package/dist/cjs/SingleDropdownList.js +5 -3
  16. package/dist/cjs/SingleList.js +6 -4
  17. package/dist/cjs/SingleRange.js +3 -0
  18. package/dist/cjs/ToggleButton.js +2 -0
  19. package/dist/cjs/index.js +2 -2
  20. package/dist/cjs/install.js +2 -2
  21. package/dist/cjs/version.js +1 -1
  22. package/dist/es/{DataSearch-06d0273d.js → DataSearch-8a195d63.js} +4 -0
  23. package/dist/es/DataSearch.js +1 -1
  24. package/dist/es/DynamicRangeSlider.js +6 -3
  25. package/dist/es/MultiDropdownList.js +6 -3
  26. package/dist/es/MultiList.js +6 -4
  27. package/dist/es/MultiRange.js +3 -0
  28. package/dist/es/RangeSlider.js +3 -0
  29. package/dist/es/{ReactiveComponent-1671403c.js → ReactiveComponent-9ae8b96c.js} +10 -4
  30. package/dist/es/ReactiveComponent.js +2 -2
  31. package/dist/es/ReactiveList.js +12 -1
  32. package/dist/es/SingleDropdownList.js +5 -3
  33. package/dist/es/SingleList.js +6 -4
  34. package/dist/es/SingleRange.js +3 -0
  35. package/dist/es/ToggleButton.js +2 -0
  36. package/dist/es/index.js +2 -2
  37. package/dist/es/install.js +2 -2
  38. package/dist/es/version.js +1 -1
  39. package/package.json +2 -2
@@ -3035,13 +3035,13 @@
3035
3035
  value: true
3036
3036
  });
3037
3037
  var dateFormats = {
3038
- date: 'yyyy-MM-dd',
3039
- basic_date: 'yyyyMMdd',
3040
- basic_date_time: "yyyyMMdd'T'HHmmss.fffzzz",
3041
- basic_date_time_no_millis: "yyyyMMdd'T'HHmmsszzz",
3042
- date_time_no_millis: "yyyy-MM-dd'T'HH:mm:sszzz",
3043
- basic_time: 'HHmmss.fffzzz',
3044
- basic_time_no_millis: 'HHmmsszzz',
3038
+ date: 'YYYY-MM-DD',
3039
+ basic_date: 'YYYYMMDD',
3040
+ basic_date_time: 'YYYYMMDD[T]HHmmss.SSSZ',
3041
+ basic_date_time_no_millis: 'YYYYMMDD[T]HHmmssZ',
3042
+ date_time_no_millis: 'YYYY-MM-DD[T]HH:mm:ssZ',
3043
+ basic_time: 'HHmmss.SSSZ',
3044
+ basic_time_no_millis: 'HHmmssZ',
3045
3045
  epoch_millis: 'epoch_millis',
3046
3046
  epoch_second: 'epoch_second'
3047
3047
  };
@@ -4571,6 +4571,7 @@
4571
4571
  exports.checkValueChange = checkValueChange;
4572
4572
  exports.getAggsOrder = getAggsOrder;
4573
4573
  exports.formatDate = formatDate;
4574
+ exports.unwrapToNativeDate = unwrapToNativeDate;
4574
4575
  exports.getResultStats = getResultStats;
4575
4576
  exports.extractFieldsFromSource = extractFieldsFromSource;
4576
4577
  exports.normalizeDataField = normalizeDataField;
@@ -4901,18 +4902,24 @@
4901
4902
  }
4902
4903
  switch (props.queryFormat) {
4903
4904
  case 'epoch_millis':
4904
- return date.getTime();
4905
+ return date.valueOf();
4905
4906
  case 'epoch_second':
4906
- return Math.floor(date.getTime() / 1000);
4907
+ return Math.floor(date.valueOf() / 1000);
4907
4908
  default:
4908
4909
  {
4909
4910
  if (_dateFormats2["default"][props.queryFormat]) {
4910
- return date.toString(_dateFormats2["default"][props.queryFormat]);
4911
+ return date.format(_dateFormats2["default"][props.queryFormat]);
4911
4912
  }
4912
- return date.getTime();
4913
+ return date.valueOf();
4913
4914
  }
4914
4915
  }
4915
4916
  }
4917
+ function unwrapToNativeDate(wrappedDateInstance) {
4918
+ if (wrappedDateInstance) {
4919
+ return new Date(wrappedDateInstance.valueOf());
4920
+ }
4921
+ return wrappedDateInstance;
4922
+ }
4916
4923
  var getOptionsFromQuery = function getOptionsFromQuery() {
4917
4924
  var customQuery = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4918
4925
  if (customQuery) {
@@ -5070,13 +5077,15 @@
5070
5077
  size = props.size,
5071
5078
  sortBy = props.sortBy,
5072
5079
  showMissing = props.showMissing,
5073
- missingLabel = props.missingLabel;
5080
+ missingLabel = props.missingLabel,
5081
+ aggregationSize = props.aggregationSize;
5074
5082
  clonedQuery.size = 0;
5075
5083
  if (typeof dataField === 'string') {
5076
5084
  clonedQuery.aggs = _defineProperty({}, dataField, {
5077
5085
  terms: _extends({
5078
5086
  field: dataField,
5079
5087
  size: size,
5088
+ aggregationSize: aggregationSize,
5080
5089
  order: getAggsOrder(sortBy || 'count')
5081
5090
  }, showMissing ? {
5082
5091
  missing: missingLabel
@@ -5089,6 +5098,7 @@
5089
5098
  terms: _extends({
5090
5099
  field: dataFieldItem,
5091
5100
  size: size,
5101
+ aggregationSize: aggregationSize,
5092
5102
  order: getAggsOrder(sortBy || 'count')
5093
5103
  }, showMissing ? {
5094
5104
  missing: missingLabel
@@ -5528,708 +5538,326 @@
5528
5538
  var helper_39 = helper.checkValueChange;
5529
5539
  var helper_40 = helper.getAggsOrder;
5530
5540
  var helper_41 = helper.formatDate;
5531
- var helper_42 = helper.getResultStats;
5532
- var helper_43 = helper.extractFieldsFromSource;
5533
- var helper_44 = helper.normalizeDataField;
5534
- var helper_45 = helper.handleOnSuggestions;
5535
- var helper_46 = helper.isValidDateRangeQueryFormat;
5536
- var helper_47 = helper.setDeep;
5537
-
5538
- var xdate = createCommonjsModule(function (module) {
5539
- /**
5540
- * @preserve XDate v@VERSION
5541
- * Docs & Licensing: http://arshaw.com/xdate/
5542
- */
5543
-
5544
- /*
5545
- * Internal Architecture
5546
- * ---------------------
5547
- * An XDate wraps a native Date. The native Date is stored in the '0' property of the object.
5548
- * UTC-mode is determined by whether the internal native Date's toString method is set to
5549
- * Date.prototype.toUTCString (see getUTCMode).
5550
- *
5551
- */
5552
-
5553
- var XDate = function (Date, Math, Array, undefined$1) {
5554
- /** @const */var FULLYEAR = 0;
5555
- /** @const */
5556
- var MONTH = 1;
5557
- /** @const */
5558
- var DATE = 2;
5559
- /** @const */
5560
- var HOURS = 3;
5561
- /** @const */
5562
- var MINUTES = 4;
5563
- /** @const */
5564
- var SECONDS = 5;
5565
- /** @const */
5566
- var MILLISECONDS = 6;
5567
- /** @const */
5568
- var DAY = 7;
5569
- /** @const */
5570
- var YEAR = 8;
5571
- /** @const */
5572
- var DAY_MS = 86400000;
5573
- var ISO_FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ss(.fff)";
5574
- var ISO_FORMAT_STRING_TZ = ISO_FORMAT_STRING + "zzz";
5575
- var methodSubjects = ['FullYear',
5576
- // 0
5577
- 'Month',
5578
- // 1
5579
- 'Date',
5580
- // 2
5581
- 'Hours',
5582
- // 3
5583
- 'Minutes',
5584
- // 4
5585
- 'Seconds',
5586
- // 5
5587
- 'Milliseconds',
5588
- // 6
5589
- 'Day',
5590
- // 7
5591
- 'Year' // 8
5592
- ];
5593
-
5594
- var subjectPlurals = ['Years',
5595
- // 0
5596
- 'Months',
5597
- // 1
5598
- 'Days' // 2
5599
- ];
5600
-
5601
- var unitsWithin = [12,
5602
- // months in year
5603
- 31,
5604
- // days in month (sort of)
5605
- 24,
5606
- // hours in day
5607
- 60,
5608
- // minutes in hour
5609
- 60,
5610
- // seconds in minute
5611
- 1000,
5612
- // milliseconds in second
5613
- 1 //
5614
- ];
5615
-
5616
- var formatStringRE = new RegExp("(([a-zA-Z])\\2*)|" +
5617
- // 1, 2
5618
- "(\\(" + "(('.*?'|\\(.*?\\)|.)*?)" + "\\))|" +
5619
- // 3, 4, 5 (allows for 1 level of inner quotes or parens)
5620
- "('(.*?)')" // 6, 7
5621
- );
5622
-
5623
- var UTC = Date.UTC;
5624
- var toUTCString = Date.prototype.toUTCString;
5625
- var proto = XDate.prototype;
5626
-
5627
- // This makes an XDate look pretty in Firebug and Web Inspector.
5628
- // It makes an XDate seem array-like, and displays [ <internal-date>.toString() ]
5629
- proto.length = 1;
5630
- proto.splice = Array.prototype.splice;
5631
-
5632
- /* Constructor
5633
- ---------------------------------------------------------------------------------*/
5634
-
5635
- // TODO: in future, I'd change signature for the constructor regarding the `true` utc-mode param. ~ashaw
5636
- // I'd move the boolean to be the *first* argument. Still optional. Seems cleaner.
5637
- // I'd remove it from the `xdate`, `nativeDate`, and `milliseconds` constructors.
5638
- // (because you can simply call .setUTCMode(true) after)
5639
- // And I'd only leave it for the y/m/d/h/m/s/m and `dateString` constructors
5640
- // (because those are the only constructors that need it for DST-gap data-loss reasons)
5641
- // Should do this for 1.0
5642
-
5643
- function XDate() {
5644
- return init(this instanceof XDate ? this : new XDate(), arguments);
5645
- }
5646
- function init(xdate, args) {
5647
- var len = args.length;
5648
- var utcMode;
5649
- if (isBoolean(args[len - 1])) {
5650
- utcMode = args[--len];
5651
- args = slice(args, 0, len);
5652
- }
5653
- if (!len) {
5654
- xdate[0] = new Date();
5655
- } else if (len == 1) {
5656
- var arg = args[0];
5657
- if (arg instanceof Date) {
5658
- xdate[0] = new Date(arg.getTime());
5659
- } else if (isNumber(arg)) {
5660
- xdate[0] = new Date(arg);
5661
- } else if (arg instanceof XDate) {
5662
- xdate[0] = _clone(arg);
5663
- } else if (isString(arg)) {
5664
- xdate[0] = new Date(0);
5665
- xdate = parse(arg, utcMode || false, xdate);
5666
- }
5667
- } else {
5668
- xdate[0] = new Date(UTC.apply(Date, args));
5669
- if (!utcMode) {
5670
- xdate[0] = coerceToLocal(xdate[0]);
5671
- }
5672
- }
5673
- if (isBoolean(utcMode)) {
5674
- setUTCMode(xdate, utcMode);
5675
- }
5676
- return xdate;
5677
- }
5678
-
5679
- /* UTC Mode Methods
5680
- ---------------------------------------------------------------------------------*/
5681
-
5682
- proto.getUTCMode = methodize(getUTCMode);
5683
- function getUTCMode(xdate) {
5684
- return xdate[0].toString === toUTCString;
5685
- }
5686
- proto.setUTCMode = methodize(setUTCMode);
5687
- function setUTCMode(xdate, utcMode, doCoercion) {
5688
- if (utcMode) {
5689
- if (!getUTCMode(xdate)) {
5690
- if (doCoercion) {
5691
- xdate[0] = coerceToUTC(xdate[0]);
5692
- }
5693
- xdate[0].toString = toUTCString;
5541
+ var helper_42 = helper.unwrapToNativeDate;
5542
+ var helper_43 = helper.getResultStats;
5543
+ var helper_44 = helper.extractFieldsFromSource;
5544
+ var helper_45 = helper.normalizeDataField;
5545
+ var helper_46 = helper.handleOnSuggestions;
5546
+ var helper_47 = helper.isValidDateRangeQueryFormat;
5547
+ var helper_48 = helper.setDeep;
5548
+
5549
+ var dayjs_min = createCommonjsModule(function (module, exports) {
5550
+ !function (t, e) {
5551
+ module.exports = e() ;
5552
+ }(commonjsGlobal, function () {
5553
+
5554
+ var t = 1e3,
5555
+ e = 6e4,
5556
+ n = 36e5,
5557
+ r = "millisecond",
5558
+ i = "second",
5559
+ s = "minute",
5560
+ u = "hour",
5561
+ a = "day",
5562
+ o = "week",
5563
+ f = "month",
5564
+ h = "quarter",
5565
+ c = "year",
5566
+ d = "date",
5567
+ l = "Invalid Date",
5568
+ $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
5569
+ y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
5570
+ M = {
5571
+ name: "en",
5572
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
5573
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
5574
+ ordinal: function ordinal(t) {
5575
+ var e = ["th", "st", "nd", "rd"],
5576
+ n = t % 100;
5577
+ return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
5694
5578
  }
5695
- } else {
5696
- if (getUTCMode(xdate)) {
5697
- if (doCoercion) {
5698
- xdate[0] = coerceToLocal(xdate[0]);
5699
- } else {
5700
- xdate[0] = new Date(xdate[0].getTime());
5701
- }
5702
- // toString will have been cleared
5703
- }
5704
- }
5705
-
5706
- return xdate; // for chaining
5707
- }
5708
-
5709
- proto.getTimezoneOffset = function () {
5710
- if (getUTCMode(this)) {
5711
- return 0;
5712
- } else {
5713
- return this[0].getTimezoneOffset();
5714
- }
5715
- };
5716
-
5717
- /* get / set / add / diff Methods (except for week-related)
5718
- ---------------------------------------------------------------------------------*/
5719
-
5720
- each(methodSubjects, function (subject, fieldIndex) {
5721
- proto['get' + subject] = function () {
5722
- return _getField(this[0], getUTCMode(this), fieldIndex);
5723
- };
5724
- if (fieldIndex != YEAR) {
5725
- // because there is no getUTCYear
5726
-
5727
- proto['getUTC' + subject] = function () {
5728
- return _getField(this[0], true, fieldIndex);
5729
- };
5730
- }
5731
- if (fieldIndex != DAY) {
5732
- // because there is no setDay or setUTCDay
5733
- // and the add* and diff* methods use DATE instead
5734
-
5735
- proto['set' + subject] = function (value) {
5736
- _set(this, fieldIndex, value, arguments, getUTCMode(this));
5737
- return this; // for chaining
5738
- };
5739
-
5740
- if (fieldIndex != YEAR) {
5741
- // because there is no setUTCYear
5742
- // and the add* and diff* methods use FULLYEAR instead
5743
-
5744
- proto['setUTC' + subject] = function (value) {
5745
- _set(this, fieldIndex, value, arguments, true);
5746
- return this; // for chaining
5747
- };
5748
-
5749
- proto['add' + (subjectPlurals[fieldIndex] || subject)] = function (delta, preventOverflow) {
5750
- _add(this, fieldIndex, delta, preventOverflow);
5751
- return this; // for chaining
5752
- };
5753
-
5754
- proto['diff' + (subjectPlurals[fieldIndex] || subject)] = function (otherDate) {
5755
- return _diff(this, otherDate, fieldIndex);
5756
- };
5579
+ },
5580
+ m = function m(t, e, n) {
5581
+ var r = String(t);
5582
+ return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
5583
+ },
5584
+ v = {
5585
+ s: m,
5586
+ z: function z(t) {
5587
+ var e = -t.utcOffset(),
5588
+ n = Math.abs(e),
5589
+ r = Math.floor(n / 60),
5590
+ i = n % 60;
5591
+ return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
5592
+ },
5593
+ m: function t(e, n) {
5594
+ if (e.date() < n.date()) return -t(n, e);
5595
+ var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
5596
+ i = e.clone().add(r, f),
5597
+ s = n - i < 0,
5598
+ u = e.clone().add(r + (s ? -1 : 1), f);
5599
+ return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
5600
+ },
5601
+ a: function a(t) {
5602
+ return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
5603
+ },
5604
+ p: function p(t) {
5605
+ return {
5606
+ M: f,
5607
+ y: c,
5608
+ w: o,
5609
+ d: a,
5610
+ D: d,
5611
+ h: u,
5612
+ m: s,
5613
+ s: i,
5614
+ ms: r,
5615
+ Q: h
5616
+ }[t] || String(t || "").toLowerCase().replace(/s$/, "");
5617
+ },
5618
+ u: function u(t) {
5619
+ return void 0 === t;
5757
5620
  }
5758
- }
5759
- });
5760
- function _set(xdate, fieldIndex, value, args, useUTC) {
5761
- var getField = curry(_getField, xdate[0], useUTC);
5762
- var setField = curry(_setField, xdate[0], useUTC);
5763
- var expectedMonth;
5764
- var preventOverflow = false;
5765
- if (args.length == 2 && isBoolean(args[1])) {
5766
- preventOverflow = args[1];
5767
- args = [value];
5768
- }
5769
- if (fieldIndex == MONTH) {
5770
- expectedMonth = (value % 12 + 12) % 12;
5771
- } else {
5772
- expectedMonth = getField(MONTH);
5773
- }
5774
- setField(fieldIndex, args);
5775
- if (preventOverflow && getField(MONTH) != expectedMonth) {
5776
- setField(MONTH, [getField(MONTH) - 1]);
5777
- setField(DATE, [getDaysInMonth(getField(FULLYEAR), getField(MONTH))]);
5778
- }
5779
- }
5780
- function _add(xdate, fieldIndex, delta, preventOverflow) {
5781
- delta = Number(delta);
5782
- var intDelta = Math.floor(delta);
5783
- xdate['set' + methodSubjects[fieldIndex]](xdate['get' + methodSubjects[fieldIndex]]() + intDelta, preventOverflow || false);
5784
- if (intDelta != delta && fieldIndex < MILLISECONDS) {
5785
- _add(xdate, fieldIndex + 1, (delta - intDelta) * unitsWithin[fieldIndex], preventOverflow);
5786
- }
5787
- }
5788
- function _diff(xdate1, xdate2, fieldIndex) {
5789
- // fieldIndex=FULLYEAR is for years, fieldIndex=DATE is for days
5790
- xdate1 = xdate1.clone().setUTCMode(true, true);
5791
- xdate2 = XDate(xdate2).setUTCMode(true, true);
5792
- var v = 0;
5793
- if (fieldIndex == FULLYEAR || fieldIndex == MONTH) {
5794
- for (var i = MILLISECONDS; i >= fieldIndex; i--) {
5795
- v /= unitsWithin[i];
5796
- v += _getField(xdate2, false, i) - _getField(xdate1, false, i);
5797
- }
5798
- if (fieldIndex == MONTH) {
5799
- v += (xdate2.getFullYear() - xdate1.getFullYear()) * 12;
5800
- }
5801
- } else if (fieldIndex == DATE) {
5802
- var clear1 = xdate1.toDate().setUTCHours(0, 0, 0, 0); // returns an ms value
5803
- var clear2 = xdate2.toDate().setUTCHours(0, 0, 0, 0); // returns an ms value
5804
- v = Math.round((clear2 - clear1) / DAY_MS) + (xdate2 - clear2 - (xdate1 - clear1)) / DAY_MS;
5805
- } else {
5806
- v = (xdate2 - xdate1) / [3600000,
5807
- // milliseconds in hour
5808
- 60000,
5809
- // milliseconds in minute
5810
- 1000,
5811
- // milliseconds in second
5812
- 1 //
5813
- ][fieldIndex - 3];
5814
- }
5815
- return v;
5816
- }
5817
-
5818
- /* Week Methods
5819
- ---------------------------------------------------------------------------------*/
5820
-
5821
- proto.getWeek = function () {
5822
- return _getWeek(curry(_getField, this, false));
5823
- };
5824
- proto.getUTCWeek = function () {
5825
- return _getWeek(curry(_getField, this, true));
5826
- };
5827
- proto.setWeek = function (n, year) {
5828
- _setWeek(this, n, year, false);
5829
- return this; // for chaining
5830
- };
5831
-
5832
- proto.setUTCWeek = function (n, year) {
5833
- _setWeek(this, n, year, true);
5834
- return this; // for chaining
5835
- };
5836
-
5837
- proto.addWeeks = function (delta) {
5838
- return this.addDays(Number(delta) * 7);
5839
- };
5840
- proto.diffWeeks = function (otherDate) {
5841
- return _diff(this, otherDate, DATE) / 7;
5842
- };
5843
- function _getWeek(getField) {
5844
- return getWeek(getField(FULLYEAR), getField(MONTH), getField(DATE));
5845
- }
5846
- function getWeek(year, month, date) {
5847
- var d = new Date(UTC(year, month, date));
5848
- var week1 = getWeek1(getWeekYear(year, month, date));
5849
- return Math.floor(Math.round((d - week1) / DAY_MS) / 7) + 1;
5850
- }
5851
- function getWeekYear(year, month, date) {
5852
- // get the year that the date's week # belongs to
5853
- var d = new Date(UTC(year, month, date));
5854
- if (d < getWeek1(year)) {
5855
- return year - 1;
5856
- } else if (d >= getWeek1(year + 1)) {
5857
- return year + 1;
5858
- }
5859
- return year;
5860
- }
5861
- function getWeek1(year) {
5862
- // returns Date of first week of year, in UTC
5863
- var d = new Date(UTC(year, 0, 4));
5864
- d.setUTCDate(d.getUTCDate() - (d.getUTCDay() + 6) % 7); // make it Monday of the week
5865
- return d;
5866
- }
5867
- function _setWeek(xdate, n, year, useUTC) {
5868
- var getField = curry(_getField, xdate, useUTC);
5869
- var setField = curry(_setField, xdate, useUTC);
5870
- if (year === undefined$1) {
5871
- year = getWeekYear(getField(FULLYEAR), getField(MONTH), getField(DATE));
5872
- }
5873
- var week1 = getWeek1(year);
5874
- if (!useUTC) {
5875
- week1 = coerceToLocal(week1);
5876
- }
5877
- xdate.setTime(week1.getTime());
5878
- setField(DATE, [getField(DATE) + (n - 1) * 7]); // would have used xdate.addUTCWeeks :(
5879
- // n-1 because n is 1-based
5880
- }
5881
-
5882
- /* Parsing
5883
- ---------------------------------------------------------------------------------*/
5884
-
5885
- XDate.parsers = [parseISO];
5886
- XDate.parse = function (str) {
5887
- return +XDate('' + str);
5888
- };
5889
- function parse(str, utcMode, xdate) {
5890
- var parsers = XDate.parsers;
5891
- var i = 0;
5892
- var res;
5893
- for (; i < parsers.length; i++) {
5894
- res = parsers[i](str, utcMode, xdate);
5895
- if (res) {
5896
- return res;
5897
- }
5898
- }
5899
- xdate[0] = new Date(str);
5900
- return xdate;
5901
- }
5902
- function parseISO(str, utcMode, xdate) {
5903
- var m = str.match(/^(\d{4})(-(\d{2})(-(\d{2})([T ](\d{2}):(\d{2})(:(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/);
5904
- if (m) {
5905
- var d = new Date(UTC(m[1], m[3] ? m[3] - 1 : 0, m[5] || 1, m[7] || 0, m[8] || 0, m[10] || 0, m[12] ? Number('0.' + m[12]) * 1000 : 0));
5906
- if (m[13]) {
5907
- // has gmt offset or Z
5908
- if (m[14]) {
5909
- // has gmt offset
5910
- d.setUTCMinutes(d.getUTCMinutes() + (m[15] == '-' ? 1 : -1) * (Number(m[16]) * 60 + (m[18] ? Number(m[18]) : 0)));
5911
- }
5621
+ },
5622
+ g = "en",
5623
+ D = {};
5624
+ D[g] = M;
5625
+ var p = function p(t) {
5626
+ return t instanceof _;
5627
+ },
5628
+ S = function t(e, n, r) {
5629
+ var i;
5630
+ if (!e) return g;
5631
+ if ("string" == typeof e) {
5632
+ var s = e.toLowerCase();
5633
+ D[s] && (i = s), n && (D[s] = n, i = s);
5634
+ var u = e.split("-");
5635
+ if (!i && u.length > 1) return t(u[0]);
5912
5636
  } else {
5913
- // no specified timezone
5914
- if (!utcMode) {
5915
- d = coerceToLocal(d);
5916
- }
5637
+ var a = e.name;
5638
+ D[a] = e, i = a;
5917
5639
  }
5918
- return xdate.setTime(d.getTime());
5919
- }
5920
- }
5921
-
5922
- /* Formatting
5923
- ---------------------------------------------------------------------------------*/
5924
-
5925
- proto.toString = function (formatString, settings, uniqueness) {
5926
- if (formatString === undefined$1 || !valid(this)) {
5927
- return this[0].toString(); // already accounts for utc-mode (might be toUTCString)
5928
- } else {
5929
- return format(this, formatString, settings, uniqueness, getUTCMode(this));
5930
- }
5931
- };
5932
- proto.toUTCString = proto.toGMTString = function (formatString, settings, uniqueness) {
5933
- if (formatString === undefined$1 || !valid(this)) {
5934
- return this[0].toUTCString();
5935
- } else {
5936
- return format(this, formatString, settings, uniqueness, true);
5937
- }
5938
- };
5939
- proto.toISOString = function () {
5940
- return this.toUTCString(ISO_FORMAT_STRING_TZ);
5941
- };
5942
- XDate.defaultLocale = '';
5943
- XDate.locales = {
5944
- '': {
5945
- monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
5946
- monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
5947
- dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
5948
- dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
5949
- amDesignator: 'AM',
5950
- pmDesignator: 'PM'
5951
- }
5952
- };
5953
- XDate.formatters = {
5954
- i: ISO_FORMAT_STRING,
5955
- u: ISO_FORMAT_STRING_TZ
5640
+ return !r && i && (g = i), i || !r && g;
5641
+ },
5642
+ w = function w(t, e) {
5643
+ if (p(t)) return t.clone();
5644
+ var n = "object" == typeof e ? e : {};
5645
+ return n.date = t, n.args = arguments, new _(n);
5646
+ },
5647
+ O = v;
5648
+ O.l = S, O.i = p, O.w = function (t, e) {
5649
+ return w(t, {
5650
+ locale: e.$L,
5651
+ utc: e.$u,
5652
+ x: e.$x,
5653
+ $offset: e.$offset
5654
+ });
5956
5655
  };
5957
- function format(xdate, formatString, settings, uniqueness, useUTC) {
5958
- var locales = XDate.locales;
5959
- var defaultLocaleSettings = locales[XDate.defaultLocale] || {};
5960
- var getField = curry(_getField, xdate, useUTC);
5961
- settings = (isString(settings) ? locales[settings] : settings) || {};
5962
- function getSetting(name) {
5963
- return settings[name] || defaultLocaleSettings[name];
5964
- }
5965
- function getFieldAndTrace(fieldIndex) {
5966
- if (uniqueness) {
5967
- var i = (fieldIndex == DAY ? DATE : fieldIndex) - 1;
5968
- for (; i >= 0; i--) {
5969
- uniqueness.push(getField(i));
5970
- }
5971
- }
5972
- return getField(fieldIndex);
5973
- }
5974
- return _format(xdate, formatString, getFieldAndTrace, getSetting, useUTC);
5975
- }
5976
- function _format(xdate, formatString, getField, getSetting, useUTC) {
5977
- var m;
5978
- var subout;
5979
- var out = '';
5980
- while (m = formatString.match(formatStringRE)) {
5981
- out += formatString.substr(0, m.index);
5982
- if (m[1]) {
5983
- // consecutive alphabetic characters
5984
- out += processTokenString(xdate, m[1], getField, getSetting, useUTC);
5985
- } else if (m[3]) {
5986
- // parenthesis
5987
- subout = _format(xdate, m[4], getField, getSetting, useUTC);
5988
- if (parseInt(subout.replace(/\D/g, ''), 10)) {
5989
- // if any of the numbers are non-zero. or no numbers at all
5990
- out += subout;
5656
+ var _ = function () {
5657
+ function M(t) {
5658
+ this.$L = S(t.locale, null, !0), this.parse(t);
5659
+ }
5660
+ var m = M.prototype;
5661
+ return m.parse = function (t) {
5662
+ this.$d = function (t) {
5663
+ var e = t.date,
5664
+ n = t.utc;
5665
+ if (null === e) return new Date(NaN);
5666
+ if (O.u(e)) return new Date();
5667
+ if (e instanceof Date) return new Date(e);
5668
+ if ("string" == typeof e && !/Z$/i.test(e)) {
5669
+ var r = e.match($);
5670
+ if (r) {
5671
+ var i = r[2] - 1 || 0,
5672
+ s = (r[7] || "0").substring(0, 3);
5673
+ return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
5674
+ }
5675
+ }
5676
+ return new Date(e);
5677
+ }(t), this.$x = t.x || {}, this.init();
5678
+ }, m.init = function () {
5679
+ var t = this.$d;
5680
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
5681
+ }, m.$utils = function () {
5682
+ return O;
5683
+ }, m.isValid = function () {
5684
+ return !(this.$d.toString() === l);
5685
+ }, m.isSame = function (t, e) {
5686
+ var n = w(t);
5687
+ return this.startOf(e) <= n && n <= this.endOf(e);
5688
+ }, m.isAfter = function (t, e) {
5689
+ return w(t) < this.startOf(e);
5690
+ }, m.isBefore = function (t, e) {
5691
+ return this.endOf(e) < w(t);
5692
+ }, m.$g = function (t, e, n) {
5693
+ return O.u(t) ? this[e] : this.set(n, t);
5694
+ }, m.unix = function () {
5695
+ return Math.floor(this.valueOf() / 1e3);
5696
+ }, m.valueOf = function () {
5697
+ return this.$d.getTime();
5698
+ }, m.startOf = function (t, e) {
5699
+ var n = this,
5700
+ r = !!O.u(e) || e,
5701
+ h = O.p(t),
5702
+ l = function l(t, e) {
5703
+ var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
5704
+ return r ? i : i.endOf(a);
5705
+ },
5706
+ $ = function $(t, e) {
5707
+ return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
5708
+ },
5709
+ y = this.$W,
5710
+ M = this.$M,
5711
+ m = this.$D,
5712
+ v = "set" + (this.$u ? "UTC" : "");
5713
+ switch (h) {
5714
+ case c:
5715
+ return r ? l(1, 0) : l(31, 11);
5716
+ case f:
5717
+ return r ? l(1, M) : l(0, M + 1);
5718
+ case o:
5719
+ var g = this.$locale().weekStart || 0,
5720
+ D = (y < g ? y + 7 : y) - g;
5721
+ return l(r ? m - D : m + (6 - D), M);
5722
+ case a:
5723
+ case d:
5724
+ return $(v + "Hours", 0);
5725
+ case u:
5726
+ return $(v + "Minutes", 1);
5727
+ case s:
5728
+ return $(v + "Seconds", 2);
5729
+ case i:
5730
+ return $(v + "Milliseconds", 3);
5731
+ default:
5732
+ return this.clone();
5991
5733
  }
5992
- } else {
5993
- // else if (m[6]) { // single quotes
5994
- out += m[7] || "'"; // if inner is blank, meaning 2 consecutive quotes = literal single quote
5995
- }
5996
-
5997
- formatString = formatString.substr(m.index + m[0].length);
5998
- }
5999
- return out + formatString;
6000
- }
6001
- function processTokenString(xdate, tokenString, getField, getSetting, useUTC) {
6002
- var end = tokenString.length;
6003
- var replacement;
6004
- var out = '';
6005
- while (end > 0) {
6006
- replacement = getTokenReplacement(xdate, tokenString.substr(0, end), getField, getSetting, useUTC);
6007
- if (replacement !== undefined$1) {
6008
- out += replacement;
6009
- tokenString = tokenString.substr(end);
6010
- end = tokenString.length;
6011
- } else {
6012
- end--;
6013
- }
6014
- }
6015
- return out + tokenString;
6016
- }
6017
- function getTokenReplacement(xdate, token, getField, getSetting, useUTC) {
6018
- var formatter = XDate.formatters[token];
6019
- if (isString(formatter)) {
6020
- return _format(xdate, formatter, getField, getSetting, useUTC);
6021
- } else if (isFunction(formatter)) {
6022
- return formatter(xdate, useUTC || false, getSetting);
6023
- }
6024
- switch (token) {
6025
- case 'fff':
6026
- return zeroPad(getField(MILLISECONDS), 3);
6027
- case 's':
6028
- return getField(SECONDS);
6029
- case 'ss':
6030
- return zeroPad(getField(SECONDS));
6031
- case 'm':
6032
- return getField(MINUTES);
6033
- case 'mm':
6034
- return zeroPad(getField(MINUTES));
6035
- case 'h':
6036
- return getField(HOURS) % 12 || 12;
6037
- case 'hh':
6038
- return zeroPad(getField(HOURS) % 12 || 12);
6039
- case 'H':
6040
- return getField(HOURS);
6041
- case 'HH':
6042
- return zeroPad(getField(HOURS));
6043
- case 'd':
6044
- return getField(DATE);
6045
- case 'dd':
6046
- return zeroPad(getField(DATE));
6047
- case 'ddd':
6048
- return getSetting('dayNamesShort')[getField(DAY)] || '';
6049
- case 'dddd':
6050
- return getSetting('dayNames')[getField(DAY)] || '';
6051
- case 'M':
6052
- return getField(MONTH) + 1;
6053
- case 'MM':
6054
- return zeroPad(getField(MONTH) + 1);
6055
- case 'MMM':
6056
- return getSetting('monthNamesShort')[getField(MONTH)] || '';
6057
- case 'MMMM':
6058
- return getSetting('monthNames')[getField(MONTH)] || '';
6059
- case 'yy':
6060
- return (getField(FULLYEAR) + '').substring(2);
6061
- case 'yyyy':
6062
- return getField(FULLYEAR);
6063
- case 't':
6064
- return _getDesignator(getField, getSetting).substr(0, 1).toLowerCase();
6065
- case 'tt':
6066
- return _getDesignator(getField, getSetting).toLowerCase();
6067
- case 'T':
6068
- return _getDesignator(getField, getSetting).substr(0, 1);
6069
- case 'TT':
6070
- return _getDesignator(getField, getSetting);
6071
- case 'z':
6072
- case 'zz':
6073
- case 'zzz':
6074
- return useUTC ? 'Z' : _getTZString(xdate, token);
6075
- case 'w':
6076
- return _getWeek(getField);
6077
- case 'ww':
6078
- return zeroPad(_getWeek(getField));
6079
- case 'S':
6080
- var d = getField(DATE);
6081
- if (d > 10 && d < 20) return 'th';
6082
- return ['st', 'nd', 'rd'][d % 10 - 1] || 'th';
6083
- }
6084
- }
6085
- function _getTZString(xdate, token) {
6086
- var tzo = xdate.getTimezoneOffset();
6087
- var sign = tzo < 0 ? '+' : '-';
6088
- var hours = Math.floor(Math.abs(tzo) / 60);
6089
- var minutes = Math.abs(tzo) % 60;
6090
- var out = hours;
6091
- if (token == 'zz') {
6092
- out = zeroPad(hours);
6093
- } else if (token == 'zzz') {
6094
- out = zeroPad(hours) + ':' + zeroPad(minutes);
6095
- }
6096
- return sign + out;
6097
- }
6098
- function _getDesignator(getField, getSetting) {
6099
- return getField(HOURS) < 12 ? getSetting('amDesignator') : getSetting('pmDesignator');
6100
- }
6101
-
6102
- /* Misc Methods
6103
- ---------------------------------------------------------------------------------*/
6104
-
6105
- each([
6106
- // other getters
6107
- 'getTime', 'valueOf', 'toDateString', 'toTimeString', 'toLocaleString', 'toLocaleDateString', 'toLocaleTimeString', 'toJSON'], function (methodName) {
6108
- proto[methodName] = function () {
6109
- return this[0][methodName]();
6110
- };
6111
- });
6112
- proto.setTime = function (t) {
6113
- this[0].setTime(t);
6114
- return this; // for chaining
6115
- };
6116
-
6117
- proto.valid = methodize(valid);
6118
- function valid(xdate) {
6119
- return !isNaN(xdate[0].getTime());
6120
- }
6121
- proto.clone = function () {
6122
- return new XDate(this);
6123
- };
6124
- proto.clearTime = function () {
6125
- return this.setHours(0, 0, 0, 0); // will return an XDate for chaining
6126
- };
6127
-
6128
- proto.toDate = function () {
6129
- return new Date(this[0].getTime());
6130
- };
6131
-
6132
- /* Misc Class Methods
6133
- ---------------------------------------------------------------------------------*/
6134
-
6135
- XDate.now = function () {
6136
- return new Date().getTime();
6137
- };
6138
- XDate.today = function () {
6139
- return new XDate().clearTime();
6140
- };
6141
- XDate.UTC = UTC;
6142
- XDate.getDaysInMonth = getDaysInMonth;
6143
-
6144
- /* Internal Utilities
6145
- ---------------------------------------------------------------------------------*/
6146
-
6147
- function _clone(xdate) {
6148
- // returns the internal Date object that should be used
6149
- var d = new Date(xdate[0].getTime());
6150
- if (getUTCMode(xdate)) {
6151
- d.toString = toUTCString;
6152
- }
6153
- return d;
6154
- }
6155
- function _getField(d, useUTC, fieldIndex) {
6156
- return d['get' + (useUTC ? 'UTC' : '') + methodSubjects[fieldIndex]]();
6157
- }
6158
- function _setField(d, useUTC, fieldIndex, args) {
6159
- d['set' + (useUTC ? 'UTC' : '') + methodSubjects[fieldIndex]].apply(d, args);
6160
- }
6161
-
6162
- /* Date Math Utilities
6163
- ---------------------------------------------------------------------------------*/
6164
-
6165
- function coerceToUTC(date) {
6166
- return new Date(UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
6167
- }
6168
- function coerceToLocal(date) {
6169
- return new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
6170
- }
6171
- function getDaysInMonth(year, month) {
6172
- return 32 - new Date(UTC(year, month, 32)).getUTCDate();
6173
- }
6174
-
6175
- /* General Utilities
6176
- ---------------------------------------------------------------------------------*/
6177
-
6178
- function methodize(f) {
6179
- return function () {
6180
- return f.apply(undefined$1, [this].concat(slice(arguments)));
6181
- };
6182
- }
6183
- function curry(f) {
6184
- var firstArgs = slice(arguments, 1);
6185
- return function () {
6186
- return f.apply(undefined$1, firstArgs.concat(slice(arguments)));
5734
+ }, m.endOf = function (t) {
5735
+ return this.startOf(t, !1);
5736
+ }, m.$set = function (t, e) {
5737
+ var n,
5738
+ o = O.p(t),
5739
+ h = "set" + (this.$u ? "UTC" : ""),
5740
+ l = (n = {}, n[a] = h + "Date", n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o],
5741
+ $ = o === a ? this.$D + (e - this.$W) : e;
5742
+ if (o === f || o === c) {
5743
+ var y = this.clone().set(d, 1);
5744
+ y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
5745
+ } else l && this.$d[l]($);
5746
+ return this.init(), this;
5747
+ }, m.set = function (t, e) {
5748
+ return this.clone().$set(t, e);
5749
+ }, m.get = function (t) {
5750
+ return this[O.p(t)]();
5751
+ }, m.add = function (r, h) {
5752
+ var d,
5753
+ l = this;
5754
+ r = Number(r);
5755
+ var $ = O.p(h),
5756
+ y = function y(t) {
5757
+ var e = w(l);
5758
+ return O.w(e.date(e.date() + Math.round(t * r)), l);
5759
+ };
5760
+ if ($ === f) return this.set(f, this.$M + r);
5761
+ if ($ === c) return this.set(c, this.$y + r);
5762
+ if ($ === a) return y(1);
5763
+ if ($ === o) return y(7);
5764
+ var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
5765
+ m = this.$d.getTime() + r * M;
5766
+ return O.w(m, this);
5767
+ }, m.subtract = function (t, e) {
5768
+ return this.add(-1 * t, e);
5769
+ }, m.format = function (t) {
5770
+ var e = this,
5771
+ n = this.$locale();
5772
+ if (!this.isValid()) return n.invalidDate || l;
5773
+ var r = t || "YYYY-MM-DDTHH:mm:ssZ",
5774
+ i = O.z(this),
5775
+ s = this.$H,
5776
+ u = this.$m,
5777
+ a = this.$M,
5778
+ o = n.weekdays,
5779
+ f = n.months,
5780
+ h = function h(t, n, i, s) {
5781
+ return t && (t[n] || t(e, r)) || i[n].slice(0, s);
5782
+ },
5783
+ c = function c(t) {
5784
+ return O.s(s % 12 || 12, t, "0");
5785
+ },
5786
+ d = n.meridiem || function (t, e, n) {
5787
+ var r = t < 12 ? "AM" : "PM";
5788
+ return n ? r.toLowerCase() : r;
5789
+ },
5790
+ $ = {
5791
+ YY: String(this.$y).slice(-2),
5792
+ YYYY: this.$y,
5793
+ M: a + 1,
5794
+ MM: O.s(a + 1, 2, "0"),
5795
+ MMM: h(n.monthsShort, a, f, 3),
5796
+ MMMM: h(f, a),
5797
+ D: this.$D,
5798
+ DD: O.s(this.$D, 2, "0"),
5799
+ d: String(this.$W),
5800
+ dd: h(n.weekdaysMin, this.$W, o, 2),
5801
+ ddd: h(n.weekdaysShort, this.$W, o, 3),
5802
+ dddd: o[this.$W],
5803
+ H: String(s),
5804
+ HH: O.s(s, 2, "0"),
5805
+ h: c(1),
5806
+ hh: c(2),
5807
+ a: d(s, u, !0),
5808
+ A: d(s, u, !1),
5809
+ m: String(u),
5810
+ mm: O.s(u, 2, "0"),
5811
+ s: String(this.$s),
5812
+ ss: O.s(this.$s, 2, "0"),
5813
+ SSS: O.s(this.$ms, 3, "0"),
5814
+ Z: i
5815
+ };
5816
+ return r.replace(y, function (t, e) {
5817
+ return e || $[t] || i.replace(":", "");
5818
+ });
5819
+ }, m.utcOffset = function () {
5820
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5821
+ }, m.diff = function (r, d, l) {
5822
+ var $,
5823
+ y = O.p(d),
5824
+ M = w(r),
5825
+ m = (M.utcOffset() - this.utcOffset()) * e,
5826
+ v = this - M,
5827
+ g = O.m(this, M);
5828
+ return g = ($ = {}, $[c] = g / 12, $[f] = g, $[h] = g / 3, $[o] = (v - m) / 6048e5, $[a] = (v - m) / 864e5, $[u] = v / n, $[s] = v / e, $[i] = v / t, $)[y] || v, l ? g : O.a(g);
5829
+ }, m.daysInMonth = function () {
5830
+ return this.endOf(f).$D;
5831
+ }, m.$locale = function () {
5832
+ return D[this.$L];
5833
+ }, m.locale = function (t, e) {
5834
+ if (!t) return this.$L;
5835
+ var n = this.clone(),
5836
+ r = S(t, e, !0);
5837
+ return r && (n.$L = r), n;
5838
+ }, m.clone = function () {
5839
+ return O.w(this.$d, this);
5840
+ }, m.toDate = function () {
5841
+ return new Date(this.valueOf());
5842
+ }, m.toJSON = function () {
5843
+ return this.isValid() ? this.toISOString() : null;
5844
+ }, m.toISOString = function () {
5845
+ return this.$d.toISOString();
5846
+ }, m.toString = function () {
5847
+ return this.$d.toUTCString();
5848
+ }, M;
5849
+ }(),
5850
+ T = _.prototype;
5851
+ return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
5852
+ T[t[1]] = function (e) {
5853
+ return this.$g(e, t[0], t[1]);
6187
5854
  };
6188
- }
6189
- function slice(a, start, end) {
6190
- return Array.prototype.slice.call(a, start || 0,
6191
- // start and end cannot be undefined for IE
6192
- end === undefined$1 ? a.length : end);
6193
- }
6194
- function each(a, f) {
6195
- for (var i = 0; i < a.length; i++) {
6196
- f(a[i], i);
6197
- }
6198
- }
6199
- function isString(arg) {
6200
- return typeof arg == 'string';
6201
- }
6202
- function isNumber(arg) {
6203
- return typeof arg == 'number';
6204
- }
6205
- function isBoolean(arg) {
6206
- return typeof arg == 'boolean';
6207
- }
6208
- function isFunction(arg) {
6209
- return typeof arg == 'function';
6210
- }
6211
- function zeroPad(n, len) {
6212
- len = len || 2;
6213
- n += '';
6214
- while (n.length < len) {
6215
- n = '0' + n;
6216
- }
6217
- return n;
6218
- }
6219
-
6220
- // Export for Node.js
6221
- if ( module.exports) {
6222
- module.exports = XDate;
6223
- }
6224
-
6225
- // AMD
6226
- if (typeof undefined$1 === 'function' && undefined$1.amd) {
6227
- undefined$1([], function () {
6228
- return XDate;
6229
- });
6230
- }
6231
- return XDate;
6232
- }(Date, Math, Array);
5855
+ }), w.extend = function (t, e) {
5856
+ return t.$i || (t(e, _, w), t.$i = !0), w;
5857
+ }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
5858
+ return w(1e3 * t);
5859
+ }, w.en = D[g], w.Ls = D, w.p = {}, w;
5860
+ });
6233
5861
  });
6234
5862
 
6235
5863
  var transform = createCommonjsModule(function (module, exports) {
@@ -6250,7 +5878,7 @@
6250
5878
  };
6251
5879
  var _componentToTypeMap;
6252
5880
  exports.flatReactProp = flatReactProp;
6253
- var _xdate2 = _interopRequireDefault(xdate);
5881
+ var _dayjs2 = _interopRequireDefault(dayjs_min);
6254
5882
  var _dateFormats2 = _interopRequireDefault(dateFormats_1);
6255
5883
  function _interopRequireDefault(obj) {
6256
5884
  return obj && obj.__esModule ? obj : {
@@ -6479,8 +6107,8 @@
6479
6107
  if (value) {
6480
6108
  if ((0, helper.isValidDateRangeQueryFormat)(componentProps.queryFormat)) {
6481
6109
  value = {
6482
- start: (0, helper.formatDate)(new _xdate2["default"](value.start), componentProps),
6483
- end: (0, helper.formatDate)(new _xdate2["default"](value.end), componentProps)
6110
+ start: (0, helper.formatDate)((0, _dayjs2["default"])(new Date(value.start)), componentProps),
6111
+ end: (0, helper.formatDate)((0, _dayjs2["default"])(new Date(value.end)), componentProps)
6484
6112
  };
6485
6113
  } else {
6486
6114
  value = {
@@ -6509,8 +6137,8 @@
6509
6137
  if (rangeValue) {
6510
6138
  if ((0, helper.isValidDateRangeQueryFormat)(componentProps.queryFormat)) {
6511
6139
  range = {
6512
- start: (0, helper.formatDate)(new _xdate2["default"](rangeValue.start), componentProps),
6513
- end: (0, helper.formatDate)(new _xdate2["default"](rangeValue.end), componentProps)
6140
+ start: (0, helper.formatDate)((0, _dayjs2["default"])(rangeValue.start), componentProps),
6141
+ end: (0, helper.formatDate)((0, _dayjs2["default"])(rangeValue.end), componentProps)
6514
6142
  };
6515
6143
  } else {
6516
6144
  range = {
@@ -6525,20 +6153,20 @@
6525
6153
  if ((0, helper.isValidDateRangeQueryFormat)(componentProps.queryFormat)) {
6526
6154
  if (typeof value === 'string') {
6527
6155
  value = {
6528
- start: (0, helper.formatDate)(new _xdate2["default"](value).addHours(-24), componentProps),
6529
- end: (0, helper.formatDate)(new _xdate2["default"](value), componentProps)
6156
+ start: (0, helper.formatDate)((0, _dayjs2["default"])(value).subtract(24, 'hour'), componentProps),
6157
+ end: (0, helper.formatDate)((0, _dayjs2["default"])(value), componentProps)
6530
6158
  };
6531
6159
  } else if (Array.isArray(value)) {
6532
6160
  value = value.map(function (val) {
6533
6161
  return {
6534
- start: (0, helper.formatDate)(new _xdate2["default"](val).addHours(-24), componentProps),
6535
- end: (0, helper.formatDate)(new _xdate2["default"](val), componentProps)
6162
+ start: (0, helper.formatDate)((0, _dayjs2["default"])(val).subtract(24, 'hour'), componentProps),
6163
+ end: (0, helper.formatDate)((0, _dayjs2["default"])(val), componentProps)
6536
6164
  };
6537
6165
  });
6538
6166
  } else {
6539
6167
  value = {
6540
- start: (0, helper.formatDate)(new _xdate2["default"](value.start).addHours(-24), componentProps),
6541
- end: (0, helper.formatDate)(new _xdate2["default"](value.end), componentProps)
6168
+ start: (0, helper.formatDate)((0, _dayjs2["default"])(value.start).subtract(24, 'hour'), componentProps),
6169
+ end: (0, helper.formatDate)((0, _dayjs2["default"])(value.end), componentProps)
6542
6170
  };
6543
6171
  }
6544
6172
  }
@@ -6629,6 +6257,8 @@
6629
6257
  if (componentProps.componentType === constants$1.componentTypes.reactiveList) {
6630
6258
  if (value > 0) {
6631
6259
  from = (value - 1) * (componentProps.size || 10);
6260
+ } else {
6261
+ from = 0;
6632
6262
  }
6633
6263
  value = undefined;
6634
6264
  }
@@ -6820,10 +6450,10 @@
6820
6450
  if (queryFormat) {
6821
6451
  if (Array.isArray(value)) {
6822
6452
  transformedValue = value.map(function (item) {
6823
- return (0, helper.formatDate)(new _xdate2["default"](item), componentProps);
6453
+ return (0, helper.formatDate)((0, _dayjs2["default"])(item), componentProps);
6824
6454
  });
6825
6455
  } else if (typeof value === 'object') {
6826
- transformedValue = [(0, helper.formatDate)(new _xdate2["default"](value.start), componentProps), (0, helper.formatDate)(new _xdate2["default"](value.end), componentProps)];
6456
+ transformedValue = [(0, helper.formatDate)((0, _dayjs2["default"])(value.start), componentProps), (0, helper.formatDate)((0, _dayjs2["default"])(value.end), componentProps)];
6827
6457
  }
6828
6458
  } else if (Array.isArray(value)) {
6829
6459
  transformedValue = [].concat(_toConsumableArray(value));
@@ -6844,21 +6474,21 @@
6844
6474
  case constants$1.componentTypes.datePicker:
6845
6475
  transformedValue = '';
6846
6476
  if (typeof value !== 'object') {
6847
- transformedValue = new _xdate2["default"](value).toString('yyyy-MM-dd');
6477
+ transformedValue = (0, _dayjs2["default"])(value).format('YYYY-MM-DD');
6848
6478
  } else if (value.end) {
6849
- transformedValue = new _xdate2["default"](value.end).toString('yyyy-MM-dd');
6479
+ transformedValue = (0, _dayjs2["default"])(value.end).format('YYYY-MM-DD');
6850
6480
  } else if (value.start) {
6851
- transformedValue = new _xdate2["default"](value.start).addHours(24).toString('yyyy-MM-dd');
6481
+ transformedValue = (0, _dayjs2["default"])(value.start).add(24, 'hour').format('YYYY-MM-DD');
6852
6482
  }
6853
6483
  break;
6854
6484
  case constants$1.componentTypes.dateRange:
6855
6485
  transformedValue = [];
6856
6486
  if (Array.isArray(value)) {
6857
6487
  transformedValue = value.map(function (t) {
6858
- return new _xdate2["default"](t).toString('yyyy-MM-dd');
6488
+ return (0, _dayjs2["default"])(t).format('YYYY-MM-DD');
6859
6489
  });
6860
6490
  } else if (typeof value === 'object') {
6861
- transformedValue = [new _xdate2["default"](value.start).toString('yyyy-MM-dd'), new _xdate2["default"](value.end).toString('yyyy-MM-dd')];
6491
+ transformedValue = [(0, _dayjs2["default"])(value.start).format('YYYY-MM-DD'), (0, _dayjs2["default"])(value.end).format('YYYY-MM-DD')];
6862
6492
  }
6863
6493
  break;
6864
6494
  case constants$1.componentTypes.categorySearch:
@@ -7626,7 +7256,7 @@
7626
7256
  var componentProps = props[comp];
7627
7257
  if (reference !== 'URL' && componentProps && [constants$1.componentTypes.reactiveList, constants$1.componentTypes.reactiveMap].includes(componentProps.componentType)) {
7628
7258
  if (selectedValues[comp] !== null) {
7629
- componentsToReset[comp] = null;
7259
+ componentsToReset[comp] = 0;
7630
7260
  }
7631
7261
  }
7632
7262
  });
@@ -8544,7 +8174,8 @@
8544
8174
  settings.enableQueryRules = (0, utils.isPropertyDefined)(config.analyticsConfig.enableQueryRules) ? config.analyticsConfig.enableQueryRules : undefined;
8545
8175
  settings.customEvents = (0, utils.isPropertyDefined)(config.analyticsConfig.customEvents) ? config.analyticsConfig.customEvents : undefined;
8546
8176
  settings.emptyQuery = (0, utils.isPropertyDefined)(config.analyticsConfig.emptyQuery) ? config.analyticsConfig.emptyQuery : undefined;
8547
- settings.enableSearchRelevancy = (0, utils.isPropertyDefined)(config.analyticsConfig.enableSearchRelevancy) ? config.analyticsConfig.enableSearchRelevancy : undefined;
8177
+ var searchRelevancy = config.analyticsConfig.enableSearchRelevancy;
8178
+ settings.enableSearchRelevancy = (0, utils.isPropertyDefined)(searchRelevancy) ? searchRelevancy : undefined;
8548
8179
  settings.suggestionAnalytics = (0, utils.isPropertyDefined)(config.analyticsConfig.suggestionAnalytics) ? config.analyticsConfig.suggestionAnalytics : undefined;
8549
8180
  settings.useCache = (0, utils.isPropertyDefined)(config.analyticsConfig.useCache) ? config.analyticsConfig.useCache : undefined;
8550
8181
  settings.queryParams = (0, utils.isPropertyDefined)(config.analyticsConfig.queryParams) ? config.analyticsConfig.queryParams : undefined;
@@ -8594,8 +8225,9 @@
8594
8225
  queryListener = _getState4.queryListener,
8595
8226
  props = _getState4.props,
8596
8227
  internalValues = _getState4.internalValues,
8597
- lock = _getState4.lock;
8598
- var lockTime = config.initialQueriesSyncTime;
8228
+ lock = _getState4.lock,
8229
+ selectedValues = _getState4.selectedValues;
8230
+ var lockTime = config.initialQueriesSyncTime || 50;
8599
8231
  var initialTimestamp = config.initialTimestamp;
8600
8232
  var queryId = requestId || new Date().getTime();
8601
8233
  if (config.queryLockConfig instanceof Object) {
@@ -8625,12 +8257,29 @@
8625
8257
  if (!queryObj || queryObj && !Object.keys(queryObj).length) {
8626
8258
  queryObj = _extends({}, matchAllQuery);
8627
8259
  }
8260
+ var from = void 0;
8261
+ var depComponentType = props[component] ? props[component].componentType : null;
8262
+ if (depComponentType === constants$1.componentTypes.reactiveList) {
8263
+ var componentValue = selectedValues[component] ? selectedValues[component].value : undefined;
8264
+ var componentProps = props[component];
8265
+ if (componentValue !== undefined && componentProps) {
8266
+ if (componentValue > 0) {
8267
+ from = (componentValue - 1) * (componentProps.size || 10);
8268
+ } else {
8269
+ from = 0;
8270
+ }
8271
+ }
8272
+ }
8628
8273
  var currentQuery = _extends({
8629
8274
  query: _extends({}, queryObj)
8630
- }, options, queryOptions[component]);
8275
+ }, options, queryOptions[component], {
8276
+ from: from
8277
+ });
8631
8278
  var queryToLog = _extends({
8632
8279
  query: _extends({}, queryObj)
8633
- }, options, queryOptions[component]);
8280
+ }, options, queryOptions[component], {
8281
+ from: from
8282
+ });
8634
8283
  var oldQuery = queryLog[component];
8635
8284
  if (mustExecuteMapQuery || !(0, helper.compareQueries)(currentQuery, oldQuery, false)) {
8636
8285
  orderOfQueries = [].concat(_toConsumableArray(orderOfQueries), [component]);
@@ -9674,9 +9323,14 @@
9674
9323
  };
9675
9324
  }
9676
9325
  function maybeInvokeDelegate(delegate, context) {
9677
- var methodName = context.method,
9678
- method = delegate.iterator[methodName];
9679
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
9326
+ var method = delegate.iterator[context.method];
9327
+ if (undefined === method) {
9328
+ if (context.delegate = null, "throw" === context.method) {
9329
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
9330
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
9331
+ }
9332
+ return ContinueSentinel;
9333
+ }
9680
9334
  var record = tryCatch(method, delegate.iterator, context.arg);
9681
9335
  if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
9682
9336
  var info = record.arg;
@@ -9876,7 +9530,7 @@
9876
9530
  descriptor.enumerable = descriptor.enumerable || false;
9877
9531
  descriptor.configurable = true;
9878
9532
  if ("value" in descriptor) descriptor.writable = true;
9879
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
9533
+ Object.defineProperty(target, descriptor.key, descriptor);
9880
9534
  }
9881
9535
  }
9882
9536
  function _createClass(Constructor, protoProps, staticProps) {
@@ -14048,7 +13702,16 @@
14048
13702
  },
14049
13703
  infiniteScroll: function infiniteScroll(newVal, oldVal) {
14050
13704
  if (newVal !== oldVal) {
14051
- if (!newVal) {
13705
+ if (newVal && !this.pagination) {
13706
+ window.addEventListener('scroll', this.scrollHandler);
13707
+ } else {
13708
+ window.removeEventListener('scroll', this.scrollHandler);
13709
+ }
13710
+ }
13711
+ },
13712
+ pagination: function pagination(newVal, oldVal) {
13713
+ if (newVal !== oldVal) {
13714
+ if (!newVal && this.infiniteScroll) {
14052
13715
  window.addEventListener('scroll', this.scrollHandler);
14053
13716
  } else {
14054
13717
  window.removeEventListener('scroll', this.scrollHandler);
@@ -14499,6 +14162,8 @@
14499
14162
  internalComponent: ReactiveList.hasInternalComponent()
14500
14163
  }));
14501
14164
  RLConnected.name = ReactiveList.name;
14165
+ RLConnected.generateQueryOptions = ReactiveList.generateQueryOptions;
14166
+ RLConnected.hasInternalComponent = ReactiveList.hasInternalComponent;
14502
14167
  RLConnected.install = function (Vue) {
14503
14168
  Vue.component(RLConnected.name, RLConnected);
14504
14169
  Vue.component(ResultListWrapper.name, ResultListWrapper);
@@ -20231,6 +19896,10 @@
20231
19896
  componentType: constants_1$1.dataSearch,
20232
19897
  internalComponent: DataSearch.hasInternalComponent()
20233
19898
  }));
19899
+ DSConnected.defaultQuery = DataSearch.defaultQuery;
19900
+ DSConnected.shouldQuery = DataSearch.shouldQuery;
19901
+ DSConnected.highlightQuery = DataSearch.highlightQuery;
19902
+ DSConnected.hasInternalComponent = DataSearch.hasInternalComponent;
20234
19903
  DSConnected.name = DataSearch.name;
20235
19904
 
20236
19905
  // plugins usage
@@ -21333,6 +21002,9 @@
21333
21002
  document.removeEventListener('keydown', this.onKeyDown);
21334
21003
  }
21335
21004
  };
21005
+ SearchBox.hasInternalComponent = function () {
21006
+ return true;
21007
+ };
21336
21008
  SearchBox.defaultQuery = function (value, props) {
21337
21009
  var finalQuery = null;
21338
21010
  var fields = normalizeDataField$1(props.dataField, props.fieldWeights);
@@ -21456,6 +21128,9 @@
21456
21128
  internalComponent: true
21457
21129
  }));
21458
21130
  SBConnected.name = SearchBox.name;
21131
+ SBConnected.defaultQuery = SearchBox.defaultQuery;
21132
+ SBConnected.shouldQuery = SearchBox.shouldQuery;
21133
+ SBConnected.hasInternalComponent = SearchBox.hasInternalComponent;
21459
21134
  SBConnected.install = function (Vue) {
21460
21135
  Vue.component(SBConnected.name, SBConnected);
21461
21136
  };
@@ -21670,7 +21345,7 @@
21670
21345
  return isFunction$1(renderErrorCalc) ? renderErrorCalc(this.error) : renderErrorCalc;
21671
21346
  }
21672
21347
  if (!this.hasCustomRenderer && this.modifiedOptions.length === 0 && !this.isLoading) {
21673
- if (this.renderNoResult) {
21348
+ if (this.renderNoResults) {
21674
21349
  this.renderNoResult();
21675
21350
  } else {
21676
21351
  return null;
@@ -21975,13 +21650,15 @@
21975
21650
  internalComponent: SingleList.hasInternalComponent()
21976
21651
  }));
21977
21652
  ListConnected.name = SingleList.name;
21653
+ ListConnected.defaultQuery = SingleList.defaultQuery;
21654
+ ListConnected.generateQueryOptions = SingleList.generateQueryOptions;
21655
+ ListConnected.hasInternalComponent = SingleList.hasInternalComponent;
21656
+ // Add componentType for SSR
21657
+ ListConnected.componentType = constants_1$1.singleList;
21978
21658
  ListConnected.install = function (Vue) {
21979
21659
  Vue.component(ListConnected.name, ListConnected);
21980
21660
  };
21981
21661
 
21982
- // Add componentType for SSR
21983
- ListConnected.componentType = constants_1$1.singleList;
21984
-
21985
21662
  var updateQuery$4 = lib_5.updateQuery,
21986
21663
  setQueryOptions$3 = lib_5.setQueryOptions,
21987
21664
  setCustomQuery$3 = lib_5.setCustomQuery,
@@ -22128,7 +21805,7 @@
22128
21805
  return isFunction$1(renderErrorCalc) ? renderErrorCalc(this.error) : renderErrorCalc;
22129
21806
  }
22130
21807
  if (!this.hasCustomRenderer && this.modifiedOptions.length === 0 && !this.isLoading) {
22131
- if (this.renderNoResult) {
21808
+ if (this.renderNoResults) {
22132
21809
  this.renderNoResult();
22133
21810
  } else {
22134
21811
  return null;
@@ -22510,13 +22187,15 @@
22510
22187
  internalComponent: MultiList.hasInternalComponent()
22511
22188
  }));
22512
22189
  ListConnected$1.name = MultiList.name;
22190
+ ListConnected$1.defaultQuery = MultiList.defaultQuery;
22191
+ ListConnected$1.generateQueryOptions = MultiList.generateQueryOptions;
22192
+ ListConnected$1.hasInternalComponent = MultiList.hasInternalComponent;
22193
+ // Add componentType for SSR
22194
+ ListConnected$1.componentType = constants_1$1.multiList;
22513
22195
  ListConnected$1.install = function (Vue) {
22514
22196
  Vue.component(ListConnected$1.name, ListConnected$1);
22515
22197
  };
22516
22198
 
22517
- // Add componentType for SSR
22518
- ListConnected$1.componentType = constants_1$1.multiList;
22519
-
22520
22199
  var _templateObject$m, _templateObject2$9, _templateObject3$7, _templateObject4$6;
22521
22200
  var small = css(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n\tmin-height: 0;\n\theight: 30px;\n\tborder: 0;\n\tbox-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;\n\tborder-radius: 2px;\n"])));
22522
22201
  var dark$2 = function dark(_ref) {
@@ -23216,14 +22895,16 @@
23216
22895
  componentType: constants_1$1.singleDropdownList,
23217
22896
  internalComponent: SingleDropdownList.hasInternalComponent()
23218
22897
  }));
22898
+ ListConnected$2.defaultQuery = SingleDropdownList.defaultQuery;
22899
+ ListConnected$2.generateQueryOptions = SingleDropdownList.generateQueryOptions;
22900
+ ListConnected$2.hasInternalComponent = SingleDropdownList.hasInternalComponent;
23219
22901
  ListConnected$2.name = SingleDropdownList.name;
22902
+ // Add componentType for SSR
22903
+ ListConnected$2.componentType = constants_1$1.singleDropdownList;
23220
22904
  ListConnected$2.install = function (Vue) {
23221
22905
  Vue.component(ListConnected$2.name, ListConnected$2);
23222
22906
  };
23223
22907
 
23224
- // Add componentType for SSR
23225
- ListConnected$2.componentType = constants_1$1.singleDropdownList;
23226
-
23227
22908
  var updateQuery$6 = lib_5.updateQuery,
23228
22909
  setQueryOptions$5 = lib_5.setQueryOptions,
23229
22910
  setCustomQuery$5 = lib_5.setCustomQuery,
@@ -23732,12 +23413,15 @@
23732
23413
  internalComponent: MultiDropdownList.hasInternalComponent()
23733
23414
  }));
23734
23415
  ListConnected$3.name = MultiDropdownList.name;
23735
- ListConnected$3.install = function (Vue) {
23736
- Vue.component(ListConnected$3.name, ListConnected$3);
23737
- };
23738
23416
 
23739
23417
  // Add componentType for SSR
23740
23418
  ListConnected$3.componentType = constants_1$1.multiDropdownList;
23419
+ ListConnected$3.defaultQuery = MultiDropdownList.defaultQuery;
23420
+ ListConnected$3.generateQueryOptions = MultiDropdownList.generateQueryOptions;
23421
+ ListConnected$3.hasInternalComponent = MultiDropdownList.hasInternalComponent;
23422
+ ListConnected$3.install = function (Vue) {
23423
+ Vue.component(ListConnected$3.name, ListConnected$3);
23424
+ };
23741
23425
 
23742
23426
  var updateQuery$7 = lib_5.updateQuery,
23743
23427
  setQueryOptions$6 = lib_5.setQueryOptions,
@@ -24027,6 +23711,8 @@
24027
23711
  var TBConnected = PreferencesConsumer(ComponentWrapper$1(connect(mapStateToProps$9, mapDispatchtoProps$6)(ToggleButton), {
24028
23712
  componentType: constants_1$1.toggleButton
24029
23713
  }));
23714
+ TBConnected.parseValue = ToggleButton.parseValue;
23715
+ TBConnected.defaultQuery = ToggleButton.defaultQuery;
24030
23716
  TBConnected.name = ToggleButton.name;
24031
23717
  TBConnected.install = function (Vue) {
24032
23718
  Vue.component(TBConnected.name, TBConnected);
@@ -24513,13 +24199,16 @@
24513
24199
  updateComponentProps: updateComponentProps$2
24514
24200
  };
24515
24201
  var RangeConnected = PreferencesConsumer(connect(mapStateToProps$a, mapDispatchtoProps$7)(DynamicRangeSlider));
24202
+ RangeConnected.defaultQuery = DynamicRangeSlider.defaultQuery;
24203
+ RangeConnected.parseValue = DynamicRangeSlider.parseValue;
24204
+ RangeConnected.hasInternalComponent = DynamicRangeSlider.hasInternalComponent;
24516
24205
  RangeConnected.name = DynamicRangeSlider.name;
24517
- RangeConnected.install = function (Vue) {
24518
- Vue.component(RangeConnected.name, RangeConnected);
24519
- };
24520
24206
 
24521
24207
  // Add componentType for SSR
24522
24208
  RangeConnected.componentType = constants_1$1.dynamicRangeSlider;
24209
+ RangeConnected.install = function (Vue) {
24210
+ Vue.component(RangeConnected.name, RangeConnected);
24211
+ };
24523
24212
 
24524
24213
  var updateQuery$9 = lib_5.updateQuery,
24525
24214
  setQueryOptions$8 = lib_5.setQueryOptions,
@@ -24721,6 +24410,9 @@
24721
24410
  componentType: constants_1$1.singleRange
24722
24411
  }));
24723
24412
  RangeConnected$1.name = SingleRange.name;
24413
+ RangeConnected$1.defaultQuery = SingleRange.defaultQuery;
24414
+ RangeConnected$1.parseValue = SingleRange.parseValue;
24415
+ RangeConnected$1.hasInternalComponent = SingleRange.hasInternalComponent;
24724
24416
  RangeConnected$1.install = function (Vue) {
24725
24417
  Vue.component(RangeConnected$1.name, RangeConnected$1);
24726
24418
  };
@@ -24990,6 +24682,9 @@
24990
24682
  componentType: constants_1$1.multiRange
24991
24683
  }));
24992
24684
  RangeConnected$2.name = MultiRange.name;
24685
+ RangeConnected$2.defaultQuery = MultiRange.defaultQuery;
24686
+ RangeConnected$2.parseValue = MultiRange.parseValue;
24687
+ RangeConnected$2.hasInternalComponent = MultiRange.hasInternalComponent;
24993
24688
  RangeConnected$2.install = function (Vue) {
24994
24689
  Vue.component(RangeConnected$2.name, RangeConnected$2);
24995
24690
  };
@@ -25242,6 +24937,9 @@
25242
24937
  componentType: constants_1$1.rangeSlider
25243
24938
  }));
25244
24939
  RangeConnected$3.name = RangeSlider.name;
24940
+ RangeConnected$3.defaultQuery = RangeSlider.defaultQuery;
24941
+ RangeConnected$3.parseValue = RangeSlider.parseValue;
24942
+ RangeConnected$3.hasInternalComponent = RangeSlider.hasInternalComponent;
25245
24943
  RangeConnected$3.install = function (Vue) {
25246
24944
  Vue.component(RangeConnected$3.name, RangeConnected$3);
25247
24945
  };
@@ -25896,13 +25594,13 @@
25896
25594
  }
25897
25595
  });
25898
25596
  RcConnected.name = ReactiveComponent.name;
25597
+ RcConnected.hasInternalComponent = ReactiveComponent.hasInternalComponent;
25598
+ // Add componentType for SSR
25599
+ RcConnected.componentType = constants_1$1.reactiveComponent;
25899
25600
  RcConnected.install = function (Vue) {
25900
25601
  Vue.component(RcConnected.name, RcConnected);
25901
25602
  };
25902
25603
 
25903
- // Add componentType for SSR
25904
- RcConnected.componentType = constants_1$1.reactiveComponent;
25905
-
25906
25604
  var setValue$2 = lib_5.setValue,
25907
25605
  clearValues = lib_5.clearValues,
25908
25606
  resetValuesToDefault = lib_5.resetValuesToDefault;
@@ -35098,7 +34796,7 @@
35098
34796
  });
35099
34797
  }
35100
34798
 
35101
- var version = "1.33.6";
34799
+ var version = "1.33.8";
35102
34800
 
35103
34801
  var components$1 = [RLConnected, ResultCard, ResultList, ReactiveBase, DSConnected, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4];
35104
34802
  function install (Vue) {