vue-emoji-to-icon 1.0.0 â 1.0.1
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 +1 @@
|
|
|
1
|
-
(function(a,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("lucide-vue-next"),require("vue")):typeof define=="function"&&define.amd?define(["exports","lucide-vue-next","vue"],o):(a=typeof globalThis<"u"?globalThis:a||self,o(a.VueEmojiToIcon={},a.LucideVueNext,a.Vue))})(this,function(a,o,r){"use strict";const g=(s,p)=>{const n=s.__vccOpts||s;for(const[m,f]of p)n[m]=f;return n},S={name:"EmojiToIcon",inheritAttrs:!1,props:{emoji:{type:String,required:!0},size:{type:Number,default:24},color:{type:String,default:"currentColor"},fill:{type:String,default:"none"},strokeWidth:{type:Number,default:2},showFallback:{type:Boolean,default:!0},iconClass:{type:String,default:""},fallbackClass:{type:String,default:"emoji-fallback"}},computed:{iconComponent(){return this.emojiToIconMap[this.emoji]||null},emojiToIconMap(){return{"đ ":o.Home,"đĄ":o.Home,"đ¤":o.User,"đĨ":o.Users,"â¤ī¸":o.Heart,"đ":o.Heart,"â":o.Star,"đ":o.Search,"đŦ":o.MessageCircle,"đą":o.MessageSquare,"đ":o.Bell,"âī¸":o.Settings,"â°":o.Menu,"â":o.X,"âī¸":o.Mail,"đ§":o.Mail,"âī¸":o.Phone,"đ":o.Phone,"đˇ":o.Camera,"đŧī¸":o.Image,"đš":o.Video,"đĩ":o.Music,"âļī¸":o.Play,"â¸ī¸":o.Pause,"âšī¸":o.CircleStop,"đ
":o.Calendar,"đ":o.Clock,"đ":o.Book,"đ":o.BookOpen,"đ":o.File,"đ":o.Folder,"âī¸":o.Edit,"đī¸":o.Trash2,"â":o.Plus,"â":o.Minus,"â
":o.Check,"âī¸":o.CheckCircle,"âŦī¸":o.ArrowUp,"âŦī¸":o.ArrowDown,"âŦ
ī¸":o.ArrowLeft,"âĄī¸":o.ArrowRight,"đŧ":o.ChevronUp,"đŊ":o.ChevronDown,"âī¸":o.ChevronLeft,"âļī¸":o.ChevronRight,"đ¤":o.Send,"đĸ":o.Share,"đ":o.Eye,"đ":o.Link,"đ":o.Paperclip,"đž":o.Save,"đ":o.RefreshCw,"âĒī¸":o.RotateCw,"âŠī¸":o.RotateCcw,"đ":o.ThumbsUp,"đ":o.ThumbsDown,"đ":o.Bookmark,"đŠ":o.Flag,"đŽ":o.Gamepad2,"đ˛":o.Dice5,"đ":o.Trophy,"đĨ":o.Award,"đ":o.Crown,"âĄ":o.Zap,"â¨":o.Sparkles,"đĒ":o.Wand2,"đ":o.Edit3Icon,"âī¸":o.Sun,"đ":o.Moon,"âī¸":o.Cloud,"đ§ī¸":o.CloudRain,"âī¸":o.Snowflake,"đĨ":o.Flame,"đ":o.Leaf,"đŗ":o.TreeDeciduousIcon,"đ¸":o.Flower,"đą":o.Cat,"đļ":o.Dog,"đ":o.Fish,"đĻ":o.Bird,"đ°":o.Rabbit,"đĸ":o.Turtle,"đ":o.Bug,"đģ":o.Ghost,"â":o.Coffee,"đ":o.Pizza,"đĒ":o.Cookie,"đ":o.Cake,"đ":o.Apple,"đ":o.Cherry,"đ":o.Grape,"đ":o.Banana,"đ":o.Smile,"đĸ":o.Frown,"đ":o.Meh,"đ ":o.Angry,"đ˛":o.Meh,"â":o.Circle,"âŦ":o.Square,"đē":o.Triangle,"đ":o.Diamond,"âšī¸":o.Info,"â ī¸":o.AlertTriangle,"đĄī¸":o.Shield,"â":o.HelpCircle,"đ":o.Lock,"đ":o.Unlock,"đ":o.Key,"đĄī¸":o.Shield,"đž":o.Database,"đĨī¸":o.Server,"đļ":o.Wifi,"đ":o.MapPin,"đēī¸":o.Map,"đ§":o.Compass,"đ§":o.Navigation,"đ":o.Globe,"đĸ":o.Building,"â°":o.Timer,"âąī¸":o.TimerIcon,"âŗ":o.Hourglass,"đ¤":o.Type,"đ":o.Edit,"đ":o.List,"đĸ":o.ListOrdered,"đŦ":o.Quote,"đģ":o.Code,"đ":o.ShoppingCart,"đī¸":o.ShoppingBag,"đŗ":o.CreditCard,"đ°":o.DollarSign,"đ":o.TrendingUp,"đ":o.TrendingDown,"đ":o.Car,"đ˛":o.Bike,"âī¸":o.Plane,"đ":o.Train,"đĸ":o.Ship,"đ":o.Rocket,"đ":o.Truck,"đ":o.Activity,"đ":o.Pill,"đŠē":o.Stethoscope,"â":o.Cross,"đ":o.GraduationCap,"âī¸":o.PenTool,"đī¸":o.Highlighter,"đ§Ž":o.Calculator,"âī¸":o.Sword,"đĄī¸":o.Swords,"đš":o.BowArrow,"đ¯":o.Target,"đ":o.Scroll,"â¨":o.Sparkle,"â":o.Dice1,"â":o.Dice2,"â":o.Dice3,"â":o.Dice4,"â":o.Dice5,"â
":o.Dice6,"đ§":o.Settings,"đ¨":o.Settings,"đ":o.TrendingUp,"đ":o.TrendingUp,"đ":o.TrendingDown,"đ":o.Bell,"đ":o.Bell,"đĄ":o.Info,"đ¨":o.Edit,"đ":o.User,"đĒ":o.Star,"đ":o.Plug,"đī¸":o.DatabaseIcon,"đĻ":o.Package,"đī¸":o.EyeIcon,"đ
":o.Calendar,"đ":o.ClipboardIcon,"â":o.CircleQuestionMarkIcon,"đ§":o.Smile,"đ¨âđģ":o.Notebook,"đ":o.Lock,"đĢ":o.Ban,"īŋŊ":o.BadgeQuestionMark,ė§:o.Home,ėŦë:o.User,íí¸:o.Heart,ëŗ:o.Star,ę˛ė:o.Search,ëŠėė§:o.MessageCircle,ė¤ė :o.Settings,ëŠë´:o.Menu,ëĢ기:o.X}}}};function k(s,p,n,m,f,h){return h.iconComponent?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(h.iconComponent),r.mergeProps({key:0,size:n.size,fill:n.fill,color:n.color,"stroke-width":n.strokeWidth},s.$attrs,{class:n.iconClass}),null,16,["size","fill","color","stroke-width","class"])):n.showFallback?(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(n.fallbackClass),style:r.normalizeStyle({fontSize:n.size+"px"})},r.toDisplayString(n.emoji),7)):r.createCommentVNode("",!0)}const C=g(S,[["render",k],["__scopeId","data-v-a28618da"]]),T={install:s=>{s.component("EmojiToIcon",C)},EmojiToIcon:C};a.EmojiToIcon=C,a.default=T,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(a,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("lucide-vue-next"),require("vue")):typeof define=="function"&&define.amd?define(["exports","lucide-vue-next","vue"],o):(a=typeof globalThis<"u"?globalThis:a||self,o(a.VueEmojiToIcon={},a.LucideVueNext,a.Vue))})(this,(function(a,o,r){"use strict";const g=(s,p)=>{const n=s.__vccOpts||s;for(const[m,f]of p)n[m]=f;return n},S={name:"EmojiToIcon",inheritAttrs:!1,props:{emoji:{type:String,required:!0},size:{type:Number,default:24},color:{type:String,default:"currentColor"},fill:{type:String,default:"none"},strokeWidth:{type:Number,default:2},showFallback:{type:Boolean,default:!0},iconClass:{type:String,default:""},fallbackClass:{type:String,default:"emoji-fallback"}},computed:{iconComponent(){return this.emojiToIconMap[this.emoji]||null},emojiToIconMap(){return{"đ ":o.Home,"đĄ":o.Home,"đ¤":o.User,"đĨ":o.Users,"â¤ī¸":o.Heart,"đ":o.Heart,"â":o.Star,"đ":o.Search,"đŦ":o.MessageCircle,"đą":o.MessageSquare,"đ":o.Bell,"âī¸":o.Settings,"â°":o.Menu,"â":o.X,"âī¸":o.Mail,"đ§":o.Mail,"âī¸":o.Phone,"đ":o.Phone,"đˇ":o.Camera,"đŧī¸":o.Image,"đš":o.Video,"đĩ":o.Music,"âļī¸":o.Play,"â¸ī¸":o.Pause,"âšī¸":o.CircleStop,"đ
":o.Calendar,"đ":o.Clock,"đ":o.Book,"đ":o.BookOpen,"đ":o.File,"đ":o.Folder,"âī¸":o.Edit,"đī¸":o.Trash2,"â":o.Plus,"â":o.Minus,"â
":o.Check,"âī¸":o.CheckCircle,"âŦī¸":o.ArrowUp,"âŦī¸":o.ArrowDown,"âŦ
ī¸":o.ArrowLeft,"âĄī¸":o.ArrowRight,"đŧ":o.ChevronUp,"đŊ":o.ChevronDown,"âī¸":o.ChevronLeft,"âļī¸":o.ChevronRight,"đ¤":o.Send,"đĸ":o.Share,"đ":o.Eye,"đ":o.Link,"đ":o.Paperclip,"đž":o.Save,"đ":o.RefreshCw,"âĒī¸":o.RotateCw,"âŠī¸":o.RotateCcw,"đ":o.ThumbsUp,"đ":o.ThumbsDown,"đ":o.Bookmark,"đŠ":o.Flag,"đŽ":o.Gamepad2,"đ˛":o.Dice5,"đ":o.Trophy,"đĨ":o.Award,"đ":o.Crown,"âĄ":o.Zap,"â¨":o.Sparkles,"đĒ":o.Wand2,"đ":o.Edit3Icon,"âī¸":o.Sun,"đ":o.Moon,"âī¸":o.Cloud,"đ§ī¸":o.CloudRain,"âī¸":o.Snowflake,"đĨ":o.Flame,"đ":o.Leaf,"đŗ":o.TreeDeciduousIcon,"đ¸":o.Flower,"đą":o.Cat,"đļ":o.Dog,"đ":o.Fish,"đĻ":o.Bird,"đ°":o.Rabbit,"đĸ":o.Turtle,"đ":o.Bug,"đģ":o.Ghost,"â":o.Coffee,"đ":o.Pizza,"đĒ":o.Cookie,"đ":o.Cake,"đ":o.Apple,"đ":o.Cherry,"đ":o.Grape,"đ":o.Banana,"đ":o.Smile,"đĸ":o.Frown,"đ":o.Meh,"đ ":o.Angry,"đ˛":o.Meh,"â":o.Circle,"âŦ":o.Square,"đē":o.Triangle,"đ":o.Diamond,"âšī¸":o.Info,"â ī¸":o.AlertTriangle,"đĄī¸":o.Shield,"â":o.HelpCircle,"đ":o.Lock,"đ":o.Unlock,"đ":o.Key,"đĄī¸":o.Shield,"đž":o.Database,"đĨī¸":o.Server,"đļ":o.Wifi,"đ":o.MapPin,"đēī¸":o.Map,"đ§":o.Compass,"đ§":o.Navigation,"đ":o.Globe,"đĸ":o.Building,"â°":o.Timer,"âąī¸":o.TimerIcon,"âŗ":o.Hourglass,"đ¤":o.Type,"đ":o.Edit,"đ":o.List,"đĸ":o.ListOrdered,"đŦ":o.Quote,"đģ":o.Code,"đ":o.ShoppingCart,"đī¸":o.ShoppingBag,"đŗ":o.CreditCard,"đ°":o.DollarSign,"đ":o.TrendingUp,"đ":o.TrendingDown,"đ":o.Car,"đ˛":o.Bike,"âī¸":o.Plane,"đ":o.Train,"đĸ":o.Ship,"đ":o.Rocket,"đ":o.Truck,"đ":o.Activity,"đ":o.Pill,"đŠē":o.Stethoscope,"â":o.Cross,"đ":o.GraduationCap,"âī¸":o.PenTool,"đī¸":o.Highlighter,"đ§Ž":o.Calculator,"âī¸":o.Sword,"đĄī¸":o.Swords,"đš":o.BowArrow,"đ¯":o.Target,"đ":o.Scroll,"â¨":o.Sparkle,"â":o.Dice1,"â":o.Dice2,"â":o.Dice3,"â":o.Dice4,"â":o.Dice5,"â
":o.Dice6,"đ§":o.Settings,"đ¨":o.Settings,"đ":o.TrendingUp,"đ":o.TrendingUp,"đ":o.TrendingDown,"đ":o.Bell,"đ":o.Bell,"đĄ":o.Info,"đ¨":o.Edit,"đ":o.User,"đĒ":o.Star,"đ":o.Plug,"đī¸":o.DatabaseIcon,"đĻ":o.Package,"đī¸":o.EyeIcon,"đ
":o.Calendar,"đ":o.ClipboardIcon,"â":o.CircleQuestionMarkIcon,"đ§":o.Smile,"đ¨âđģ":o.Notebook,"đ":o.Lock,"đĢ":o.Ban,"īŋŊ":o.BadgeQuestionMark,ė§:o.Home,ėŦë:o.User,íí¸:o.Heart,ëŗ:o.Star,ę˛ė:o.Search,ëŠėė§:o.MessageCircle,ė¤ė :o.Settings,ëŠë´:o.Menu,ëĢ기:o.X}}}};function k(s,p,n,m,f,h){return h.iconComponent?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(h.iconComponent),r.mergeProps({key:0,size:n.size,fill:n.fill,color:n.color,"stroke-width":n.strokeWidth},s.$attrs,{class:n.iconClass}),null,16,["size","fill","color","stroke-width","class"])):n.showFallback?(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(n.fallbackClass),style:r.normalizeStyle({fontSize:n.size+"px"})},r.toDisplayString(n.emoji),7)):r.createCommentVNode("",!0)}const C=g(S,[["render",k],["__scopeId","data-v-a28618da"]]),T={install:s=>{s.component("EmojiToIcon",C)},EmojiToIcon:C};a.EmojiToIcon=C,a.default=T,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-emoji-to-icon",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Universal emoji to Lucide icon converter for Vue 3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/vue-emoji-to-icon.umd.js",
|
|
7
7
|
"module": "./dist/vue-emoji-to-icon.es.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
8
|
"exports": {
|
|
10
9
|
".": {
|
|
11
10
|
"import": "./dist/vue-emoji-to-icon.es.js",
|
|
12
|
-
"require": "./dist/vue-emoji-to-icon.umd.js"
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
11
|
+
"require": "./dist/vue-emoji-to-icon.umd.js"
|
|
14
12
|
}
|
|
15
13
|
},
|
|
16
14
|
"files": [
|
|
@@ -36,9 +34,7 @@
|
|
|
36
34
|
"url": "git+https://github.com/ohohOD/commu.git"
|
|
37
35
|
},
|
|
38
36
|
"peerDependencies": {
|
|
39
|
-
"vue": "^3.3.0"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
37
|
+
"vue": "^3.3.0",
|
|
42
38
|
"lucide-vue-next": "^0.548.0"
|
|
43
39
|
},
|
|
44
40
|
"devDependencies": {
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/index.js'
|
|
File without changes
|