🌐 AI搜索 & 代理 主页
Skip to content

Commit e919059

Browse files
committed
Update package.json
1 parent 008198b commit e919059

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

src/components/form-tags/package.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -131,78 +131,78 @@
131131
],
132132
"events": [
133133
{
134-
"event": "input",
135-
"description": "Emitted when the tags changes. Updates the v-model",
134+
"event": "blur",
135+
"description": "Emitted when component loses focus",
136136
"args": [
137137
{
138-
"arg": "value",
139-
"type": "Array",
140-
"description": "Array of current tags"
138+
"arg": "event",
139+
"type": "FocusEvent",
140+
"description": "Native blur event (before any formatting)"
141141
}
142142
]
143143
},
144144
{
145-
"event": "tag-state",
146-
"description": "Emitted when tags in the user input are parsed",
145+
"event": "focus",
146+
"description": "Emitted when component gains focus",
147147
"args": [
148148
{
149-
"arg": "validTags",
150-
"type": "Array",
151-
"description": "Array of new tag(s) added (or that will be added). Will be zero length if no tags added"
152-
},
153-
{
154-
"arg": "invalidTags",
155-
"type": "Array",
156-
"description": "Array of tag(s) that can not added because they did not pass validation. Will be zero length if no invalid tags"
157-
},
158-
{
159-
"arg": "duplicateTags",
160-
"type": "Array",
161-
"description": "Array of tag(s) that can not added because they would be a duplicate tag. Will be zero length if no duplicate tags"
149+
"arg": "event",
150+
"type": "FocusEvent",
151+
"description": "Native focus event (before any formatting)"
162152
}
163153
]
164154
},
165155
{
166-
"event": "focus",
167-
"description": "Emitted when component gains focus",
156+
"event": "focusin",
157+
"description": "Emitted when internal elements of component gain focus.",
168158
"args": [
169159
{
170160
"arg": "event",
171161
"type": "FocusEvent",
172-
"description": "Native focus event (before any formatting)"
162+
"description": "Native focusin event (before any formatting)"
173163
}
174164
]
175165
},
176166
{
177-
"event": "blur",
178-
"description": "Emitted when component loses focus",
167+
"event": "focusout",
168+
"description": "Emitted when internal elements of component lose focus.",
179169
"args": [
180170
{
181171
"arg": "event",
182172
"type": "FocusEvent",
183-
"description": "Native blur event (before any formatting)"
173+
"description": "Native focusout event (before any formatting)"
184174
}
185175
]
186176
},
187177
{
188-
"event": "focusin",
189-
"description": "Emitted when internal elements of component gain focus.",
178+
"event": "input",
179+
"description": "Emitted when the tags changes. Updates the v-model",
190180
"args": [
191181
{
192-
"arg": "event",
193-
"type": "FocusEvent",
194-
"description": "Native focusin event (before any formatting)"
182+
"arg": "value",
183+
"type": "Array",
184+
"description": "Array of current tags"
195185
}
196186
]
197187
},
198188
{
199-
"event": "focusout",
200-
"description": "Emitted when internal elements of component lose focus.",
189+
"event": "tag-state",
190+
"description": "Emitted when tags in the user input are parsed",
201191
"args": [
202192
{
203-
"arg": "event",
204-
"type": "FocusEvent",
205-
"description": "Native focusout event (before any formatting)"
193+
"arg": "validTags",
194+
"type": "Array",
195+
"description": "Array of new tag(s) added (or that will be added). Will be zero length if no tags added"
196+
},
197+
{
198+
"arg": "invalidTags",
199+
"type": "Array",
200+
"description": "Array of tag(s) that can not added because they did not pass validation. Will be zero length if no invalid tags"
201+
},
202+
{
203+
"arg": "duplicateTags",
204+
"type": "Array",
205+
"description": "Array of tag(s) that can not added because they would be a duplicate tag. Will be zero length if no duplicate tags"
206206
}
207207
]
208208
}

0 commit comments

Comments
 (0)