UNPKG

@google-translate-select/vue2

Version:

🚀 The package offer vue2 library for @google-translate-select!

1 lines • 738 B
{"version":3,"file":"index.mjs","sources":["../../src/index.ts"],"sourcesContent":["import Select from './google-translate-select.vue'\n\nconst withInstall = (Vue: any) => {\n Vue.component((Select as any).extendOptions.name, Select)\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n withInstall(window.Vue)\n}\n\nexport const GoogleTranslateSelect = withInstall(Select)\nexport default {\n install: withInstall,\n}\n\nexport * from './types/props'\n"],"names":["withInstall","Vue","Select","GoogleTranslateSelect","index"],"mappings":";;AAEA,MAAMA,IAAc,CAACC,MAAa;AAChC,EAAAA,EAAI,UAAWC,EAAe,cAAc,MAAMA,CAAM;AAC1D;AAEI,OAAO,SAAW,OAAe,OAAO,OAC1CF,EAAY,OAAO,GAAG;AAGX,MAAAG,IAAwBH,EAAYE,CAAM,GACxCE,IAAA;AAAA,EACb,SAASJ;AACX;"}