@appbaseio/reactivesearch-vue 3.0.0-rc.4 → 3.0.0-rc.5.alpha.2

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 (49) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +1 -1
  2. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  4. package/dist/cjs/version.js +1 -1
  5. package/dist/es/{Button-fd869491.js → Button-a376dd9b.js} +1 -1
  6. package/dist/es/{Card-54b9e7a0.js → Card-56bd984e.js} +2 -2
  7. package/dist/es/{ComponentWrapper-8a3c388d.js → ComponentWrapper-b43a546e.js} +3 -4
  8. package/dist/es/{Container-d00219f7.js → Container-6c21a1e6.js} +1 -1
  9. package/dist/es/{DropDown-fc1fef02.js → DropDown-59c3fbc7.js} +5 -5
  10. package/dist/es/DynamicRangeSlider.js +6 -7
  11. package/dist/es/{Flex-25792bc3.js → Flex-651f2422.js} +1 -1
  12. package/dist/es/{FormControlList-fe6eaee4.js → FormControlList-be0456b0.js} +1 -1
  13. package/dist/es/{Input-f7499ef8.js → Input-3126d7b6.js} +1 -1
  14. package/dist/es/{ListItem-e3c6acf4.js → ListItem-a25ed63a.js} +2 -2
  15. package/dist/es/MultiDropdownList.js +12 -14
  16. package/dist/es/MultiList.js +10 -12
  17. package/dist/es/MultiRange.js +9 -10
  18. package/dist/es/{Pagination-c2745bec.js → Pagination-874e01df.js} +2 -2
  19. package/dist/es/{PreferencesConsumer-b058d14e.js → PreferencesConsumer-9a3b0bac.js} +2 -2
  20. package/dist/es/RangeInput.js +11 -12
  21. package/dist/es/RangeSlider.js +8 -9
  22. package/dist/es/ReactiveBase.js +5508 -17
  23. package/dist/es/ReactiveComponent.js +5 -6
  24. package/dist/es/ReactiveGoogleMap.js +9 -10
  25. package/dist/es/ReactiveList.js +13 -14
  26. package/dist/es/ResultCard.js +3 -3
  27. package/dist/es/ResultList.js +3 -3
  28. package/dist/es/SelectedFilters.js +6 -7
  29. package/dist/es/SingleDropdownList.js +12 -14
  30. package/dist/es/SingleList.js +10 -12
  31. package/dist/es/SingleRange.js +9 -10
  32. package/dist/es/StateProvider.js +3 -4
  33. package/dist/es/{Title-863dfa42.js → Title-4b7614be.js} +1 -1
  34. package/dist/es/ToggleButton.js +8 -9
  35. package/dist/es/_rollupPluginBabelHelpers-dac426db.js +423 -0
  36. package/dist/es/helper-39773859.js +558 -0
  37. package/dist/es/{index-882489e1.js → index-b2212b15.js} +67 -3
  38. package/dist/es/index-b9203a60.js +10 -0
  39. package/dist/es/index.js +22 -29
  40. package/dist/es/initReactivesearch.js +2291 -3
  41. package/dist/es/{install-0c7962bc.js → install-d7f59dee.js} +1462 -146
  42. package/dist/es/install.js +21 -26
  43. package/dist/es/{ssr-c630ccb9.js → ssr-26e0b4af.js} +1 -1
  44. package/dist/es/transform-e41c9e5c.js +412 -0
  45. package/dist/es/utils-782d91c4.js +1315 -0
  46. package/dist/es/version.js +1 -1
  47. package/package.json +2 -2
  48. package/dist/es/_rollupPluginBabelHelpers-ded08042.js +0 -61
  49. package/dist/es/utils-d7dd4f4e.js +0 -60
@@ -1,50 +1,45 @@
1
1
  import '@appbaseio/reactivecore';
2
- import '@appbaseio/reactivecore/lib/utils/constants';
3
- import '@vue/babel-helper-vue-transform-on';
4
- import './_rollupPluginBabelHelpers-ded08042.js';
2
+ import './index-b2212b15.js';
3
+ import './index-b9203a60.js';
4
+ import './_rollupPluginBabelHelpers-dac426db.js';
5
5
  import 'vue';
6
6
  import 'vue-types';
7
- import '@appbaseio/reactivecore/lib/utils/helper';
7
+ import './helper-39773859.js';
8
8
  import '@appbaseio/vue-emotion';
9
9
  import '@emotion/css';
10
10
  import 'polished';
11
- import './Button-fd869491.js';
11
+ import './Button-a376dd9b.js';
12
12
  import './vueTypes-f1923c72.js';
13
- import './Pagination-c2745bec.js';
13
+ import './Pagination-874e01df.js';
14
14
  import './ReactiveList.js';
15
- import '@appbaseio/reactivecore/lib/utils/transform';
15
+ import './transform-e41c9e5c.js';
16
16
  import 'redux';
17
- import './index-882489e1.js';
18
- import './ComponentWrapper-8a3c388d.js';
19
- import './PreferencesConsumer-b058d14e.js';
20
- import './Title-863dfa42.js';
21
- import './ListItem-e3c6acf4.js';
22
- import './Card-54b9e7a0.js';
23
- import './Flex-25792bc3.js';
24
- import '@appbaseio/reactivecore/lib';
25
- import '@appbaseio/reactivecore/lib/actions/analytics';
17
+ import './ComponentWrapper-b43a546e.js';
18
+ import './PreferencesConsumer-9a3b0bac.js';
19
+ import './Title-4b7614be.js';
20
+ import './ListItem-a25ed63a.js';
21
+ import './Card-56bd984e.js';
22
+ import './Flex-651f2422.js';
23
+ import './ReactiveBase.js';
26
24
  import 'appbase-js';
27
25
  import '@appbaseio/analytics';
28
26
  import 'url-search-params-polyfill';
29
- import './ReactiveBase.js';
30
27
  import 'hotkeys-js';
31
- export { i as default } from './install-0c7962bc.js';
32
- import './DropDown-fc1fef02.js';
33
- import './Input-f7499ef8.js';
28
+ export { i as default } from './install-d7f59dee.js';
29
+ import './DropDown-59c3fbc7.js';
30
+ import './Input-3126d7b6.js';
34
31
  import 'compute-scroll-into-view';
35
- import './Container-d00219f7.js';
32
+ import './Container-6c21a1e6.js';
36
33
  import 'vue-highlight-words';
37
- import '@appbaseio/reactivecore/lib/utils/suggestions';
38
- import './FormControlList-fe6eaee4.js';
39
- import './utils-d7dd4f4e.js';
34
+ import './utils-782d91c4.js';
35
+ import './FormControlList-be0456b0.js';
40
36
  import './SingleList.js';
41
37
  import './MultiList.js';
42
- import '@appbaseio/reactivecore/lib/utils/types';
43
38
  import './SingleDropdownList.js';
44
39
  import './MultiDropdownList.js';
45
40
  import './ToggleButton.js';
46
41
  import './ReactiveComponent.js';
47
- import './ssr-c630ccb9.js';
42
+ import './ssr-26e0b4af.js';
48
43
  import './DynamicRangeSlider.js';
49
44
  import './SingleRange.js';
50
45
  import './MultiRange.js';
@@ -1,4 +1,4 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
1
+ import { a as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-dac426db.js';
2
2
  import { defineComponent, ref, computed, onMounted, h, createCommentVNode } from 'vue';
3
3
  import { styled } from '@appbaseio/vue-emotion';
4
4
 
@@ -0,0 +1,412 @@
1
+ function _typeof(obj) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
5
+ return typeof obj;
6
+ } : function (obj) {
7
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
8
+ }, _typeof(obj);
9
+ }
10
+ function _toPrimitive(input, hint) {
11
+ if (_typeof(input) !== "object" || input === null) return input;
12
+ var prim = input[Symbol.toPrimitive];
13
+ if (prim !== undefined) {
14
+ var res = prim.call(input, hint || "default");
15
+ if (_typeof(res) !== "object") return res;
16
+ throw new TypeError("@@toPrimitive must return a primitive value.");
17
+ }
18
+ return (hint === "string" ? String : Number)(input);
19
+ }
20
+ function _toPropertyKey(arg) {
21
+ var key = _toPrimitive(arg, "string");
22
+ return _typeof(key) === "symbol" ? key : String(key);
23
+ }
24
+ function _defineProperty(obj, key, value) {
25
+ key = _toPropertyKey(key);
26
+ if (key in obj) {
27
+ Object.defineProperty(obj, key, {
28
+ value: value,
29
+ enumerable: true,
30
+ configurable: true,
31
+ writable: true
32
+ });
33
+ } else {
34
+ obj[key] = value;
35
+ }
36
+ return obj;
37
+ }
38
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
39
+ var dayjs_min = {
40
+ exports: {}
41
+ };
42
+ (function (module, exports) {
43
+ !function (t, e) {
44
+ module.exports = e();
45
+ }(commonjsGlobal, function () {
46
+ var t = 1e3,
47
+ e = 6e4,
48
+ n = 36e5,
49
+ r = "millisecond",
50
+ i = "second",
51
+ s = "minute",
52
+ u = "hour",
53
+ a = "day",
54
+ o = "week",
55
+ f = "month",
56
+ h = "quarter",
57
+ c = "year",
58
+ d = "date",
59
+ l = "Invalid Date",
60
+ $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
61
+ 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,
62
+ M = {
63
+ name: "en",
64
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
65
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
66
+ ordinal: function ordinal(t) {
67
+ var e = ["th", "st", "nd", "rd"],
68
+ n = t % 100;
69
+ return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
70
+ }
71
+ },
72
+ m = function m(t, e, n) {
73
+ var r = String(t);
74
+ return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
75
+ },
76
+ v = {
77
+ s: m,
78
+ z: function z(t) {
79
+ var e = -t.utcOffset(),
80
+ n = Math.abs(e),
81
+ r = Math.floor(n / 60),
82
+ i = n % 60;
83
+ return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
84
+ },
85
+ m: function t(e, n) {
86
+ if (e.date() < n.date()) return -t(n, e);
87
+ var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
88
+ i = e.clone().add(r, f),
89
+ s = n - i < 0,
90
+ u = e.clone().add(r + (s ? -1 : 1), f);
91
+ return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
92
+ },
93
+ a: function a(t) {
94
+ return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
95
+ },
96
+ p: function p(t) {
97
+ return {
98
+ M: f,
99
+ y: c,
100
+ w: o,
101
+ d: a,
102
+ D: d,
103
+ h: u,
104
+ m: s,
105
+ s: i,
106
+ ms: r,
107
+ Q: h
108
+ }[t] || String(t || "").toLowerCase().replace(/s$/, "");
109
+ },
110
+ u: function u(t) {
111
+ return void 0 === t;
112
+ }
113
+ },
114
+ g = "en",
115
+ D = {};
116
+ D[g] = M;
117
+ var p = function p(t) {
118
+ return t instanceof _;
119
+ },
120
+ S = function t(e, n, r) {
121
+ var i;
122
+ if (!e) return g;
123
+ if ("string" == typeof e) {
124
+ var s = e.toLowerCase();
125
+ D[s] && (i = s), n && (D[s] = n, i = s);
126
+ var u = e.split("-");
127
+ if (!i && u.length > 1) return t(u[0]);
128
+ } else {
129
+ var a = e.name;
130
+ D[a] = e, i = a;
131
+ }
132
+ return !r && i && (g = i), i || !r && g;
133
+ },
134
+ w = function w(t, e) {
135
+ if (p(t)) return t.clone();
136
+ var n = "object" == _typeof(e) ? e : {};
137
+ return n.date = t, n.args = arguments, new _(n);
138
+ },
139
+ O = v;
140
+ O.l = S, O.i = p, O.w = function (t, e) {
141
+ return w(t, {
142
+ locale: e.$L,
143
+ utc: e.$u,
144
+ x: e.$x,
145
+ $offset: e.$offset
146
+ });
147
+ };
148
+ var _ = function () {
149
+ function M(t) {
150
+ this.$L = S(t.locale, null, !0), this.parse(t);
151
+ }
152
+ var m = M.prototype;
153
+ return m.parse = function (t) {
154
+ this.$d = function (t) {
155
+ var e = t.date,
156
+ n = t.utc;
157
+ if (null === e) return new Date(NaN);
158
+ if (O.u(e)) return new Date();
159
+ if (e instanceof Date) return new Date(e);
160
+ if ("string" == typeof e && !/Z$/i.test(e)) {
161
+ var r = e.match($);
162
+ if (r) {
163
+ var i = r[2] - 1 || 0,
164
+ s = (r[7] || "0").substring(0, 3);
165
+ 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);
166
+ }
167
+ }
168
+ return new Date(e);
169
+ }(t), this.$x = t.x || {}, this.init();
170
+ }, m.init = function () {
171
+ var t = this.$d;
172
+ 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();
173
+ }, m.$utils = function () {
174
+ return O;
175
+ }, m.isValid = function () {
176
+ return !(this.$d.toString() === l);
177
+ }, m.isSame = function (t, e) {
178
+ var n = w(t);
179
+ return this.startOf(e) <= n && n <= this.endOf(e);
180
+ }, m.isAfter = function (t, e) {
181
+ return w(t) < this.startOf(e);
182
+ }, m.isBefore = function (t, e) {
183
+ return this.endOf(e) < w(t);
184
+ }, m.$g = function (t, e, n) {
185
+ return O.u(t) ? this[e] : this.set(n, t);
186
+ }, m.unix = function () {
187
+ return Math.floor(this.valueOf() / 1e3);
188
+ }, m.valueOf = function () {
189
+ return this.$d.getTime();
190
+ }, m.startOf = function (t, e) {
191
+ var n = this,
192
+ r = !!O.u(e) || e,
193
+ h = O.p(t),
194
+ l = function l(t, e) {
195
+ var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
196
+ return r ? i : i.endOf(a);
197
+ },
198
+ $ = function $(t, e) {
199
+ return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
200
+ },
201
+ y = this.$W,
202
+ M = this.$M,
203
+ m = this.$D,
204
+ v = "set" + (this.$u ? "UTC" : "");
205
+ switch (h) {
206
+ case c:
207
+ return r ? l(1, 0) : l(31, 11);
208
+ case f:
209
+ return r ? l(1, M) : l(0, M + 1);
210
+ case o:
211
+ var g = this.$locale().weekStart || 0,
212
+ D = (y < g ? y + 7 : y) - g;
213
+ return l(r ? m - D : m + (6 - D), M);
214
+ case a:
215
+ case d:
216
+ return $(v + "Hours", 0);
217
+ case u:
218
+ return $(v + "Minutes", 1);
219
+ case s:
220
+ return $(v + "Seconds", 2);
221
+ case i:
222
+ return $(v + "Milliseconds", 3);
223
+ default:
224
+ return this.clone();
225
+ }
226
+ }, m.endOf = function (t) {
227
+ return this.startOf(t, !1);
228
+ }, m.$set = function (t, e) {
229
+ var n,
230
+ o = O.p(t),
231
+ h = "set" + (this.$u ? "UTC" : ""),
232
+ 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],
233
+ $ = o === a ? this.$D + (e - this.$W) : e;
234
+ if (o === f || o === c) {
235
+ var y = this.clone().set(d, 1);
236
+ y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
237
+ } else l && this.$d[l]($);
238
+ return this.init(), this;
239
+ }, m.set = function (t, e) {
240
+ return this.clone().$set(t, e);
241
+ }, m.get = function (t) {
242
+ return this[O.p(t)]();
243
+ }, m.add = function (r, h) {
244
+ var d,
245
+ l = this;
246
+ r = Number(r);
247
+ var $ = O.p(h),
248
+ y = function y(t) {
249
+ var e = w(l);
250
+ return O.w(e.date(e.date() + Math.round(t * r)), l);
251
+ };
252
+ if ($ === f) return this.set(f, this.$M + r);
253
+ if ($ === c) return this.set(c, this.$y + r);
254
+ if ($ === a) return y(1);
255
+ if ($ === o) return y(7);
256
+ var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
257
+ m = this.$d.getTime() + r * M;
258
+ return O.w(m, this);
259
+ }, m.subtract = function (t, e) {
260
+ return this.add(-1 * t, e);
261
+ }, m.format = function (t) {
262
+ var e = this,
263
+ n = this.$locale();
264
+ if (!this.isValid()) return n.invalidDate || l;
265
+ var r = t || "YYYY-MM-DDTHH:mm:ssZ",
266
+ i = O.z(this),
267
+ s = this.$H,
268
+ u = this.$m,
269
+ a = this.$M,
270
+ o = n.weekdays,
271
+ f = n.months,
272
+ h = function h(t, n, i, s) {
273
+ return t && (t[n] || t(e, r)) || i[n].slice(0, s);
274
+ },
275
+ c = function c(t) {
276
+ return O.s(s % 12 || 12, t, "0");
277
+ },
278
+ d = n.meridiem || function (t, e, n) {
279
+ var r = t < 12 ? "AM" : "PM";
280
+ return n ? r.toLowerCase() : r;
281
+ },
282
+ $ = {
283
+ YY: String(this.$y).slice(-2),
284
+ YYYY: this.$y,
285
+ M: a + 1,
286
+ MM: O.s(a + 1, 2, "0"),
287
+ MMM: h(n.monthsShort, a, f, 3),
288
+ MMMM: h(f, a),
289
+ D: this.$D,
290
+ DD: O.s(this.$D, 2, "0"),
291
+ d: String(this.$W),
292
+ dd: h(n.weekdaysMin, this.$W, o, 2),
293
+ ddd: h(n.weekdaysShort, this.$W, o, 3),
294
+ dddd: o[this.$W],
295
+ H: String(s),
296
+ HH: O.s(s, 2, "0"),
297
+ h: c(1),
298
+ hh: c(2),
299
+ a: d(s, u, !0),
300
+ A: d(s, u, !1),
301
+ m: String(u),
302
+ mm: O.s(u, 2, "0"),
303
+ s: String(this.$s),
304
+ ss: O.s(this.$s, 2, "0"),
305
+ SSS: O.s(this.$ms, 3, "0"),
306
+ Z: i
307
+ };
308
+ return r.replace(y, function (t, e) {
309
+ return e || $[t] || i.replace(":", "");
310
+ });
311
+ }, m.utcOffset = function () {
312
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
313
+ }, m.diff = function (r, d, l) {
314
+ var $,
315
+ y = O.p(d),
316
+ M = w(r),
317
+ m = (M.utcOffset() - this.utcOffset()) * e,
318
+ v = this - M,
319
+ g = O.m(this, M);
320
+ 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);
321
+ }, m.daysInMonth = function () {
322
+ return this.endOf(f).$D;
323
+ }, m.$locale = function () {
324
+ return D[this.$L];
325
+ }, m.locale = function (t, e) {
326
+ if (!t) return this.$L;
327
+ var n = this.clone(),
328
+ r = S(t, e, !0);
329
+ return r && (n.$L = r), n;
330
+ }, m.clone = function () {
331
+ return O.w(this.$d, this);
332
+ }, m.toDate = function () {
333
+ return new Date(this.valueOf());
334
+ }, m.toJSON = function () {
335
+ return this.isValid() ? this.toISOString() : null;
336
+ }, m.toISOString = function () {
337
+ return this.$d.toISOString();
338
+ }, m.toString = function () {
339
+ return this.$d.toUTCString();
340
+ }, M;
341
+ }(),
342
+ T = _.prototype;
343
+ return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
344
+ T[t[1]] = function (e) {
345
+ return this.$g(e, t[0], t[1]);
346
+ };
347
+ }), w.extend = function (t, e) {
348
+ return t.$i || (t(e, _, w), t.$i = !0), w;
349
+ }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
350
+ return w(1e3 * t);
351
+ }, w.en = D[g], w.Ls = D, w.p = {}, w;
352
+ });
353
+ })(dayjs_min);
354
+ var componentTypes = {
355
+ reactiveList: 'REACTIVELIST',
356
+ // search components
357
+ dataSearch: 'DATASEARCH',
358
+ categorySearch: 'CATEGORYSEARCH',
359
+ searchBox: 'SEARCHBOX',
360
+ // list components
361
+ singleList: 'SINGLELIST',
362
+ multiList: 'MULTILIST',
363
+ singleDataList: 'SINGLEDATALIST',
364
+ tabDataList: 'TABDATALIST',
365
+ singleDropdownList: 'SINGLEDROPDOWNLIST',
366
+ multiDataList: 'MULTIDATALIST',
367
+ multiDropdownList: 'MULTIDROPDOWNLIST',
368
+ singleDropdownRange: 'SINGLEDROPDOWNRANGE',
369
+ treeList: 'TREELIST',
370
+ // basic components
371
+ numberBox: 'NUMBERBOX',
372
+ tagCloud: 'TAGCLOUD',
373
+ toggleButton: 'TOGGLEBUTTON',
374
+ reactiveComponent: 'REACTIVECOMPONENT',
375
+ // range components
376
+ datePicker: 'DATEPICKER',
377
+ dateRange: 'DATERANGE',
378
+ dynamicRangeSlider: 'DYNAMICRANGESLIDER',
379
+ multiDropdownRange: 'MULTIDROPDOWNRANGE',
380
+ singleRange: 'SINGLERANGE',
381
+ multiRange: 'MULTIRANGE',
382
+ rangeSlider: 'RANGESLIDER',
383
+ ratingsFilter: 'RATINGSFILTER',
384
+ rangeInput: 'RANGEINPUT',
385
+ // map components
386
+ geoDistanceDropdown: 'GEO_DISTANCE_DROPDOWN',
387
+ geoDistanceSlider: 'GEO_DISTANCE_SLIDER',
388
+ reactiveMap: 'REACTIVE_MAP',
389
+ // chart components
390
+ reactiveChart: 'REACTIVE_CHART'
391
+ };
392
+ var queryTypes = {
393
+ search: 'search',
394
+ term: 'term',
395
+ range: 'range',
396
+ geo: 'geo',
397
+ suggestion: 'suggestion'
398
+ };
399
+ var _componentTypeToDefau;
400
+ _componentTypeToDefau = {}, _defineProperty(_componentTypeToDefau, componentTypes.singleList, ''), _defineProperty(_componentTypeToDefau, componentTypes.multiList, []), _defineProperty(_componentTypeToDefau, componentTypes.singleDataList, ''), _defineProperty(_componentTypeToDefau, componentTypes.singleDropdownList, ''), _defineProperty(_componentTypeToDefau, componentTypes.multiDataList, []), _defineProperty(_componentTypeToDefau, componentTypes.multiDropdownList, []), _defineProperty(_componentTypeToDefau, componentTypes.tagCloud, ''), _defineProperty(_componentTypeToDefau, componentTypes.toggleButton, ''), _defineProperty(_componentTypeToDefau, componentTypes.singleDropdownRange, ''), _defineProperty(_componentTypeToDefau, componentTypes.multiDropdownRange, []), _defineProperty(_componentTypeToDefau, componentTypes.singleRange, ''), _defineProperty(_componentTypeToDefau, componentTypes.multiRange, []), _componentTypeToDefau;
401
+ var _componentToTypeMap;
402
+ var componentToTypeMap = (_componentToTypeMap = {}, _defineProperty(_componentToTypeMap, componentTypes.reactiveList, queryTypes.search), _defineProperty(_componentToTypeMap, componentTypes.dataSearch, queryTypes.search), _defineProperty(_componentToTypeMap, componentTypes.categorySearch, queryTypes.search), _defineProperty(_componentToTypeMap, componentTypes.searchBox, queryTypes.suggestion), _defineProperty(_componentToTypeMap, componentTypes.singleList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.multiList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.singleDataList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.singleDropdownList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.multiDataList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.multiDropdownList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.tagCloud, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.toggleButton, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.reactiveChart, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.treeList, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.numberBox, queryTypes.term), _defineProperty(_componentToTypeMap, componentTypes.datePicker, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.dateRange, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.dynamicRangeSlider, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.singleDropdownRange, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.multiDropdownRange, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.singleRange, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.multiRange, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.rangeSlider, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.ratingsFilter, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.rangeInput, queryTypes.range), _defineProperty(_componentToTypeMap, componentTypes.geoDistanceDropdown, queryTypes.geo), _defineProperty(_componentToTypeMap, componentTypes.geoDistanceSlider, queryTypes.geo), _defineProperty(_componentToTypeMap, componentTypes.reactiveMap, queryTypes.geo), _componentToTypeMap);
403
+ var isInternalComponent = function isInternalComponent() {
404
+ var componentID = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
405
+ return componentID.endsWith('__internal');
406
+ };
407
+ var getInternalComponentID = function getInternalComponentID() {
408
+ var componentID = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
409
+ return "".concat(componentID, "__internal");
410
+ };
411
+
412
+ export { getInternalComponentID as g, isInternalComponent as i };