UNPKG

ll-package

Version:

2 lines (1 loc) 477 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=Symbol("appConfigContext"),p=t=>e.provide(o,t),i=()=>e.inject(o,{}),n=Symbol("appContext"),C=t=>e.provide(n,t),r=e.reactive({message:{},notification:{},modal:{}}),s=()=>e.inject(n,r);exports.AppConfigContextKey=o;exports.AppContextKey=n;exports.useInjectAppConfigContext=i;exports.useInjectAppContext=s;exports.useProvideAppConfigContext=p;exports.useProvideAppContext=C;