@dialpad/dialtone 9.120.0 → 9.121.0

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.
@@ -1,17 +1,17 @@
1
1
  import { EMOJI_PICKER_CATEGORIES as c, CDN_URL as d, EMOJIS_PER_ROW as a, EMOJI_PICKER_SKIN_TONE_MODIFIERS as h } from "./emoji-picker-constants.js";
2
- import { DtIconClock as p, DtIconSatisfied as b, DtIconLivingThing as k, DtIconFood as _, DtIconObject as j, DtIconTransportation as y, DtIconLightbulb as g, DtIconHeart as R, DtIconFlag as S, DtIconSearch as E, DtIconClose as $ } from "@dialpad/dialtone-icons/vue2";
2
+ import { DtIconClock as b, DtIconSatisfied as j, DtIconLivingThing as k, DtIconFood as _, DtIconObject as y, DtIconTransportation as g, DtIconLightbulb as S, DtIconHeart as R, DtIconFlag as E, DtIconTiktok as $, DtIconSearch as T, DtIconClose as v } from "@dialpad/dialtone-icons/vue2";
3
3
  import { n as u } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
4
- import T from "../tab/tab-group.js";
5
- import v from "../tab/tab.js";
6
- import L from "../input/input.js";
7
- import w from "../button/button.js";
8
- import { emojisGrouped as I } from "@dialpad/dialtone-emojis";
4
+ import L from "../tab/tab-group.js";
5
+ import w from "../tab/tab.js";
6
+ import I from "../input/input.js";
7
+ import p from "../button/button.js";
8
+ import { emojisGrouped as C } from "@dialpad/dialtone-emojis";
9
9
  import D from "../tooltip/tooltip.js";
10
- const C = {
10
+ const A = {
11
11
  name: "EmojiTabset",
12
12
  components: {
13
- DtTabGroup: T,
14
- DtTab: v
13
+ DtTabGroup: L,
14
+ DtTab: w
15
15
  },
16
16
  props: {
17
17
  /**
@@ -23,6 +23,10 @@ const C = {
23
23
  type: Boolean,
24
24
  default: !1
25
25
  },
26
+ showCustomEmojisTab: {
27
+ type: Boolean,
28
+ default: !1
29
+ },
26
30
  scrollIntoTab: {
27
31
  type: Number,
28
32
  required: !0
@@ -46,21 +50,23 @@ const C = {
46
50
  selectedTab: "1",
47
51
  tabsetRef: [],
48
52
  TABS_DATA: [
49
- { label: c.MOST_RECENTLY_USED, icon: p },
50
- { label: c.SMILEYS_AND_PEOPLE, icon: b },
53
+ { label: c.MOST_RECENTLY_USED, icon: b },
54
+ { label: c.SMILEYS_AND_PEOPLE, icon: j },
51
55
  { label: c.NATURE, icon: k },
52
56
  { label: c.FOOD, icon: _ },
53
- { label: c.ACTIVITY, icon: j },
54
- { label: c.TRAVEL, icon: y },
55
- { label: c.OBJECTS, icon: g },
57
+ { label: c.ACTIVITY, icon: y },
58
+ { label: c.TRAVEL, icon: g },
59
+ { label: c.OBJECTS, icon: S },
56
60
  { label: c.SYMBOLS, icon: R },
57
- { label: c.FLAGS, icon: S }
61
+ { label: c.FLAGS, icon: E },
62
+ { label: c.CUSTOM, icon: $ }
58
63
  ]
59
64
  };
60
65
  },
61
66
  computed: {
62
67
  tabs() {
63
- return (this.showRecentlyUsedTab ? this.TABS_DATA : this.TABS_DATA.slice(1)).map((e, i) => ({
68
+ const t = this.showRecentlyUsedTab ? this.TABS_DATA : this.TABS_DATA.slice(1);
69
+ return this.showCustomEmojisTab || t.pop(), t.map((e, i) => ({
64
70
  ...e,
65
71
  label: this.tabSetLabels[i],
66
72
  // IDs on dt-tab component need to be on string
@@ -105,7 +111,7 @@ const C = {
105
111
  }
106
112
  }
107
113
  };
108
- var A = function() {
114
+ var F = function() {
109
115
  var e = this, i = e._self._c;
110
116
  return i("div", { staticClass: "d-emoji-picker__tabset" }, [i("dt-tab-group", { attrs: { size: "sm", "tab-list-class": "d-emoji-picker__tabset-list", selected: e.selectedTab }, scopedSlots: e._u([{ key: "tabs", fn: function() {
111
117
  return e._l(e.tabs, function(s, o) {
@@ -116,18 +122,18 @@ var A = function() {
116
122
  } } }, [i(s.icon, { tag: "component", attrs: { size: "400" } })], 1);
117
123
  });
118
124
  }, proxy: !0 }]) })], 1);
119
- }, F = [], O = /* @__PURE__ */ u(
120
- C,
125
+ }, O = [], U = /* @__PURE__ */ u(
121
126
  A,
122
- F
127
+ F,
128
+ O
123
129
  );
124
- const N = O.exports, U = {
130
+ const N = U.exports, K = {
125
131
  name: "EmojiSearch",
126
132
  components: {
127
- DtInput: L,
128
- DtIconSearch: E,
129
- DtIconClose: $,
130
- DtButton: w
133
+ DtInput: I,
134
+ DtIconSearch: T,
135
+ DtIconClose: v,
136
+ DtButton: p
131
137
  },
132
138
  props: {
133
139
  searchPlaceholderLabel: {
@@ -163,7 +169,7 @@ const N = O.exports, U = {
163
169
  }
164
170
  }
165
171
  };
166
- var K = function() {
172
+ var B = function() {
167
173
  var e = this, i = e._self._c;
168
174
  return i("div", { staticClass: "d-emoji-picker__search d-emoji-picker__alignment" }, [i("dt-input", { ref: "searchInputRef", attrs: { id: "searchInput", placeholder: e.searchPlaceholderLabel, value: e.modelValue }, on: { input: e.updateModelValue, keydown: [function(s) {
169
175
  return !s.type.indexOf("key") && e._k(s.keyCode, "up", 38, s.key, ["Up", "ArrowUp"]) ? null : e.focusTabset.apply(null, arguments);
@@ -178,12 +184,12 @@ var K = function() {
178
184
  return [i("dt-icon-close", { attrs: { size: "200" } })];
179
185
  }, proxy: !0 }], null, !1, 4156074325) })];
180
186
  }, proxy: !0 } : null], null, !0) })], 1);
181
- }, B = [], P = /* @__PURE__ */ u(
182
- U,
187
+ }, P = [], q = /* @__PURE__ */ u(
183
188
  K,
184
- B
189
+ B,
190
+ P
185
191
  );
186
- const q = P.exports, z = {
192
+ const M = q.exports, z = {
187
193
  name: "EmojiSelector",
188
194
  props: {
189
195
  emojiFilter: {
@@ -213,6 +219,10 @@ const q = P.exports, z = {
213
219
  recentlyUsedEmojis: {
214
220
  type: Array,
215
221
  default: () => []
222
+ },
223
+ customEmojis: {
224
+ type: Array,
225
+ default: () => []
216
226
  }
217
227
  },
218
228
  data() {
@@ -224,7 +234,7 @@ const q = P.exports, z = {
224
234
  hoverFirstEmoji: !0,
225
235
  fixedLabel: "",
226
236
  filteredEmojis: [],
227
- TABS_DATA: ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags"],
237
+ TABS_DATA: ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags", "Custom"],
228
238
  tabLabelObserver: null
229
239
  };
230
240
  },
@@ -243,7 +253,7 @@ const q = P.exports, z = {
243
253
  ];
244
254
  },
245
255
  emojis() {
246
- return I;
256
+ return C;
247
257
  },
248
258
  CDN_URL() {
249
259
  return d;
@@ -268,6 +278,12 @@ const q = P.exports, z = {
268
278
  },
269
279
  immediate: !0
270
280
  },
281
+ customEmojis: {
282
+ handler(t) {
283
+ this.emojis.Custom = t;
284
+ },
285
+ immediate: !0
286
+ },
271
287
  emojiFilter: {
272
288
  handler(t) {
273
289
  this.resetScroll(), t ? this.isFiltering = !0 : (this.isFiltering = !1, this.$emit("highlighted-emoji", null)), this.debouncedSearch();
@@ -285,11 +301,11 @@ const q = P.exports, z = {
285
301
  },
286
302
  mounted() {
287
303
  this.$nextTick(() => {
288
- this.setupEmojiRefs(), this.setupFilteredRefs(), this.setupTabLabelRefs(), this.setTabLabelObserver();
304
+ this.setupEmojiRefs(), this.setupFilteredRefs(), this.setupTabLabelRefs(), this.setTabLabelObserver(), this.setBottomScrollListener();
289
305
  });
290
306
  },
291
307
  beforeDestroy() {
292
- this.tabLabelObserver && this.tabLabelObserver.disconnect();
308
+ this.tabLabelObserver && this.tabLabelObserver.disconnect(), this.$refs.listRef && this.handleScroll && this.$refs.listRef.removeEventListener("scroll", this.handleScroll);
293
309
  },
294
310
  methods: {
295
311
  setupTabLabelRefs() {
@@ -337,7 +353,7 @@ const q = P.exports, z = {
337
353
  };
338
354
  },
339
355
  getImgSrc: function(t) {
340
- return this.CDN_URL + t + ".png";
356
+ return t.date_added ? t.image : this.CDN_URL + t.unicode_character + ".png";
341
357
  },
342
358
  handleImageError: function(t) {
343
359
  t.target.parentNode.style.display = "none";
@@ -428,6 +444,12 @@ const q = P.exports, z = {
428
444
  }
429
445
  t.key === "ArrowLeft" && this.handleHorizontalNavigation("left", 0, e), t.key === "ArrowRight" && this.handleHorizontalNavigation("right", 0, e), t.key === "Tab" && this.$emit("focus-skin-selector"), t.key === "Enter" && this.handleEmojiSelection(i, t);
430
446
  },
447
+ setBottomScrollListener() {
448
+ this.handleScroll = () => {
449
+ const t = this.$refs.listRef;
450
+ t.scrollTop + t.clientHeight >= t.scrollHeight && this.$emit("scroll-bottom-reached");
451
+ }, this.$refs.listRef.addEventListener("scroll", this.handleScroll);
452
+ },
431
453
  setTabLabelObserver() {
432
454
  this.tabLabelObserver = new IntersectionObserver((t) => {
433
455
  t.forEach((e) => {
@@ -444,7 +466,7 @@ const q = P.exports, z = {
444
466
  }
445
467
  }
446
468
  };
447
- var M = function() {
469
+ var H = function() {
448
470
  var e = this, i = e._self._c;
449
471
  return i("div", { staticClass: "d-emoji-picker__selector" }, [i("div", { ref: "listRef", staticClass: "d-emoji-picker__list", attrs: { id: "d-emoji-picker-list" } }, [e.emojiFilter ? i("p", { staticClass: "d-emoji-picker__search-label d-emoji-picker__alignment" }, [e._v(" " + e._s(e.filteredEmojis.length > 0 ? e.searchResultsLabel : e.searchNoResultsLabel) + " ")]) : i("div", { ref: "tabCategoryRef", staticClass: "d-emoji-picker__category d-emoji-picker__alignment" }, [i("p", [e._v(" " + e._s(e.fixedLabel) + " ")])]), e._l(e.tabLabels, function(s, o) {
450
472
  return i("div", { directives: [{ name: "show", rawName: "v-show", value: !e.emojiFilter, expression: "!emojiFilter" }], key: o, ref: `tabLabelRef-${o}`, refInFor: !0, staticClass: "d-emoji-picker__alignment" }, [o ? i("p", [e._v(" " + e._s(s.label) + " ")]) : e._e(), i("div", { staticClass: "d-emoji-picker__tab" }, e._l(e.emojis[e.tabs[o] + e.skinTone] ? e.emojis[e.tabs[o] + e.skinTone] : e.emojis[e.tabs[o]], function(r, n) {
@@ -456,7 +478,7 @@ var M = function() {
456
478
  return e.$emit("highlighted-emoji", r);
457
479
  }, mouseleave: function(l) {
458
480
  return e.$emit("highlighted-emoji", null);
459
- }, keydown: (l) => e.handleKeyDown(l, o, n, r) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: r.name, "aria-label": r.name, title: r.name, src: e.getImgSrc(r.unicode_character) }, on: { error: e.handleImageError } })]);
481
+ }, keydown: (l) => e.handleKeyDown(l, o, n, r) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: r.name, "aria-label": r.name, title: r.name, src: e.getImgSrc(r) }, on: { error: e.handleImageError } })]);
460
482
  }), 0)]);
461
483
  }), e.emojiFilter ? i("div", { staticClass: "d-emoji-picker__alignment" }, [i("div", { staticClass: "d-emoji-picker__tab", attrs: { "data-qa": "filtered-emojis" } }, e._l(e.filteredEmojis, function(s, o) {
462
484
  return i("button", { key: s.shortname, ref: `filteredEmoji-${o}`, refInFor: !0, class: {
@@ -471,12 +493,12 @@ var M = function() {
471
493
  return e.hoverEmoji(null);
472
494
  }, keydown: (r) => e.handleKeyDownFilteredEmojis(r, o, s) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: s.name, "aria-label": s.name, title: s.name, src: `${e.CDN_URL + s.unicode_character}.png` } })]);
473
495
  }), 0)]) : e._e()], 2)]);
474
- }, H = [], Q = /* @__PURE__ */ u(
496
+ }, Q = [], V = /* @__PURE__ */ u(
475
497
  z,
476
- M,
477
- H
498
+ H,
499
+ Q
478
500
  );
479
- const V = Q.exports, G = {
501
+ const G = V.exports, J = {
480
502
  name: "EmojiDescription",
481
503
  props: {
482
504
  /**
@@ -493,18 +515,23 @@ const V = Q.exports, G = {
493
515
  return {
494
516
  CDN_URL: d
495
517
  };
518
+ },
519
+ methods: {
520
+ getImgSrc(t) {
521
+ return t.date_added ? t.image : `${d + t.unicode_character}.png`;
522
+ }
496
523
  }
497
524
  };
498
- var J = function() {
525
+ var Y = function() {
499
526
  var s;
500
527
  var e = this, i = e._self._c;
501
- return i("div", { staticClass: "d-emoji-picker__data" }, [e.emoji ? i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: e.emoji.name, "aria-label": e.emoji.name, title: e.emoji.name, src: `${e.CDN_URL + e.emoji.unicode_character}.png` } }) : e._e(), i("div", [e._v(e._s((s = e.emoji) == null ? void 0 : s.name))])]);
502
- }, Y = [], W = /* @__PURE__ */ u(
503
- G,
528
+ return i("div", { staticClass: "d-emoji-picker__data" }, [e.emoji ? i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: e.emoji.name, "aria-label": e.emoji.name, title: e.emoji.name, src: e.getImgSrc(e.emoji) } }) : e._e(), i("div", [e._v(e._s((s = e.emoji) == null ? void 0 : s.name))])]);
529
+ }, W = [], X = /* @__PURE__ */ u(
504
530
  J,
505
- Y
531
+ Y,
532
+ W
506
533
  );
507
- const X = W.exports, Z = {
534
+ const Z = X.exports, x = {
508
535
  name: "EmojiSkinSelector",
509
536
  components: {
510
537
  DtTooltip: D
@@ -615,7 +642,7 @@ const X = W.exports, Z = {
615
642
  }
616
643
  }
617
644
  };
618
- var x = function() {
645
+ var ee = function() {
619
646
  var e = this, i = e._self._c;
620
647
  return i("div", { attrs: { "data-qa": "skin-selector" } }, [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.isOpen, expression: "isOpen" }], staticClass: "d-emoji-picker__skin-list" }, e._l(e.skinList, function(s, o) {
621
648
  var r;
@@ -628,19 +655,20 @@ var x = function() {
628
655
  var s, o, r, n;
629
656
  return [i("button", { ref: "skinSelectorRef", attrs: { "aria-label": e.skinSelectorButtonTooltipLabel, tabindex: "-1" }, on: { click: e.toggleSkinList, keydown: (l) => e.handleKeyDown(l) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: (s = e.skinSelected) == null ? void 0 : s.name, "aria-label": (o = e.skinSelected) == null ? void 0 : o.name, title: (r = e.skinSelected) == null ? void 0 : r.name, src: `${e.cdnUrl + ((n = e.skinSelected) == null ? void 0 : n.unicode_output)}.png` } })])];
630
657
  }, proxy: !0 }]) }, [e._v(" " + e._s(e.skinSelectorButtonTooltipLabel) + " ")])], 1)]);
631
- }, ee = [], te = /* @__PURE__ */ u(
632
- Z,
658
+ }, te = [], se = /* @__PURE__ */ u(
633
659
  x,
634
- ee
660
+ ee,
661
+ te
635
662
  );
636
- const se = te.exports, ie = {
663
+ const ie = se.exports, oe = {
637
664
  name: "DtEmojiPicker",
638
665
  components: {
639
666
  EmojiTabset: N,
640
- EmojiSearch: q,
641
- EmojiSelector: V,
642
- EmojiDescription: X,
643
- EmojiSkinSelector: se
667
+ EmojiSearch: M,
668
+ EmojiSelector: G,
669
+ EmojiDescription: Z,
670
+ EmojiSkinSelector: ie,
671
+ DtButton: p
644
672
  },
645
673
  props: {
646
674
  /**
@@ -655,6 +683,29 @@ const se = te.exports, ie = {
655
683
  recentlyUsedEmojis: {
656
684
  type: Array
657
685
  },
686
+ /**
687
+ * The array with custom emojis object
688
+ * This list is necessary to fill the custom tab
689
+ * @type {Array}
690
+ * @default []
691
+ * @example
692
+ * <dt-emoji-picker :customEmojis="[emojiObject, emojiObject]" />
693
+ */
694
+ customEmojis: {
695
+ type: Array
696
+ },
697
+ /**
698
+ * The label for the add emoji button
699
+ * required false because it is still experimental
700
+ * @type {String}
701
+ * @example
702
+ * <dt-emoji-picker :addEmojiLabel="'Add emoji'" />
703
+ */
704
+ addEmojiLabel: {
705
+ type: String,
706
+ required: !1,
707
+ default: "Add emoji"
708
+ },
658
709
  /**
659
710
  * The placeholder text for the search input
660
711
  * @type {String}
@@ -756,6 +807,10 @@ const se = te.exports, ie = {
756
807
  };
757
808
  },
758
809
  computed: {
810
+ showCustomEmojisTab() {
811
+ var t;
812
+ return ((t = this.customEmojis) == null ? void 0 : t.length) > 0;
813
+ },
759
814
  showRecentlyUsedTab() {
760
815
  var t;
761
816
  return ((t = this.recentlyUsedEmojis) == null ? void 0 : t.length) > 0;
@@ -778,9 +833,9 @@ const se = te.exports, ie = {
778
833
  }
779
834
  }
780
835
  };
781
- var oe = function() {
836
+ var re = function() {
782
837
  var e = this, i = e._self._c;
783
- return i("div", { staticClass: "d-emoji-picker" }, [i("div", { staticClass: "d-emoji-picker--header" }, [i("emoji-tabset", { ref: "tabsetRef", attrs: { "emoji-filter": e.internalSearchQuery, "show-recently-used-tab": e.showRecentlyUsedTab, "scroll-into-tab": e.scrollIntoTab, "tab-set-labels": e.tabSetLabels }, on: { "focus-skin-selector": function(s) {
838
+ return i("div", { staticClass: "d-emoji-picker" }, [i("div", { staticClass: "d-emoji-picker--header" }, [i("emoji-tabset", { ref: "tabsetRef", attrs: { "emoji-filter": e.internalSearchQuery, "show-custom-emojis-tab": e.showCustomEmojisTab, "show-recently-used-tab": e.showRecentlyUsedTab, "scroll-into-tab": e.scrollIntoTab, "tab-set-labels": e.tabSetLabels }, on: { "focus-skin-selector": function(s) {
784
839
  return e.$refs.skinSelectorRef.focusSkinSelector();
785
840
  }, "focus-search-input": function(s) {
786
841
  e.showSearch ? e.$refs.searchInputRef.focusSearchInput() : e.$refs.emojiSelectorRef.focusEmojiSelector();
@@ -794,15 +849,19 @@ var oe = function() {
794
849
  return e.$refs.emojiSelectorRef.focusEmojiSelector();
795
850
  } }, nativeOn: { keydown: function(s) {
796
851
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("close");
797
- } } }) : e._e(), i("emoji-selector", { ref: "emojiSelectorRef", attrs: { "emoji-filter": e.internalSearchQuery, "skin-tone": e.skinTone, "tab-set-labels": e.tabSetLabels, "search-results-label": e.searchResultsLabel, "search-no-results-label": e.searchNoResultsLabel, "recently-used-emojis": e.recentlyUsedEmojis, "selected-tabset": e.selectedTabset }, on: { "scroll-into-tab": e.updateScrollIntoTab, "highlighted-emoji": e.updateHighlightedEmoji, "selected-emoji": function(s) {
852
+ } } }) : e._e(), i("emoji-selector", { ref: "emojiSelectorRef", attrs: { "emoji-filter": e.internalSearchQuery, "skin-tone": e.skinTone, "tab-set-labels": e.tabSetLabels, "search-results-label": e.searchResultsLabel, "search-no-results-label": e.searchNoResultsLabel, "recently-used-emojis": e.recentlyUsedEmojis, "custom-emojis": e.customEmojis, "selected-tabset": e.selectedTabset }, on: { "scroll-into-tab": e.updateScrollIntoTab, "highlighted-emoji": e.updateHighlightedEmoji, "selected-emoji": function(s) {
798
853
  return e.$emit("selected-emoji", s);
799
854
  }, "focus-skin-selector": function(s) {
800
855
  return e.$refs.skinSelectorRef.focusSkinSelector();
801
856
  }, "focus-search-input": function(s) {
802
857
  e.showSearch ? e.$refs.searchInputRef.focusSearchInput() : e.$refs.tabsetRef.focusTabset();
858
+ }, "scroll-bottom-reached": function(s) {
859
+ return e.$emit("scroll-bottom-reached");
803
860
  } }, nativeOn: { keydown: function(s) {
804
861
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("close");
805
- } } })], 1), i("div", { staticClass: "d-emoji-picker--footer" }, [i("emoji-description", { attrs: { emoji: e.highlightedEmoji } }), i("emoji-skin-selector", { ref: "skinSelectorRef", attrs: { "is-hovering": !!e.highlightedEmoji, "skin-selector-button-tooltip-label": e.skinSelectorButtonTooltipLabel, "skin-tone": e.skinTone }, on: { "skin-tone": function(s) {
862
+ } } })], 1), i("div", { staticClass: "d-emoji-picker--footer" }, [e.showCustomEmojisTab && !e.highlightedEmoji ? i("dt-button", { staticClass: "d-emoji-picker__add-emoji", attrs: { importance: "outlined" }, on: { click: function(s) {
863
+ return e.$emit("add-emoji");
864
+ } } }, [e._v(" " + e._s(e.addEmojiLabel) + " ")]) : e._e(), i("emoji-description", { attrs: { emoji: e.highlightedEmoji } }), i("emoji-skin-selector", { ref: "skinSelectorRef", attrs: { "is-hovering": !!e.highlightedEmoji, "skin-selector-button-tooltip-label": e.skinSelectorButtonTooltipLabel, "skin-tone": e.skinTone }, on: { "skin-tone": function(s) {
806
865
  return e.$emit("skin-tone", s);
807
866
  }, "focus-tabset": function(s) {
808
867
  return e.$refs.tabsetRef.focusTabset();
@@ -811,13 +870,13 @@ var oe = function() {
811
870
  } }, nativeOn: { keydown: function(s) {
812
871
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("close");
813
872
  } } })], 1)]);
814
- }, re = [], ne = /* @__PURE__ */ u(
815
- ie,
873
+ }, ne = [], le = /* @__PURE__ */ u(
816
874
  oe,
817
- re
875
+ re,
876
+ ne
818
877
  );
819
- const be = ne.exports;
878
+ const je = le.exports;
820
879
  export {
821
- be as default
880
+ je as default
822
881
  };
823
882
  //# sourceMappingURL=emoji-picker.js.map