|
@@ -53,20 +53,19 @@ export { provide, inject } from './apiInject'
|
|
|
export { nextTick } from './scheduler'
|
|
export { nextTick } from './scheduler'
|
|
|
export { defineComponent } from './apiDefineComponent'
|
|
export { defineComponent } from './apiDefineComponent'
|
|
|
export { defineAsyncComponent } from './apiAsyncComponent'
|
|
export { defineAsyncComponent } from './apiAsyncComponent'
|
|
|
|
|
+export { useAttrs, useSlots } from './apiSetupHelpers'
|
|
|
|
|
|
|
|
// <script setup> API ----------------------------------------------------------
|
|
// <script setup> API ----------------------------------------------------------
|
|
|
|
|
|
|
|
export {
|
|
export {
|
|
|
- // macros runtime, for warnings only
|
|
|
|
|
|
|
+ // macros runtime, for typing and warnings only
|
|
|
defineProps,
|
|
defineProps,
|
|
|
defineEmits,
|
|
defineEmits,
|
|
|
defineExpose,
|
|
defineExpose,
|
|
|
withDefaults,
|
|
withDefaults,
|
|
|
// internal
|
|
// internal
|
|
|
mergeDefaults,
|
|
mergeDefaults,
|
|
|
- withAsyncContext,
|
|
|
|
|
- useAttrs,
|
|
|
|
|
- useSlots
|
|
|
|
|
|
|
+ withAsyncContext
|
|
|
} from './apiSetupHelpers'
|
|
} from './apiSetupHelpers'
|
|
|
|
|
|
|
|
// Advanced API ----------------------------------------------------------------
|
|
// Advanced API ----------------------------------------------------------------
|
|
@@ -345,3 +344,7 @@ const _compatUtils = {
|
|
|
export const compatUtils = (__COMPAT__
|
|
export const compatUtils = (__COMPAT__
|
|
|
? _compatUtils
|
|
? _compatUtils
|
|
|
: null) as typeof _compatUtils
|
|
: null) as typeof _compatUtils
|
|
|
|
|
+
|
|
|
|
|
+// Ref macros ------------------------------------------------------------------
|
|
|
|
|
+// for dts generation only
|
|
|
|
|
+export { $ref, $computed, $raw, $fromRefs } from './helpers/refMacros'
|