@editora/core 1.0.0 → 1.0.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.
- package/README.md +9 -0
- package/dist/A11yCheckerPlugin.native-CZKpi3uF.mjs +475 -0
- package/dist/A11yCheckerPlugin.native-CZKpi3uF.mjs.map +1 -0
- package/dist/AnchorPlugin.native-7es9PVZ9.mjs +340 -0
- package/dist/AnchorPlugin.native-7es9PVZ9.mjs.map +1 -0
- package/dist/BackgroundColorPlugin.native-Dip5uqTg.mjs +449 -0
- package/dist/BackgroundColorPlugin.native-Dip5uqTg.mjs.map +1 -0
- package/dist/BlockquotePlugin.native-JFmOLsxN.mjs +48 -0
- package/dist/BlockquotePlugin.native-JFmOLsxN.mjs.map +1 -0
- package/dist/BoldPlugin.native-BAzzoqU5.mjs +45 -0
- package/dist/BoldPlugin.native-BAzzoqU5.mjs.map +1 -0
- package/dist/CapitalizationPlugin.native-DOMsh5R7.mjs +79 -0
- package/dist/CapitalizationPlugin.native-DOMsh5R7.mjs.map +1 -0
- package/dist/ChecklistPlugin.native-Dccs3nLe.mjs +153 -0
- package/dist/ChecklistPlugin.native-Dccs3nLe.mjs.map +1 -0
- package/dist/ClearFormattingPlugin.native-BZPDHswo.mjs +27 -0
- package/dist/ClearFormattingPlugin.native-BZPDHswo.mjs.map +1 -0
- package/dist/CodePlugin.native-DD9xFIid.mjs +1679 -0
- package/dist/CodePlugin.native-DD9xFIid.mjs.map +1 -0
- package/dist/CodeSamplePlugin.native-DMbEdO9j.mjs +326 -0
- package/dist/CodeSamplePlugin.native-DMbEdO9j.mjs.map +1 -0
- package/dist/CommentsPlugin.native-2zQV8Ia4.mjs +473 -0
- package/dist/CommentsPlugin.native-2zQV8Ia4.mjs.map +1 -0
- package/dist/DirectionPlugin.native-Be7wCzkI.mjs +59 -0
- package/dist/DirectionPlugin.native-Be7wCzkI.mjs.map +1 -0
- package/dist/DocumentManagerPlugin.native-BvZL5CSG.mjs +116 -0
- package/dist/DocumentManagerPlugin.native-BvZL5CSG.mjs.map +1 -0
- package/dist/EmbedIframePlugin.native-ifr9KLdN.mjs +461 -0
- package/dist/EmbedIframePlugin.native-ifr9KLdN.mjs.map +1 -0
- package/dist/EmojisPlugin.native-D6mJSnSR.mjs +1033 -0
- package/dist/EmojisPlugin.native-D6mJSnSR.mjs.map +1 -0
- package/dist/FontFamilyPlugin.native-BzS_9qbM.mjs +106 -0
- package/dist/FontFamilyPlugin.native-BzS_9qbM.mjs.map +1 -0
- package/dist/FontSizePlugin.native-DkLMLPue.mjs +186 -0
- package/dist/FontSizePlugin.native-DkLMLPue.mjs.map +1 -0
- package/dist/FootnotePlugin.native-BciVc9W6.mjs +128 -0
- package/dist/FootnotePlugin.native-BciVc9W6.mjs.map +1 -0
- package/dist/FullscreenPlugin.native-ChXyxeNw.mjs +77 -0
- package/dist/FullscreenPlugin.native-ChXyxeNw.mjs.map +1 -0
- package/dist/HeadingPlugin.native-DrLYwQnQ.mjs +64 -0
- package/dist/HeadingPlugin.native-DrLYwQnQ.mjs.map +1 -0
- package/dist/HistoryPlugin.native-DoDRifCf.mjs +89 -0
- package/dist/HistoryPlugin.native-DoDRifCf.mjs.map +1 -0
- package/dist/IndentPlugin.native-CbFugPoi.mjs +133 -0
- package/dist/IndentPlugin.native-CbFugPoi.mjs.map +1 -0
- package/dist/ItalicPlugin.native-CQjjDyUL.mjs +43 -0
- package/dist/ItalicPlugin.native-CQjjDyUL.mjs.map +1 -0
- package/dist/LineHeightPlugin.native-CWQT2FIa.mjs +73 -0
- package/dist/LineHeightPlugin.native-CWQT2FIa.mjs.map +1 -0
- package/dist/LinkPlugin.native-BdAOV-iu.mjs +206 -0
- package/dist/LinkPlugin.native-BdAOV-iu.mjs.map +1 -0
- package/dist/ListPlugin.native-CLFU5AUQ.mjs +59 -0
- package/dist/ListPlugin.native-CLFU5AUQ.mjs.map +1 -0
- package/dist/MathPlugin.native-DE_ii-LA.mjs +182 -0
- package/dist/MathPlugin.native-DE_ii-LA.mjs.map +1 -0
- package/dist/MediaManagerPlugin.native-DaYFDzNM.mjs +533 -0
- package/dist/MediaManagerPlugin.native-DaYFDzNM.mjs.map +1 -0
- package/dist/MergeTagPlugin.native-CrxyThyn.mjs +178 -0
- package/dist/MergeTagPlugin.native-CrxyThyn.mjs.map +1 -0
- package/dist/PageBreakPlugin.native-DDjcDyRW.mjs +172 -0
- package/dist/PageBreakPlugin.native-DDjcDyRW.mjs.map +1 -0
- package/dist/PreviewPlugin.native-DBvfpmIv.mjs +322 -0
- package/dist/PreviewPlugin.native-DBvfpmIv.mjs.map +1 -0
- package/dist/PrintPlugin.native-BUpm52VJ.mjs +311 -0
- package/dist/PrintPlugin.native-BUpm52VJ.mjs.map +1 -0
- package/dist/SpecialCharactersPlugin.native-x7a2SWXc.mjs +731 -0
- package/dist/SpecialCharactersPlugin.native-x7a2SWXc.mjs.map +1 -0
- package/dist/SpellCheckPlugin.native-B7yTh0iE.mjs +465 -0
- package/dist/SpellCheckPlugin.native-B7yTh0iE.mjs.map +1 -0
- package/dist/StrikethroughPlugin.native-ChaZLaXw.mjs +43 -0
- package/dist/StrikethroughPlugin.native-ChaZLaXw.mjs.map +1 -0
- package/dist/TablePlugin.native-EEWXn1-s.mjs +491 -0
- package/dist/TablePlugin.native-EEWXn1-s.mjs.map +1 -0
- package/dist/TemplatePlugin.native-BlSn1c9h.mjs +564 -0
- package/dist/TemplatePlugin.native-BlSn1c9h.mjs.map +1 -0
- package/dist/TextAlignmentPlugin.native-CQIs1m7R.mjs +97 -0
- package/dist/TextAlignmentPlugin.native-CQIs1m7R.mjs.map +1 -0
- package/dist/TextColorPlugin.native-D6SmTglm.mjs +432 -0
- package/dist/TextColorPlugin.native-D6SmTglm.mjs.map +1 -0
- package/dist/UnderlinePlugin.native-QpIcK4L2.mjs +35 -0
- package/dist/UnderlinePlugin.native-QpIcK4L2.mjs.map +1 -0
- package/dist/core.css +1 -0
- package/dist/documentManager-irzj9n3V.mjs +37627 -0
- package/dist/documentManager-irzj9n3V.mjs.map +1 -0
- package/dist/editorContainerHelpers-C7kdWnS0.mjs +27 -0
- package/dist/editorContainerHelpers-C7kdWnS0.mjs.map +1 -0
- package/dist/editora.min.js +519 -4
- package/dist/editora.min.js.map +1 -0
- package/dist/editora.umd.js +519 -4
- package/dist/editora.umd.js.map +1 -0
- package/dist/index-BF5RBhL9.js +4 -0
- package/dist/index-BF5RBhL9.js.map +1 -0
- package/dist/index-BPsf460l.mjs +1243 -0
- package/dist/index-BPsf460l.mjs.map +1 -0
- package/dist/index.cjs.js +517 -4
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es-CuicffkQ.mjs +6665 -0
- package/dist/index.es-CuicffkQ.mjs.map +1 -0
- package/dist/index.esm.js +1403 -122
- package/dist/index.esm.js.map +1 -0
- package/dist/plugin-loader.js +55 -0
- package/dist/plugin-loader.js.map +1 -0
- package/dist/purify.es-CKpwg8Tk.mjs +471 -0
- package/dist/purify.es-CKpwg8Tk.mjs.map +1 -0
- package/dist/webcomponent-core.js +1243 -0
- package/dist/webcomponent-core.js.map +1 -0
- package/dist/webcomponent-core.min.css +1 -0
- package/dist/webcomponent-core.min.js +597 -0
- package/dist/webcomponent-core.min.js.map +1 -0
- package/dist/webcomponent.cjs.js +2 -0
- package/dist/webcomponent.cjs.js.map +1 -0
- package/dist/webcomponent.esm.js +6 -0
- package/dist/webcomponent.esm.js.map +1 -0
- package/dist/webcomponent.js +1286 -0
- package/dist/webcomponent.js.map +1 -0
- package/dist/webcomponent.min.css +1 -0
- package/dist/webcomponent.min.js +4076 -0
- package/dist/webcomponent.min.js.map +1 -0
- package/package.json +64 -6
|
@@ -0,0 +1,1033 @@
|
|
|
1
|
+
const d = {
|
|
2
|
+
all: {
|
|
3
|
+
name: "All",
|
|
4
|
+
emojis: [
|
|
5
|
+
/* Symbols */
|
|
6
|
+
"❤️",
|
|
7
|
+
"💔",
|
|
8
|
+
"💙",
|
|
9
|
+
"💚",
|
|
10
|
+
"💛",
|
|
11
|
+
"🖤",
|
|
12
|
+
"🤍",
|
|
13
|
+
"🤎",
|
|
14
|
+
"✔️",
|
|
15
|
+
"❌",
|
|
16
|
+
"☑️",
|
|
17
|
+
"❗",
|
|
18
|
+
"❓",
|
|
19
|
+
"⚠️",
|
|
20
|
+
"💯",
|
|
21
|
+
"➕",
|
|
22
|
+
"➖",
|
|
23
|
+
"✖️",
|
|
24
|
+
"➗",
|
|
25
|
+
"♻️",
|
|
26
|
+
"⚡",
|
|
27
|
+
"🔥",
|
|
28
|
+
"✨",
|
|
29
|
+
"⭐",
|
|
30
|
+
"⭕",
|
|
31
|
+
"🚫",
|
|
32
|
+
/* People */
|
|
33
|
+
"😀",
|
|
34
|
+
"😃",
|
|
35
|
+
"😄",
|
|
36
|
+
"😁",
|
|
37
|
+
"😆",
|
|
38
|
+
"😅",
|
|
39
|
+
"😂",
|
|
40
|
+
"🤣",
|
|
41
|
+
"😊",
|
|
42
|
+
"😇",
|
|
43
|
+
"🙂",
|
|
44
|
+
"🙃",
|
|
45
|
+
"😉",
|
|
46
|
+
"😍",
|
|
47
|
+
"😘",
|
|
48
|
+
"😎",
|
|
49
|
+
"🤓",
|
|
50
|
+
"😐",
|
|
51
|
+
"😑",
|
|
52
|
+
"😬",
|
|
53
|
+
"🙄",
|
|
54
|
+
"😏",
|
|
55
|
+
"😌",
|
|
56
|
+
"🤩",
|
|
57
|
+
"🥳",
|
|
58
|
+
"🤔",
|
|
59
|
+
"😴",
|
|
60
|
+
"😭",
|
|
61
|
+
"😢",
|
|
62
|
+
"😡",
|
|
63
|
+
"🤯",
|
|
64
|
+
"👍",
|
|
65
|
+
"👎",
|
|
66
|
+
"👌",
|
|
67
|
+
"✌️",
|
|
68
|
+
"🤞",
|
|
69
|
+
"🙏",
|
|
70
|
+
"👏",
|
|
71
|
+
"🙌",
|
|
72
|
+
"💪",
|
|
73
|
+
/* Animals & Nature */
|
|
74
|
+
"🐶",
|
|
75
|
+
"🐱",
|
|
76
|
+
"🐭",
|
|
77
|
+
"🐹",
|
|
78
|
+
"🐰",
|
|
79
|
+
"🦊",
|
|
80
|
+
"🐻",
|
|
81
|
+
"🐼",
|
|
82
|
+
"🐨",
|
|
83
|
+
"🐯",
|
|
84
|
+
"🦁",
|
|
85
|
+
"🐮",
|
|
86
|
+
"🐷",
|
|
87
|
+
"🐸",
|
|
88
|
+
"🐵",
|
|
89
|
+
"🐔",
|
|
90
|
+
"🐧",
|
|
91
|
+
"🐦",
|
|
92
|
+
"🦆",
|
|
93
|
+
"🦅",
|
|
94
|
+
"🦄",
|
|
95
|
+
"🐝",
|
|
96
|
+
"🦋",
|
|
97
|
+
"🌲",
|
|
98
|
+
"🌳",
|
|
99
|
+
"🌴",
|
|
100
|
+
"🌵",
|
|
101
|
+
"🌸",
|
|
102
|
+
"🌼",
|
|
103
|
+
"🌻",
|
|
104
|
+
"☀️",
|
|
105
|
+
"🌙",
|
|
106
|
+
"⭐",
|
|
107
|
+
"🌈",
|
|
108
|
+
"🌧️",
|
|
109
|
+
"❄️",
|
|
110
|
+
"🌊",
|
|
111
|
+
/* Food & Drink */
|
|
112
|
+
"🍎",
|
|
113
|
+
"🍌",
|
|
114
|
+
"🍉",
|
|
115
|
+
"🍇",
|
|
116
|
+
"🍓",
|
|
117
|
+
"🍒",
|
|
118
|
+
"🍍",
|
|
119
|
+
"🥭",
|
|
120
|
+
"🍐",
|
|
121
|
+
"🍊",
|
|
122
|
+
"🍋",
|
|
123
|
+
"🍑",
|
|
124
|
+
"🥝",
|
|
125
|
+
"🥑",
|
|
126
|
+
"🍔",
|
|
127
|
+
"🍟",
|
|
128
|
+
"🍕",
|
|
129
|
+
"🌭",
|
|
130
|
+
"🥪",
|
|
131
|
+
"🌮",
|
|
132
|
+
"🌯",
|
|
133
|
+
"🍣",
|
|
134
|
+
"🍜",
|
|
135
|
+
"🍰",
|
|
136
|
+
"🧁",
|
|
137
|
+
"🍩",
|
|
138
|
+
"🍪",
|
|
139
|
+
"🍫",
|
|
140
|
+
"☕",
|
|
141
|
+
"🍵",
|
|
142
|
+
"🥤",
|
|
143
|
+
"🍺",
|
|
144
|
+
"🍷",
|
|
145
|
+
"🍸",
|
|
146
|
+
"🍹",
|
|
147
|
+
"🥂",
|
|
148
|
+
/* Activity */
|
|
149
|
+
"⚽",
|
|
150
|
+
"🏀",
|
|
151
|
+
"🏈",
|
|
152
|
+
"⚾",
|
|
153
|
+
"🎾",
|
|
154
|
+
"🏐",
|
|
155
|
+
"🏉",
|
|
156
|
+
"🎮",
|
|
157
|
+
"🎯",
|
|
158
|
+
"🎳",
|
|
159
|
+
"🎲",
|
|
160
|
+
"♟️",
|
|
161
|
+
"🏃",
|
|
162
|
+
"🚴",
|
|
163
|
+
"🏊",
|
|
164
|
+
"🏋️",
|
|
165
|
+
"🧘",
|
|
166
|
+
"🎸",
|
|
167
|
+
"🎹",
|
|
168
|
+
"🥁",
|
|
169
|
+
"🎺",
|
|
170
|
+
"🎤",
|
|
171
|
+
"🏆",
|
|
172
|
+
"🥇",
|
|
173
|
+
/* Travel & Places */
|
|
174
|
+
"🚗",
|
|
175
|
+
"🚕",
|
|
176
|
+
"🚌",
|
|
177
|
+
"🚎",
|
|
178
|
+
"🚓",
|
|
179
|
+
"🚑",
|
|
180
|
+
"🚒",
|
|
181
|
+
"✈️",
|
|
182
|
+
"🚀",
|
|
183
|
+
"🚁",
|
|
184
|
+
"🚤",
|
|
185
|
+
"🛳️",
|
|
186
|
+
"🚢",
|
|
187
|
+
"🏠",
|
|
188
|
+
"🏢",
|
|
189
|
+
"🏬",
|
|
190
|
+
"🏫",
|
|
191
|
+
"🏥",
|
|
192
|
+
"🏰",
|
|
193
|
+
"🗼",
|
|
194
|
+
"🗽",
|
|
195
|
+
"⛩️",
|
|
196
|
+
"🕌",
|
|
197
|
+
"🌍",
|
|
198
|
+
"🌎",
|
|
199
|
+
"🌏",
|
|
200
|
+
"🏖️",
|
|
201
|
+
"🏝️",
|
|
202
|
+
/* Objects */
|
|
203
|
+
"📱",
|
|
204
|
+
"💻",
|
|
205
|
+
"🖥️",
|
|
206
|
+
"⌨️",
|
|
207
|
+
"🖱️",
|
|
208
|
+
"📷",
|
|
209
|
+
"📸",
|
|
210
|
+
"🎥",
|
|
211
|
+
"📹",
|
|
212
|
+
"📚",
|
|
213
|
+
"📖",
|
|
214
|
+
"📝",
|
|
215
|
+
"📄",
|
|
216
|
+
"📂",
|
|
217
|
+
"🔒",
|
|
218
|
+
"🔑",
|
|
219
|
+
"🗝️",
|
|
220
|
+
"💡",
|
|
221
|
+
"🔦",
|
|
222
|
+
"🕯️",
|
|
223
|
+
"🧰",
|
|
224
|
+
"🛠️",
|
|
225
|
+
"🔧",
|
|
226
|
+
"⚙️",
|
|
227
|
+
"📦",
|
|
228
|
+
"💳",
|
|
229
|
+
"💰",
|
|
230
|
+
"🔋",
|
|
231
|
+
"🔌",
|
|
232
|
+
/* Flags */
|
|
233
|
+
"🇮🇳",
|
|
234
|
+
"🇺🇸",
|
|
235
|
+
"🇬🇧",
|
|
236
|
+
"🇨🇦",
|
|
237
|
+
"🇦🇺",
|
|
238
|
+
"🇩🇪",
|
|
239
|
+
"🇫🇷",
|
|
240
|
+
"🇪🇸",
|
|
241
|
+
"🇮🇹",
|
|
242
|
+
"🇯🇵",
|
|
243
|
+
"🇰🇷",
|
|
244
|
+
"🇨🇳",
|
|
245
|
+
"🇧🇷",
|
|
246
|
+
"🇲🇽",
|
|
247
|
+
"🇷🇺",
|
|
248
|
+
"🇿🇦",
|
|
249
|
+
"🇳🇿"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
symbols: {
|
|
253
|
+
name: "Symbols",
|
|
254
|
+
emojis: [
|
|
255
|
+
"❤️",
|
|
256
|
+
"💔",
|
|
257
|
+
"💙",
|
|
258
|
+
"💚",
|
|
259
|
+
"💛",
|
|
260
|
+
"🖤",
|
|
261
|
+
"🤍",
|
|
262
|
+
"🤎",
|
|
263
|
+
"✔️",
|
|
264
|
+
"❌",
|
|
265
|
+
"☑️",
|
|
266
|
+
"❗",
|
|
267
|
+
"❓",
|
|
268
|
+
"⚠️",
|
|
269
|
+
"💯",
|
|
270
|
+
"➕",
|
|
271
|
+
"➖",
|
|
272
|
+
"✖️",
|
|
273
|
+
"➗",
|
|
274
|
+
"♻️",
|
|
275
|
+
"⚡",
|
|
276
|
+
"🔥",
|
|
277
|
+
"✨",
|
|
278
|
+
"⭐",
|
|
279
|
+
"⭕",
|
|
280
|
+
"🚫",
|
|
281
|
+
"⬆️",
|
|
282
|
+
"⬇️",
|
|
283
|
+
"⬅️",
|
|
284
|
+
"➡️",
|
|
285
|
+
"🔄",
|
|
286
|
+
"🔁",
|
|
287
|
+
"🔀",
|
|
288
|
+
"🔔",
|
|
289
|
+
"🔕",
|
|
290
|
+
"⏰",
|
|
291
|
+
"⌛",
|
|
292
|
+
"⏳"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
people: {
|
|
296
|
+
name: "People",
|
|
297
|
+
emojis: [
|
|
298
|
+
"😀",
|
|
299
|
+
"😃",
|
|
300
|
+
"😄",
|
|
301
|
+
"😁",
|
|
302
|
+
"😆",
|
|
303
|
+
"😅",
|
|
304
|
+
"😂",
|
|
305
|
+
"🤣",
|
|
306
|
+
"😊",
|
|
307
|
+
"😇",
|
|
308
|
+
"🙂",
|
|
309
|
+
"🙃",
|
|
310
|
+
"😉",
|
|
311
|
+
"😍",
|
|
312
|
+
"😘",
|
|
313
|
+
"😎",
|
|
314
|
+
"🤓",
|
|
315
|
+
"😐",
|
|
316
|
+
"😑",
|
|
317
|
+
"😬",
|
|
318
|
+
"🙄",
|
|
319
|
+
"😏",
|
|
320
|
+
"😌",
|
|
321
|
+
"🤩",
|
|
322
|
+
"🥳",
|
|
323
|
+
"🤔",
|
|
324
|
+
"😴",
|
|
325
|
+
"😭",
|
|
326
|
+
"😢",
|
|
327
|
+
"😡",
|
|
328
|
+
"🤯",
|
|
329
|
+
"👍",
|
|
330
|
+
"👎",
|
|
331
|
+
"👌",
|
|
332
|
+
"✌️",
|
|
333
|
+
"🤞",
|
|
334
|
+
"🙏",
|
|
335
|
+
"👏",
|
|
336
|
+
"🙌",
|
|
337
|
+
"💪"
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
"animals-nature": {
|
|
341
|
+
name: "Animals & Nature",
|
|
342
|
+
emojis: [
|
|
343
|
+
"🐶",
|
|
344
|
+
"🐱",
|
|
345
|
+
"🐭",
|
|
346
|
+
"🐹",
|
|
347
|
+
"🐰",
|
|
348
|
+
"🦊",
|
|
349
|
+
"🐻",
|
|
350
|
+
"🐼",
|
|
351
|
+
"🐨",
|
|
352
|
+
"🐯",
|
|
353
|
+
"🦁",
|
|
354
|
+
"🐮",
|
|
355
|
+
"🐷",
|
|
356
|
+
"🐸",
|
|
357
|
+
"🐵",
|
|
358
|
+
"🐔",
|
|
359
|
+
"🐧",
|
|
360
|
+
"🐦",
|
|
361
|
+
"🦆",
|
|
362
|
+
"🦅",
|
|
363
|
+
"🦄",
|
|
364
|
+
"🐝",
|
|
365
|
+
"🦋",
|
|
366
|
+
"🌲",
|
|
367
|
+
"🌳",
|
|
368
|
+
"🌴",
|
|
369
|
+
"🌵",
|
|
370
|
+
"🌸",
|
|
371
|
+
"🌼",
|
|
372
|
+
"🌻",
|
|
373
|
+
"☀️",
|
|
374
|
+
"🌙",
|
|
375
|
+
"⭐",
|
|
376
|
+
"🌈",
|
|
377
|
+
"🌧️",
|
|
378
|
+
"❄️",
|
|
379
|
+
"🌊"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"food-drink": {
|
|
383
|
+
name: "Food & Drink",
|
|
384
|
+
emojis: [
|
|
385
|
+
"🍎",
|
|
386
|
+
"🍌",
|
|
387
|
+
"🍉",
|
|
388
|
+
"🍇",
|
|
389
|
+
"🍓",
|
|
390
|
+
"🍒",
|
|
391
|
+
"🍍",
|
|
392
|
+
"🥭",
|
|
393
|
+
"🍐",
|
|
394
|
+
"🍊",
|
|
395
|
+
"🍋",
|
|
396
|
+
"🍑",
|
|
397
|
+
"🥝",
|
|
398
|
+
"🥑",
|
|
399
|
+
"🍔",
|
|
400
|
+
"🍟",
|
|
401
|
+
"🍕",
|
|
402
|
+
"🌭",
|
|
403
|
+
"🥪",
|
|
404
|
+
"🌮",
|
|
405
|
+
"🌯",
|
|
406
|
+
"🍣",
|
|
407
|
+
"🍜",
|
|
408
|
+
"🍰",
|
|
409
|
+
"🧁",
|
|
410
|
+
"🍩",
|
|
411
|
+
"🍪",
|
|
412
|
+
"🍫",
|
|
413
|
+
"☕",
|
|
414
|
+
"🍵",
|
|
415
|
+
"🥤",
|
|
416
|
+
"🍺",
|
|
417
|
+
"🍷",
|
|
418
|
+
"🍸",
|
|
419
|
+
"🍹",
|
|
420
|
+
"🥂"
|
|
421
|
+
]
|
|
422
|
+
},
|
|
423
|
+
activity: {
|
|
424
|
+
name: "Activity",
|
|
425
|
+
emojis: [
|
|
426
|
+
"⚽",
|
|
427
|
+
"🏀",
|
|
428
|
+
"🏈",
|
|
429
|
+
"⚾",
|
|
430
|
+
"🎾",
|
|
431
|
+
"🏐",
|
|
432
|
+
"🏉",
|
|
433
|
+
"🎮",
|
|
434
|
+
"🎯",
|
|
435
|
+
"🎳",
|
|
436
|
+
"🎲",
|
|
437
|
+
"♟️",
|
|
438
|
+
"🏃",
|
|
439
|
+
"🚴",
|
|
440
|
+
"🏊",
|
|
441
|
+
"🏋️",
|
|
442
|
+
"🧘",
|
|
443
|
+
"🎸",
|
|
444
|
+
"🎹",
|
|
445
|
+
"🥁",
|
|
446
|
+
"🎺",
|
|
447
|
+
"🎤",
|
|
448
|
+
"🏆",
|
|
449
|
+
"🥇",
|
|
450
|
+
"🥈",
|
|
451
|
+
"🥉"
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"travel-places": {
|
|
455
|
+
name: "Travel & Places",
|
|
456
|
+
emojis: [
|
|
457
|
+
"🚗",
|
|
458
|
+
"🚕",
|
|
459
|
+
"🚌",
|
|
460
|
+
"🚎",
|
|
461
|
+
"🚓",
|
|
462
|
+
"🚑",
|
|
463
|
+
"🚒",
|
|
464
|
+
"✈️",
|
|
465
|
+
"🚀",
|
|
466
|
+
"🚁",
|
|
467
|
+
"🚤",
|
|
468
|
+
"🛳️",
|
|
469
|
+
"🚢",
|
|
470
|
+
"🏠",
|
|
471
|
+
"🏢",
|
|
472
|
+
"🏬",
|
|
473
|
+
"🏫",
|
|
474
|
+
"🏥",
|
|
475
|
+
"🏰",
|
|
476
|
+
"🗼",
|
|
477
|
+
"🗽",
|
|
478
|
+
"⛩️",
|
|
479
|
+
"🕌",
|
|
480
|
+
"🌍",
|
|
481
|
+
"🌎",
|
|
482
|
+
"🌏",
|
|
483
|
+
"🏖️",
|
|
484
|
+
"🏝️"
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
objects: {
|
|
488
|
+
name: "Objects",
|
|
489
|
+
emojis: [
|
|
490
|
+
"📱",
|
|
491
|
+
"💻",
|
|
492
|
+
"🖥️",
|
|
493
|
+
"⌨️",
|
|
494
|
+
"🖱️",
|
|
495
|
+
"📷",
|
|
496
|
+
"📸",
|
|
497
|
+
"🎥",
|
|
498
|
+
"📹",
|
|
499
|
+
"📚",
|
|
500
|
+
"📖",
|
|
501
|
+
"📝",
|
|
502
|
+
"📄",
|
|
503
|
+
"📂",
|
|
504
|
+
"🔒",
|
|
505
|
+
"🔑",
|
|
506
|
+
"🗝️",
|
|
507
|
+
"💡",
|
|
508
|
+
"🔦",
|
|
509
|
+
"🕯️",
|
|
510
|
+
"🧰",
|
|
511
|
+
"🛠️",
|
|
512
|
+
"🔧",
|
|
513
|
+
"⚙️",
|
|
514
|
+
"📦",
|
|
515
|
+
"💳",
|
|
516
|
+
"💰",
|
|
517
|
+
"🔋",
|
|
518
|
+
"🔌"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
flags: {
|
|
522
|
+
name: "Flags",
|
|
523
|
+
emojis: [
|
|
524
|
+
"🇮🇳",
|
|
525
|
+
"🇺🇸",
|
|
526
|
+
"🇬🇧",
|
|
527
|
+
"🇨🇦",
|
|
528
|
+
"🇦🇺",
|
|
529
|
+
"🇩🇪",
|
|
530
|
+
"🇫🇷",
|
|
531
|
+
"🇪🇸",
|
|
532
|
+
"🇮🇹",
|
|
533
|
+
"🇯🇵",
|
|
534
|
+
"🇰🇷",
|
|
535
|
+
"🇨🇳",
|
|
536
|
+
"🇧🇷",
|
|
537
|
+
"🇲🇽",
|
|
538
|
+
"🇷🇺",
|
|
539
|
+
"🇿🇦",
|
|
540
|
+
"🇳🇿"
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
}, b = {
|
|
544
|
+
"💙": "blue heart",
|
|
545
|
+
"💚": "green heart",
|
|
546
|
+
"💛": "yellow heart",
|
|
547
|
+
"🖤": "black heart",
|
|
548
|
+
"🤍": "white heart",
|
|
549
|
+
"🤎": "brown heart",
|
|
550
|
+
"☑️": "check box with check",
|
|
551
|
+
"🔴": "red circle",
|
|
552
|
+
"🟢": "green circle",
|
|
553
|
+
"🟡": "yellow circle",
|
|
554
|
+
"🔵": "blue circle",
|
|
555
|
+
"⬆️": "up arrow",
|
|
556
|
+
"⬇️": "down arrow",
|
|
557
|
+
"⬅️": "left arrow",
|
|
558
|
+
"➡️": "right arrow",
|
|
559
|
+
"🔄": "counterclockwise arrows",
|
|
560
|
+
"🔁": "repeat button",
|
|
561
|
+
"🔀": "shuffle tracks",
|
|
562
|
+
"🔔": "bell",
|
|
563
|
+
"🔕": "muted bell",
|
|
564
|
+
"⏰": "alarm clock",
|
|
565
|
+
"⏳": "hourglass not done",
|
|
566
|
+
"⌛": "hourglass done",
|
|
567
|
+
"♠️": "spade suit",
|
|
568
|
+
"♥️": "heart suit",
|
|
569
|
+
"♦️": "diamond suit",
|
|
570
|
+
"♣️": "club suit",
|
|
571
|
+
"🚫": "prohibited",
|
|
572
|
+
"⭕": "hollow red circle",
|
|
573
|
+
"❎": "cross mark button",
|
|
574
|
+
"😐": "neutral face",
|
|
575
|
+
"😑": "expressionless face",
|
|
576
|
+
"😬": "grimacing face",
|
|
577
|
+
"🙄": "face with rolling eyes",
|
|
578
|
+
"😏": "smirking face",
|
|
579
|
+
"😌": "relieved face",
|
|
580
|
+
"🤩": "star struck",
|
|
581
|
+
"😜": "winking face with tongue",
|
|
582
|
+
"😝": "squinting face with tongue",
|
|
583
|
+
"🤪": "zany face",
|
|
584
|
+
"😢": "crying face",
|
|
585
|
+
"😥": "sad but relieved face",
|
|
586
|
+
"😓": "downcast face with sweat",
|
|
587
|
+
"😱": "face screaming in fear",
|
|
588
|
+
"😨": "fearful face",
|
|
589
|
+
"🤗": "hugging face",
|
|
590
|
+
"🤭": "face with hand over mouth",
|
|
591
|
+
"🤫": "shushing face",
|
|
592
|
+
"🤥": "lying face",
|
|
593
|
+
"👌": "ok hand",
|
|
594
|
+
"✌️": "victory hand",
|
|
595
|
+
"🤞": "crossed fingers",
|
|
596
|
+
"🙌": "raising hands",
|
|
597
|
+
"💪": "flexed biceps",
|
|
598
|
+
"🐔": "chicken",
|
|
599
|
+
"🐧": "penguin",
|
|
600
|
+
"🐦": "bird",
|
|
601
|
+
"🐤": "baby chick",
|
|
602
|
+
"🦆": "duck",
|
|
603
|
+
"🦅": "eagle",
|
|
604
|
+
"🐺": "wolf",
|
|
605
|
+
"🦄": "unicorn",
|
|
606
|
+
"🐝": "honeybee",
|
|
607
|
+
"🐞": "lady beetle",
|
|
608
|
+
"🦋": "butterfly",
|
|
609
|
+
"🐢": "turtle",
|
|
610
|
+
"🐍": "snake",
|
|
611
|
+
"🦖": "t-rex",
|
|
612
|
+
"🌿": "herb",
|
|
613
|
+
"🍀": "four leaf clover",
|
|
614
|
+
"🍁": "maple leaf",
|
|
615
|
+
"🍂": "fallen leaf",
|
|
616
|
+
"🌊": "water wave",
|
|
617
|
+
"❄️": "snowflake",
|
|
618
|
+
"☁️": "cloud",
|
|
619
|
+
"⛈️": "cloud with lightning and rain",
|
|
620
|
+
"🌪️": "tornado",
|
|
621
|
+
"🍐": "pear",
|
|
622
|
+
"🍊": "tangerine",
|
|
623
|
+
"🍋": "lemon",
|
|
624
|
+
"🍑": "peach",
|
|
625
|
+
"🥝": "kiwi fruit",
|
|
626
|
+
"🥑": "avocado",
|
|
627
|
+
"🍆": "eggplant",
|
|
628
|
+
"🌽": "ear of corn",
|
|
629
|
+
"🥕": "carrot",
|
|
630
|
+
"🥔": "potato",
|
|
631
|
+
"🍞": "bread",
|
|
632
|
+
"🥐": "croissant",
|
|
633
|
+
"🥖": "baguette bread",
|
|
634
|
+
"🧀": "cheese wedge",
|
|
635
|
+
"🍖": "meat on bone",
|
|
636
|
+
"🍗": "poultry leg",
|
|
637
|
+
"🥩": "cut of meat",
|
|
638
|
+
"🍦": "soft ice cream",
|
|
639
|
+
"🍨": "ice cream",
|
|
640
|
+
"🍫": "chocolate bar",
|
|
641
|
+
"🍬": "candy",
|
|
642
|
+
"🥛": "glass of milk",
|
|
643
|
+
"🧃": "beverage box",
|
|
644
|
+
"🍹": "tropical drink",
|
|
645
|
+
"🥂": "clinking glasses",
|
|
646
|
+
"🏓": "ping pong",
|
|
647
|
+
"🥊": "boxing glove",
|
|
648
|
+
"🥋": "martial arts uniform",
|
|
649
|
+
"⛳": "flag in hole",
|
|
650
|
+
"🏹": "bow and arrow",
|
|
651
|
+
"🎿": "skis",
|
|
652
|
+
"⛷️": "skier",
|
|
653
|
+
"🏂": "snowboarder",
|
|
654
|
+
"🎤": "microphone",
|
|
655
|
+
"🎬": "clapper board",
|
|
656
|
+
"🎨": "artist palette",
|
|
657
|
+
"🧩": "puzzle piece",
|
|
658
|
+
"🪀": "yo-yo",
|
|
659
|
+
"🚇": "metro",
|
|
660
|
+
"🚉": "station",
|
|
661
|
+
"🚊": "tram",
|
|
662
|
+
"🚝": "monorail",
|
|
663
|
+
"🛻": "pickup truck",
|
|
664
|
+
"🚐": "minibus",
|
|
665
|
+
"🗺️": "world map",
|
|
666
|
+
"🧭": "compass",
|
|
667
|
+
"⛰️": "mountain",
|
|
668
|
+
"🏔️": "snow capped mountain",
|
|
669
|
+
"🌋": "volcano",
|
|
670
|
+
"🏜️": "desert",
|
|
671
|
+
"🏕️": "camping",
|
|
672
|
+
"🏙️": "cityscape",
|
|
673
|
+
"🌆": "city at dusk",
|
|
674
|
+
"🌃": "night with stars",
|
|
675
|
+
"📦": "package",
|
|
676
|
+
"📫": "closed mailbox with raised flag",
|
|
677
|
+
"📬": "open mailbox with raised flag",
|
|
678
|
+
"📭": "open mailbox with lowered flag",
|
|
679
|
+
"🧾": "receipt",
|
|
680
|
+
"💳": "credit card",
|
|
681
|
+
"💰": "money bag",
|
|
682
|
+
"🪙": "coin",
|
|
683
|
+
"🔋": "battery",
|
|
684
|
+
"🔌": "electric plug",
|
|
685
|
+
"🧯": "fire extinguisher",
|
|
686
|
+
"🪜": "ladder",
|
|
687
|
+
"🪞": "mirror",
|
|
688
|
+
"🧹": "broom",
|
|
689
|
+
"🧸": "teddy bear"
|
|
690
|
+
};
|
|
691
|
+
let c = null, n = "all", l = "", s = null;
|
|
692
|
+
const y = () => ({
|
|
693
|
+
name: "emojis",
|
|
694
|
+
toolbar: [
|
|
695
|
+
{
|
|
696
|
+
label: "Insert Emoji",
|
|
697
|
+
command: "openEmojiDialog",
|
|
698
|
+
icon: '<svg width="24" height="24" focusable="false"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"></path></svg>',
|
|
699
|
+
shortcut: "Mod-Shift-j",
|
|
700
|
+
type: "button"
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
commands: {
|
|
704
|
+
openEmojiDialog: (o, t) => {
|
|
705
|
+
const e = (t == null ? void 0 : t.contentElement) || g();
|
|
706
|
+
return e ? (j(e), !0) : !1;
|
|
707
|
+
},
|
|
708
|
+
insertEmoji: (o, t) => {
|
|
709
|
+
if (!o) return !1;
|
|
710
|
+
const e = (t == null ? void 0 : t.contentElement) || g();
|
|
711
|
+
if (!e) return !1;
|
|
712
|
+
try {
|
|
713
|
+
return h(o, e), !0;
|
|
714
|
+
} catch (i) {
|
|
715
|
+
return !1;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
keymap: {
|
|
720
|
+
"Mod-Shift-j": "openEmojiDialog"
|
|
721
|
+
}
|
|
722
|
+
});
|
|
723
|
+
function j(o) {
|
|
724
|
+
n = "all", l = "";
|
|
725
|
+
const t = window.getSelection();
|
|
726
|
+
s = null, t && t.rangeCount > 0 && o.contains(t.anchorNode) && (s = t.getRangeAt(0).cloneRange());
|
|
727
|
+
const e = document.createElement("div");
|
|
728
|
+
e.className = "emojis-overlay", e.onclick = u;
|
|
729
|
+
const i = document.createElement("div");
|
|
730
|
+
i.className = "emojis-dialog", i.onclick = (a) => a.stopPropagation();
|
|
731
|
+
const r = Object.keys(d);
|
|
732
|
+
i.innerHTML = `
|
|
733
|
+
<div class="rte-dialog-header emojis-header">
|
|
734
|
+
<h3>Insert Emojis</h3>
|
|
735
|
+
<button class="rte-dialog-close emojis-close">×</button>
|
|
736
|
+
</div>
|
|
737
|
+
<div class="rte-dialog-body emojis-content">
|
|
738
|
+
<div class="emojis-tabs">
|
|
739
|
+
${r.map((a) => `
|
|
740
|
+
<button class="emojis-tab ${a === n ? "active" : ""}" data-category="${a}">
|
|
741
|
+
${d[a].name}
|
|
742
|
+
</button>
|
|
743
|
+
`).join("")}
|
|
744
|
+
</div>
|
|
745
|
+
<div class="emojis-main-content">
|
|
746
|
+
<div class="emojis-search">
|
|
747
|
+
<svg class="emojis-search-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
748
|
+
<circle cx="11" cy="11" r="8"/>
|
|
749
|
+
<path d="m21 21-4.35-4.35"/>
|
|
750
|
+
</svg>
|
|
751
|
+
<input
|
|
752
|
+
type="text"
|
|
753
|
+
placeholder="Search emojis..."
|
|
754
|
+
class="emojis-search-input"
|
|
755
|
+
id="emoji-search-input"
|
|
756
|
+
/>
|
|
757
|
+
</div>
|
|
758
|
+
<div class="emojis-grid" id="emojis-grid">
|
|
759
|
+
${f(n, l)}
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
</div>
|
|
763
|
+
`, e.appendChild(i), document.body.appendChild(e), c = e, x(i, o), v(), setTimeout(() => {
|
|
764
|
+
var a;
|
|
765
|
+
(a = i.querySelector("#emoji-search-input")) == null || a.focus();
|
|
766
|
+
}, 100);
|
|
767
|
+
}
|
|
768
|
+
function x(o, t) {
|
|
769
|
+
var i;
|
|
770
|
+
(i = o.querySelector(".emojis-close")) == null || i.addEventListener("click", u), o.querySelectorAll(".emojis-tab").forEach((r) => {
|
|
771
|
+
r.addEventListener("click", (a) => {
|
|
772
|
+
const p = a.target.getAttribute("data-category");
|
|
773
|
+
p && w(o, p, t);
|
|
774
|
+
});
|
|
775
|
+
});
|
|
776
|
+
const e = o.querySelector("#emoji-search-input");
|
|
777
|
+
e == null || e.addEventListener("input", (r) => {
|
|
778
|
+
l = r.target.value, m(o, t);
|
|
779
|
+
}), m(o, t);
|
|
780
|
+
}
|
|
781
|
+
function w(o, t, e) {
|
|
782
|
+
n = t, o.querySelectorAll(".emojis-tab").forEach((i) => {
|
|
783
|
+
i.classList.toggle("active", i.getAttribute("data-category") === t);
|
|
784
|
+
}), m(o, e);
|
|
785
|
+
}
|
|
786
|
+
function m(o, t) {
|
|
787
|
+
const e = o.querySelector("#emojis-grid");
|
|
788
|
+
e && (e.innerHTML = f(n, l), e.querySelectorAll(".emojis-item").forEach((i) => {
|
|
789
|
+
i.addEventListener("click", () => {
|
|
790
|
+
var a;
|
|
791
|
+
const r = ((a = i.textContent) == null ? void 0 : a.trim()) || "";
|
|
792
|
+
r && (h(r, t), u());
|
|
793
|
+
});
|
|
794
|
+
}));
|
|
795
|
+
}
|
|
796
|
+
function f(o, t) {
|
|
797
|
+
let e = d[o].emojis;
|
|
798
|
+
return t.trim() && (e = e.filter((i) => i.toLowerCase().includes(t.toLowerCase()) ? !0 : (b[i] || "").toLowerCase().includes(t.toLowerCase()))), e.length === 0 && t.trim() ? `<div class="emojis-no-results">No emojis found for "${t}"</div>` : e.map((i, r) => `
|
|
799
|
+
<button
|
|
800
|
+
class="emojis-item"
|
|
801
|
+
title="Insert ${i}"
|
|
802
|
+
data-emoji="${i}"
|
|
803
|
+
>
|
|
804
|
+
${i}
|
|
805
|
+
</button>
|
|
806
|
+
`).join("");
|
|
807
|
+
}
|
|
808
|
+
function u() {
|
|
809
|
+
c && (document.body.removeChild(c), c = null);
|
|
810
|
+
}
|
|
811
|
+
function h(o, t) {
|
|
812
|
+
t.focus();
|
|
813
|
+
let e = window.getSelection();
|
|
814
|
+
if (s && (e == null || e.removeAllRanges(), e == null || e.addRange(s), s = null), e = window.getSelection(), e && e.rangeCount > 0) {
|
|
815
|
+
const i = e.getRangeAt(0);
|
|
816
|
+
i.deleteContents();
|
|
817
|
+
const r = document.createTextNode(o);
|
|
818
|
+
i.insertNode(r), i.setStartAfter(r), i.setEndAfter(r), e.removeAllRanges(), e.addRange(i);
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
function g() {
|
|
822
|
+
const o = document.activeElement;
|
|
823
|
+
return o && (o.classList.contains("editora-content") || o.classList.contains("rte-content")) ? o : document.querySelector(".editora-content, .rte-content");
|
|
824
|
+
}
|
|
825
|
+
function v() {
|
|
826
|
+
if (document.getElementById("emojis-dialog-styles")) return;
|
|
827
|
+
const o = document.createElement("style");
|
|
828
|
+
o.id = "emojis-dialog-styles", o.textContent = `
|
|
829
|
+
/* Emojis Dialog Styles */
|
|
830
|
+
.emojis-overlay {
|
|
831
|
+
position: fixed;
|
|
832
|
+
top: 0;
|
|
833
|
+
left: 0;
|
|
834
|
+
right: 0;
|
|
835
|
+
bottom: 0;
|
|
836
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
837
|
+
display: flex;
|
|
838
|
+
align-items: center;
|
|
839
|
+
justify-content: center;
|
|
840
|
+
z-index: 1000;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.emojis-dialog {
|
|
844
|
+
background: white;
|
|
845
|
+
border-radius: 8px;
|
|
846
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
847
|
+
max-width: 800px;
|
|
848
|
+
width: 90%;
|
|
849
|
+
max-height: 80vh;
|
|
850
|
+
display: flex;
|
|
851
|
+
flex-direction: column;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.emojis-header h3 {
|
|
855
|
+
color: #1a202c;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.emojis-content {
|
|
859
|
+
display: flex;
|
|
860
|
+
flex: 1;
|
|
861
|
+
overflow: hidden;
|
|
862
|
+
padding: 0;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.emojis-main-content {
|
|
866
|
+
flex: 1;
|
|
867
|
+
display: flex;
|
|
868
|
+
flex-direction: column;
|
|
869
|
+
overflow: hidden;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.emojis-search {
|
|
873
|
+
padding: 16px 16px 0 16px;
|
|
874
|
+
position: relative;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.emojis-search-icon {
|
|
878
|
+
position: absolute;
|
|
879
|
+
left: 28px;
|
|
880
|
+
top: 27px;
|
|
881
|
+
color: #a0aec0;
|
|
882
|
+
pointer-events: none;
|
|
883
|
+
z-index: 1;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.emojis-search-input {
|
|
887
|
+
width: calc(100% - 24px);
|
|
888
|
+
padding: 10px 12px 10px 40px;
|
|
889
|
+
border: 1px solid #e1e5e9;
|
|
890
|
+
border-radius: 6px;
|
|
891
|
+
font-size: 14px;
|
|
892
|
+
color: #2d3748;
|
|
893
|
+
background-color: #ffffff;
|
|
894
|
+
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.emojis-search-input:focus {
|
|
898
|
+
outline: none;
|
|
899
|
+
border-color: #4299e1;
|
|
900
|
+
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.emojis-search-input:focus + .emojis-search-icon {
|
|
904
|
+
color: #4299e1;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.emojis-search-input::placeholder {
|
|
908
|
+
color: #a0aec0;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.emojis-tabs {
|
|
912
|
+
display: flex;
|
|
913
|
+
flex-direction: column;
|
|
914
|
+
width: 180px;
|
|
915
|
+
border-right: 1px solid #e1e5e9;
|
|
916
|
+
background-color: #f8fafc;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.emojis-tab {
|
|
920
|
+
padding: 12px 16px;
|
|
921
|
+
border: none;
|
|
922
|
+
background: none;
|
|
923
|
+
text-align: left;
|
|
924
|
+
cursor: pointer;
|
|
925
|
+
font-size: 14px;
|
|
926
|
+
color: #4a5568;
|
|
927
|
+
border-bottom: 1px solid #e1e5e9;
|
|
928
|
+
transition: all 0.2s ease;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.emojis-tab:hover {
|
|
932
|
+
background-color: #edf2f7;
|
|
933
|
+
color: #2d3748;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.emojis-tab.active {
|
|
937
|
+
background-color: #4299e1;
|
|
938
|
+
color: white;
|
|
939
|
+
font-weight: 500;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.emojis-tab.active:hover {
|
|
943
|
+
background-color: #3182ce;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.emojis-grid {
|
|
947
|
+
padding: 16px;
|
|
948
|
+
overflow-y: auto;
|
|
949
|
+
display: grid;
|
|
950
|
+
grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
|
|
951
|
+
gap: 8px;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.emojis-item {
|
|
955
|
+
width: 40px;
|
|
956
|
+
height: 40px;
|
|
957
|
+
display: flex;
|
|
958
|
+
align-items: center;
|
|
959
|
+
justify-content: center;
|
|
960
|
+
border: 1px solid #e1e5e9;
|
|
961
|
+
background: white;
|
|
962
|
+
border-radius: 4px;
|
|
963
|
+
cursor: pointer;
|
|
964
|
+
font-size: 18px;
|
|
965
|
+
transition: all 0.2s ease;
|
|
966
|
+
color: #2d3748;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.emojis-item:hover {
|
|
970
|
+
background-color: #4299e1;
|
|
971
|
+
border-color: #4299e1;
|
|
972
|
+
color: white;
|
|
973
|
+
transform: scale(1.05);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.emojis-item:active {
|
|
977
|
+
transform: scale(0.95);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.emojis-no-results {
|
|
981
|
+
grid-column: 1 / -1;
|
|
982
|
+
text-align: center;
|
|
983
|
+
color: #718096;
|
|
984
|
+
font-size: 14px;
|
|
985
|
+
padding: 40px 20px;
|
|
986
|
+
background-color: #f8fafc;
|
|
987
|
+
border-radius: 6px;
|
|
988
|
+
border: 1px solid #e1e5e9;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/* Responsive design */
|
|
992
|
+
@media (max-width: 768px) {
|
|
993
|
+
.emojis-dialog {
|
|
994
|
+
width: 95%;
|
|
995
|
+
max-height: 90vh;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.emojis-content {
|
|
999
|
+
flex-direction: column;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.emojis-tabs {
|
|
1003
|
+
width: 100%;
|
|
1004
|
+
border-right: none;
|
|
1005
|
+
border-bottom: 1px solid #e1e5e9;
|
|
1006
|
+
flex-direction: row;
|
|
1007
|
+
overflow-x: auto;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.emojis-tab {
|
|
1011
|
+
border-bottom: none;
|
|
1012
|
+
border-right: 1px solid #e1e5e9;
|
|
1013
|
+
white-space: nowrap;
|
|
1014
|
+
min-width: 80px;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.emojis-grid {
|
|
1018
|
+
grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
|
|
1019
|
+
gap: 6px;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.emojis-item {
|
|
1023
|
+
width: 36px;
|
|
1024
|
+
height: 36px;
|
|
1025
|
+
font-size: 16px;
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
`, document.head.appendChild(o);
|
|
1029
|
+
}
|
|
1030
|
+
export {
|
|
1031
|
+
y as EmojisPlugin
|
|
1032
|
+
};
|
|
1033
|
+
//# sourceMappingURL=EmojisPlugin.native-D6mJSnSR.mjs.map
|