Skip to content

Commit e98a85f

Browse files
committed
refactor: applyDirectives -> withDirectives
1 parent cba3445 commit e98a85f

File tree

20 files changed

+63
-64
lines changed

20 files changed

+63
-64
lines changed

packages/compiler-core/__tests__/transform.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
CREATE_BLOCK,
1616
FRAGMENT,
1717
RENDER_SLOT,
18-
APPLY_DIRECTIVES
18+
WITH_DIRECTIVES
1919
} from '../src/runtimeHelpers'
2020
import { transformIf } from '../src/transforms/vIf'
2121
import { transformFor } from '../src/transforms/vFor'
@@ -314,7 +314,7 @@ describe('compiler: transform', () => {
314314
{
315315
type: NodeTypes.JS_CALL_EXPRESSION,
316316
// should wrap applyDirectives() around createBlock()
317-
callee: APPLY_DIRECTIVES,
317+
callee: WITH_DIRECTIVES,
318318
arguments: [
319319
{ callee: CREATE_BLOCK },
320320
{ type: NodeTypes.JS_ARRAY_EXPRESSION }

packages/compiler-core/__tests__/transforms/__snapshots__/hoistStatic.spec.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ const _hoisted_1 = { id: \\"foo\\" }
101101
102102
return function render() {
103103
with (this) {
104-
const { createVNode: _createVNode, applyDirectives: _applyDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue
104+
const { createVNode: _createVNode, withDirectives: _withDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue
105105
106106
const _directive_foo = _resolveDirective(\\"foo\\")
107107
108108
return (_openBlock(), _createBlock(\\"div\\", null, [
109-
_applyDirectives(_createVNode(\\"div\\", _hoisted_1, null, 32 /* NEED_PATCH */), [
109+
_withDirectives(_createVNode(\\"div\\", _hoisted_1, null, 32 /* NEED_PATCH */), [
110110
[_directive_foo]
111111
])
112112
]))

packages/compiler-core/__tests__/transforms/__snapshots__/vFor.spec.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ exports[`compiler: v-for codegen v-for on element with custom directive 1`] = `
137137
138138
return function render() {
139139
with (this) {
140-
const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, createVNode: _createVNode, applyDirectives: _applyDirectives, resolveDirective: _resolveDirective } = _Vue
140+
const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, createVNode: _createVNode, withDirectives: _withDirectives, resolveDirective: _resolveDirective } = _Vue
141141
142142
const _directive_foo = _resolveDirective(\\"foo\\")
143143
144144
return (_openBlock(), _createBlock(_Fragment, null, _renderList(list, (i) => {
145-
return (_openBlock(), _applyDirectives(_createBlock(\\"div\\", null, null, 32 /* NEED_PATCH */), [
145+
return (_openBlock(), _withDirectives(_createBlock(\\"div\\", null, null, 32 /* NEED_PATCH */), [
146146
[_directive_foo]
147147
]))
148148
}), 128 /* UNKEYED_FRAGMENT */))

packages/compiler-core/__tests__/transforms/hoistStatic.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
OPEN_BLOCK,
1010
CREATE_BLOCK,
1111
CREATE_VNODE,
12-
APPLY_DIRECTIVES,
12+
WITH_DIRECTIVES,
1313
FRAGMENT,
1414
RENDER_LIST
1515
} from '../../src/runtimeHelpers'
@@ -304,7 +304,7 @@ describe('compiler: hoistStatic transform', () => {
304304
{
305305
type: NodeTypes.ELEMENT,
306306
codegenNode: {
307-
callee: APPLY_DIRECTIVES,
307+
callee: WITH_DIRECTIVES,
308308
arguments: [
309309
{
310310
callee: CREATE_VNODE,

packages/compiler-core/__tests__/transforms/transformElement.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
CREATE_VNODE,
55
MERGE_PROPS,
66
RESOLVE_DIRECTIVE,
7-
APPLY_DIRECTIVES,
7+
WITH_DIRECTIVES,
88
TO_HANDLERS,
99
helperNameMap,
1010
PORTAL,
@@ -368,7 +368,7 @@ describe('compiler: element transform', () => {
368368
expect(root.helpers).toContain(RESOLVE_DIRECTIVE)
369369
expect(root.directives).toContain(`foo`)
370370

371-
expect(node.callee).toBe(APPLY_DIRECTIVES)
371+
expect(node.callee).toBe(WITH_DIRECTIVES)
372372
expect(node.arguments).toMatchObject([
373373
{
374374
type: NodeTypes.JS_CALL_EXPRESSION,
@@ -438,7 +438,7 @@ describe('compiler: element transform', () => {
438438
expect(root.directives).toContain(`bar`)
439439
expect(root.directives).toContain(`baz`)
440440

441-
expect(node.callee).toBe(APPLY_DIRECTIVES)
441+
expect(node.callee).toBe(WITH_DIRECTIVES)
442442
expect(node.arguments).toMatchObject([
443443
{
444444
type: NodeTypes.JS_CALL_EXPRESSION

packages/compiler-core/__tests__/transforms/vFor.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
FRAGMENT,
2424
RENDER_LIST,
2525
RENDER_SLOT,
26-
APPLY_DIRECTIVES
26+
WITH_DIRECTIVES
2727
} from '../../src/runtimeHelpers'
2828
import { PatchFlags } from '@vue/runtime-dom'
2929
import { createObjectMatcher, genFlagText } from '../testUtils'
@@ -859,7 +859,7 @@ describe('compiler: v-for', () => {
859859
{ callee: OPEN_BLOCK },
860860
// should wrap applyDirectives() around createBlock()
861861
{
862-
callee: APPLY_DIRECTIVES,
862+
callee: WITH_DIRECTIVES,
863863
arguments: [
864864
{ callee: CREATE_BLOCK },
865865
{ type: NodeTypes.JS_ARRAY_EXPRESSION }

packages/compiler-core/__tests__/transforms/vIf.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
COMMENT,
2323
FRAGMENT,
2424
MERGE_PROPS,
25-
APPLY_DIRECTIVES,
25+
WITH_DIRECTIVES,
2626
RENDER_SLOT
2727
} from '../../src/runtimeHelpers'
2828
import { createObjectMatcher } from '../testUtils'
@@ -513,7 +513,7 @@ describe('compiler: v-if', () => {
513513
} = parseWithIfTransform(`<div v-if="ok" v-foo />`)
514514
const branch1 = (codegenNode.expressions[1] as ConditionalExpression)
515515
.consequent as CallExpression
516-
expect(branch1.callee).toBe(APPLY_DIRECTIVES)
516+
expect(branch1.callee).toBe(WITH_DIRECTIVES)
517517
const realBranch = branch1.arguments[0] as CallExpression
518518
expect(realBranch.arguments[1]).toMatchObject(
519519
createObjectMatcher({ key: `[0]` })

packages/compiler-core/src/ast.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { isString } from '@vue/shared'
22
import { ForParseResult } from './transforms/vFor'
33
import {
44
CREATE_VNODE,
5-
APPLY_DIRECTIVES,
5+
WITH_DIRECTIVES,
66
RENDER_SLOT,
77
CREATE_SLOTS,
88
RENDER_LIST,
@@ -393,7 +393,7 @@ export interface DynamicSlotFnProperty extends Property {
393393
// ])
394394
export interface CodegenNodeWithDirective<T extends CallExpression>
395395
extends CallExpression {
396-
callee: typeof APPLY_DIRECTIVES
396+
callee: typeof WITH_DIRECTIVES
397397
arguments: [T, DirectiveArguments]
398398
}
399399

@@ -548,7 +548,7 @@ type InferCodegenNodeType<T> = T extends
548548
| typeof CREATE_VNODE
549549
| typeof CREATE_BLOCK
550550
? PlainElementCodegenNode | PlainComponentCodegenNode
551-
: T extends typeof APPLY_DIRECTIVES
551+
: T extends typeof WITH_DIRECTIVES
552552
?
553553
| CodegenNodeWithDirective<PlainElementCodegenNode>
554554
| CodegenNodeWithDirective<PlainComponentCodegenNode>

packages/compiler-core/src/runtimeHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const RESOLVE_DYNAMIC_COMPONENT = Symbol(
1111
__DEV__ ? `resolveDynamicComponent` : ``
1212
)
1313
export const RESOLVE_DIRECTIVE = Symbol(__DEV__ ? `resolveDirective` : ``)
14-
export const APPLY_DIRECTIVES = Symbol(__DEV__ ? `applyDirectives` : ``)
14+
export const WITH_DIRECTIVES = Symbol(__DEV__ ? `withDirectives` : ``)
1515
export const RENDER_LIST = Symbol(__DEV__ ? `renderList` : ``)
1616
export const RENDER_SLOT = Symbol(__DEV__ ? `renderSlot` : ``)
1717
export const CREATE_SLOTS = Symbol(__DEV__ ? `createSlots` : ``)
@@ -35,7 +35,7 @@ export const helperNameMap: any = {
3535
[RESOLVE_COMPONENT]: `resolveComponent`,
3636
[RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`,
3737
[RESOLVE_DIRECTIVE]: `resolveDirective`,
38-
[APPLY_DIRECTIVES]: `applyDirectives`,
38+
[WITH_DIRECTIVES]: `withDirectives`,
3939
[RENDER_LIST]: `renderList`,
4040
[RENDER_SLOT]: `renderSlot`,
4141
[CREATE_SLOTS]: `createSlots`,

packages/compiler-core/src/transform.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
CREATE_VNODE,
2424
FRAGMENT,
2525
helperNameMap,
26-
APPLY_DIRECTIVES,
26+
WITH_DIRECTIVES,
2727
CREATE_BLOCK
2828
} from './runtimeHelpers'
2929
import { isVSlot, createBlockExpression } from './utils'
@@ -243,7 +243,7 @@ function finalizeRoot(root: RootNode, context: TransformContext) {
243243
const codegenNode = child.codegenNode as
244244
| ElementCodegenNode
245245
| ComponentCodegenNode
246-
if (codegenNode.callee === APPLY_DIRECTIVES) {
246+
if (codegenNode.callee === WITH_DIRECTIVES) {
247247
codegenNode.arguments[0].callee = helper(CREATE_BLOCK)
248248
} else {
249249
codegenNode.callee = helper(CREATE_BLOCK)

packages/compiler-core/src/transforms/hoistStatic.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
ElementNode
1212
} from '../ast'
1313
import { TransformContext } from '../transform'
14-
import { APPLY_DIRECTIVES } from '../runtimeHelpers'
14+
import { WITH_DIRECTIVES } from '../runtimeHelpers'
1515
import { PatchFlags, isString, isSymbol } from '@vue/shared'
1616
import { isSlotOutlet, findProp } from '../utils'
1717

@@ -72,7 +72,7 @@ function walk(
7272
!hasDynamicKeyOrRef(child)
7373
) {
7474
let codegenNode = child.codegenNode as ElementCodegenNode
75-
if (codegenNode.callee === APPLY_DIRECTIVES) {
75+
if (codegenNode.callee === WITH_DIRECTIVES) {
7676
codegenNode = codegenNode.arguments[0]
7777
}
7878
const props = codegenNode.arguments[1]
@@ -99,7 +99,7 @@ function walk(
9999

100100
function getPatchFlag(node: PlainElementNode): number | undefined {
101101
let codegenNode = node.codegenNode as ElementCodegenNode
102-
if (codegenNode.callee === APPLY_DIRECTIVES) {
102+
if (codegenNode.callee === WITH_DIRECTIVES) {
103103
codegenNode = codegenNode.arguments[0]
104104
}
105105
const flag = codegenNode.arguments[3]

packages/compiler-core/src/transforms/transformElement.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { PatchFlags, PatchFlagNames, isSymbol } from '@vue/shared'
1919
import { createCompilerError, ErrorCodes } from '../errors'
2020
import {
2121
CREATE_VNODE,
22-
APPLY_DIRECTIVES,
22+
WITH_DIRECTIVES,
2323
RESOLVE_DIRECTIVE,
2424
RESOLVE_COMPONENT,
2525
RESOLVE_DYNAMIC_COMPONENT,
@@ -177,7 +177,7 @@ export const transformElement: NodeTransform = (node, context) => {
177177

178178
if (runtimeDirectives && runtimeDirectives.length) {
179179
node.codegenNode = createCallExpression(
180-
context.helper(APPLY_DIRECTIVES),
180+
context.helper(WITH_DIRECTIVES),
181181
[
182182
vnode,
183183
createArrayExpression(

packages/compiler-core/src/transforms/vFor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
OPEN_BLOCK,
3232
CREATE_BLOCK,
3333
FRAGMENT,
34-
APPLY_DIRECTIVES
34+
WITH_DIRECTIVES
3535
} from '../runtimeHelpers'
3636
import { processExpression } from './transformExpression'
3737
import { PatchFlags, PatchFlagNames } from '@vue/shared'
@@ -151,7 +151,7 @@ export const transformFor = createStructuralDirectiveTransform(
151151
// Normal element v-for. Directly use the child's codegenNode
152152
// arguments, but replace createVNode() with createBlock()
153153
let codegenNode = node.codegenNode as ElementCodegenNode
154-
if (codegenNode.callee === APPLY_DIRECTIVES) {
154+
if (codegenNode.callee === WITH_DIRECTIVES) {
155155
codegenNode.arguments[0].callee = helper(CREATE_BLOCK)
156156
} else {
157157
codegenNode.callee = helper(CREATE_BLOCK)

packages/compiler-core/src/transforms/vIf.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
CREATE_BLOCK,
3333
COMMENT,
3434
FRAGMENT,
35-
APPLY_DIRECTIVES,
35+
WITH_DIRECTIVES,
3636
CREATE_VNODE
3737
} from '../runtimeHelpers'
3838
import { injectProp } from '../utils'
@@ -196,7 +196,7 @@ function createChildrenCodegenNode(
196196
| SlotOutletCodegenNode
197197
let vnodeCall = childCodegen
198198
// Element with custom directives. Locate the actual createVNode() call.
199-
if (vnodeCall.callee === APPLY_DIRECTIVES) {
199+
if (vnodeCall.callee === WITH_DIRECTIVES) {
200200
vnodeCall = vnodeCall.arguments[0]
201201
}
202202
// Change createVNode to createBlock.

packages/compiler-dom/__tests__/transforms/__snapshots__/vModel.spec.ts.snap

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ exports[`compiler: transform v-model modifiers .lazy 1`] = `
55
66
return function render() {
77
with (this) {
8-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
8+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
99
10-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
10+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
1111
modelValue: model,
1212
\\"onUpdate:modelValue\\": $event => (model = $event)
1313
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -27,9 +27,9 @@ exports[`compiler: transform v-model modifiers .number 1`] = `
2727
2828
return function render() {
2929
with (this) {
30-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
30+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
3131
32-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
32+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
3333
modelValue: model,
3434
\\"onUpdate:modelValue\\": $event => (model = $event)
3535
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -49,9 +49,9 @@ exports[`compiler: transform v-model modifiers .trim 1`] = `
4949
5050
return function render() {
5151
with (this) {
52-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
52+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
5353
54-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
54+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
5555
modelValue: model,
5656
\\"onUpdate:modelValue\\": $event => (model = $event)
5757
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -71,9 +71,9 @@ exports[`compiler: transform v-model simple expression 1`] = `
7171
7272
return function render() {
7373
with (this) {
74-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
74+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
7575
76-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
76+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
7777
modelValue: model,
7878
\\"onUpdate:modelValue\\": $event => (model = $event)
7979
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -88,9 +88,9 @@ exports[`compiler: transform v-model simple expression for input (checkbox) 1`]
8888
8989
return function render() {
9090
with (this) {
91-
const { vModelCheckbox: _vModelCheckbox, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
91+
const { vModelCheckbox: _vModelCheckbox, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
9292
93-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
93+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
9494
type: \\"checkbox\\",
9595
modelValue: model,
9696
\\"onUpdate:modelValue\\": $event => (model = $event)
@@ -106,11 +106,11 @@ exports[`compiler: transform v-model simple expression for input (dynamic type)
106106
107107
return function render() {
108108
with (this) {
109-
const { vModelDynamic: _vModelDynamic, createVNode: _createVNode, applyDirectives: _applyDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue
109+
const { vModelDynamic: _vModelDynamic, createVNode: _createVNode, withDirectives: _withDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue
110110
111111
const _directive_bind = _resolveDirective(\\"bind\\")
112112
113-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
113+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
114114
modelValue: model,
115115
\\"onUpdate:modelValue\\": $event => (model = $event)
116116
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -126,9 +126,9 @@ exports[`compiler: transform v-model simple expression for input (radio) 1`] = `
126126
127127
return function render() {
128128
with (this) {
129-
const { vModelRadio: _vModelRadio, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
129+
const { vModelRadio: _vModelRadio, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
130130
131-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
131+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
132132
type: \\"radio\\",
133133
modelValue: model,
134134
\\"onUpdate:modelValue\\": $event => (model = $event)
@@ -144,9 +144,9 @@ exports[`compiler: transform v-model simple expression for input (text) 1`] = `
144144
145145
return function render() {
146146
with (this) {
147-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
147+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
148148
149-
return (_openBlock(), _applyDirectives(_createBlock(\\"input\\", {
149+
return (_openBlock(), _withDirectives(_createBlock(\\"input\\", {
150150
type: \\"text\\",
151151
modelValue: model,
152152
\\"onUpdate:modelValue\\": $event => (model = $event)
@@ -162,9 +162,9 @@ exports[`compiler: transform v-model simple expression for select 1`] = `
162162
163163
return function render() {
164164
with (this) {
165-
const { vModelSelect: _vModelSelect, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
165+
const { vModelSelect: _vModelSelect, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
166166
167-
return (_openBlock(), _applyDirectives(_createBlock(\\"select\\", {
167+
return (_openBlock(), _withDirectives(_createBlock(\\"select\\", {
168168
modelValue: model,
169169
\\"onUpdate:modelValue\\": $event => (model = $event)
170170
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [
@@ -179,9 +179,9 @@ exports[`compiler: transform v-model simple expression for textarea 1`] = `
179179
180180
return function render() {
181181
with (this) {
182-
const { vModelText: _vModelText, createVNode: _createVNode, applyDirectives: _applyDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
182+
const { vModelText: _vModelText, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue
183183
184-
return (_openBlock(), _applyDirectives(_createBlock(\\"textarea\\", {
184+
return (_openBlock(), _withDirectives(_createBlock(\\"textarea\\", {
185185
modelValue: model,
186186
\\"onUpdate:modelValue\\": $event => (model = $event)
187187
}, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [

0 commit comments

Comments
 (0)