UNPKG

@google-translate-select/vue2

Version:

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

1 lines • 716 B
{"version":3,"file":"index.cjs","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":"sKAEMA,EAAeC,GAAa,CAChCA,EAAI,UAAWC,EAAe,cAAc,KAAMA,CAAM,CAC1D,EAEI,OAAO,OAAW,KAAe,OAAO,KAC1CF,EAAY,OAAO,GAAG,EAGX,MAAAG,EAAwBH,EAAYE,CAAM,EACxCE,EAAA,CACb,QAASJ,CACX"}