vuestic-ui
Version:
Vue 3 UI Framework
1 lines • 944 B
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../../../../../src/services/breakpoint/plugin/index.ts"],"sourcesContent":["import { createBreakpointConfigPlugin } from './create-service'\nimport { defineGlobalProperty, defineVuesticPlugin } from '../../vue-plugin/utils'\n\nimport { vaBreakpointSymbol } from '../'\n\nexport const BreakpointConfigPlugin = defineVuesticPlugin(() => ({\n install (app) {\n const breakpointConfig = createBreakpointConfigPlugin(app)\n app.provide(vaBreakpointSymbol, breakpointConfig)\n defineGlobalProperty(app, '$vaBreakpoint', breakpointConfig)\n },\n}))\n\ndeclare module 'vue' {\n export interface ComponentCustomProperties {\n $vaBreakpoint: ReturnType<typeof createBreakpointConfigPlugin>\n }\n}\n"],"names":[],"mappings":";;;;AAKa,MAAA,yBAAyB,oBAAoB,OAAO;AAAA,EAC/D,QAAS,KAAK;AACN,UAAA,mBAAmB,6BAA6B,GAAG;AACrD,QAAA,QAAQ,oBAAoB,gBAAgB;AAC3B,yBAAA,KAAK,iBAAiB,gBAAgB;AAAA,EAC7D;AACF,EAAE;"}