@vue/language-service 2.0.13 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/language-blocks/cs.json +1034 -0
- package/data/language-blocks/en.json +204 -0
- package/data/language-blocks/fr.json +204 -0
- package/data/language-blocks/it.json +204 -0
- package/data/language-blocks/ja.json +204 -0
- package/data/language-blocks/ko.json +205 -1
- package/data/language-blocks/pt.json +204 -0
- package/data/language-blocks/ru.json +1034 -0
- package/data/language-blocks/zh-cn.json +204 -0
- package/data/model-modifiers/cs.json +176 -0
- package/data/model-modifiers/en.json +36 -0
- package/data/model-modifiers/fr.json +36 -0
- package/data/model-modifiers/it.json +36 -0
- package/data/model-modifiers/ja.json +36 -0
- package/data/model-modifiers/ko.json +36 -0
- package/data/model-modifiers/pt.json +36 -0
- package/data/model-modifiers/ru.json +176 -0
- package/data/model-modifiers/zh-cn.json +36 -0
- package/data/template/cs.json +1498 -0
- package/data/template/en.json +312 -0
- package/data/template/fr.json +315 -3
- package/data/template/it.json +312 -0
- package/data/template/ja.json +313 -1
- package/data/template/ko.json +316 -4
- package/data/template/pt.json +312 -0
- package/data/template/ru.json +1498 -0
- package/data/template/zh-cn.json +312 -0
- package/lib/ideFeatures/nameCasing.js +4 -4
- package/lib/plugins/data.js +18 -0
- package/lib/plugins/vue-codelens-references.js +1 -1
- package/lib/plugins/vue-document-drop.js +1 -1
- package/lib/plugins/vue-extract-file.js +2 -2
- package/lib/plugins/vue-sfc.d.ts +1 -1
- package/lib/plugins/vue-sfc.js +2 -2
- package/lib/plugins/vue-template.js +5 -5
- package/lib/plugins/vue-toggle-v-bind-codeaction.js +1 -1
- package/lib/plugins/vue-twoslash-queries.js +1 -1
- package/package.json +8 -8
- package/scripts/update-html-data.js +18 -0
|
@@ -46,6 +46,18 @@
|
|
|
46
46
|
{
|
|
47
47
|
"name": "it",
|
|
48
48
|
"url": "https://it.vuejs.org/api/sfc-spec.html#src-imports"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "cs",
|
|
52
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#src-imports"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "ru",
|
|
56
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#src-imports"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "fa",
|
|
60
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#src-imports"
|
|
49
61
|
}
|
|
50
62
|
]
|
|
51
63
|
},
|
|
@@ -99,6 +111,18 @@
|
|
|
99
111
|
{
|
|
100
112
|
"name": "it",
|
|
101
113
|
"url": "https://it.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "cs",
|
|
117
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "ru",
|
|
121
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "fa",
|
|
125
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
102
126
|
}
|
|
103
127
|
]
|
|
104
128
|
}
|
|
@@ -143,6 +167,18 @@
|
|
|
143
167
|
{
|
|
144
168
|
"name": "it",
|
|
145
169
|
"url": "https://it.vuejs.org/api/sfc-spec.html#template"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "cs",
|
|
173
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#template"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "ru",
|
|
177
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#template"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "fa",
|
|
181
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#template"
|
|
146
182
|
}
|
|
147
183
|
]
|
|
148
184
|
},
|
|
@@ -191,6 +227,18 @@
|
|
|
191
227
|
{
|
|
192
228
|
"name": "it",
|
|
193
229
|
"url": "https://it.vuejs.org/api/sfc-spec.html#src-imports"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "cs",
|
|
233
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#src-imports"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "ru",
|
|
237
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#src-imports"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "fa",
|
|
241
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#src-imports"
|
|
194
242
|
}
|
|
195
243
|
]
|
|
196
244
|
},
|
|
@@ -250,6 +298,18 @@
|
|
|
250
298
|
{
|
|
251
299
|
"name": "it",
|
|
252
300
|
"url": "https://it.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "cs",
|
|
304
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "ru",
|
|
308
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "fa",
|
|
312
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
253
313
|
}
|
|
254
314
|
]
|
|
255
315
|
},
|
|
@@ -299,6 +359,18 @@
|
|
|
299
359
|
{
|
|
300
360
|
"name": "it",
|
|
301
361
|
"url": "https://it.vuejs.org/api/sfc-spec.html#script-setup"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "cs",
|
|
365
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#script-setup"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "ru",
|
|
369
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#script-setup"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "fa",
|
|
373
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#script-setup"
|
|
302
374
|
}
|
|
303
375
|
]
|
|
304
376
|
}
|
|
@@ -343,6 +415,18 @@
|
|
|
343
415
|
{
|
|
344
416
|
"name": "it",
|
|
345
417
|
"url": "https://it.vuejs.org/api/sfc-spec.html#script"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "cs",
|
|
421
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#script"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "ru",
|
|
425
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#script"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "fa",
|
|
429
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#script"
|
|
346
430
|
}
|
|
347
431
|
]
|
|
348
432
|
},
|
|
@@ -389,6 +473,18 @@
|
|
|
389
473
|
{
|
|
390
474
|
"name": "it",
|
|
391
475
|
"url": "https://it.vuejs.org/api/sfc-spec.html#script-setup"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "cs",
|
|
479
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#script-setup"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "ru",
|
|
483
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#script-setup"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "fa",
|
|
487
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#script-setup"
|
|
392
488
|
}
|
|
393
489
|
]
|
|
394
490
|
},
|
|
@@ -437,6 +533,18 @@
|
|
|
437
533
|
{
|
|
438
534
|
"name": "it",
|
|
439
535
|
"url": "https://it.vuejs.org/api/sfc-spec.html#src-imports"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "cs",
|
|
539
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#src-imports"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "ru",
|
|
543
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#src-imports"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "fa",
|
|
547
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#src-imports"
|
|
440
548
|
}
|
|
441
549
|
]
|
|
442
550
|
},
|
|
@@ -502,6 +610,18 @@
|
|
|
502
610
|
{
|
|
503
611
|
"name": "it",
|
|
504
612
|
"url": "https://it.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "cs",
|
|
616
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "ru",
|
|
620
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "fa",
|
|
624
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
505
625
|
}
|
|
506
626
|
]
|
|
507
627
|
},
|
|
@@ -548,6 +668,18 @@
|
|
|
548
668
|
{
|
|
549
669
|
"name": "it",
|
|
550
670
|
"url": "https://it.vuejs.org/api/sfc-css-features.html#scoped-css"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "cs",
|
|
674
|
+
"url": "https://cs.vuejs.org/api/sfc-css-features.html#scoped-css"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "ru",
|
|
678
|
+
"url": "https://ru.vuejs.org/api/sfc-css-features.html#scoped-css"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "fa",
|
|
682
|
+
"url": "https://fa.vuejs.org/api/sfc-css-features.html#scoped-css"
|
|
551
683
|
}
|
|
552
684
|
]
|
|
553
685
|
},
|
|
@@ -594,6 +726,18 @@
|
|
|
594
726
|
{
|
|
595
727
|
"name": "it",
|
|
596
728
|
"url": "https://it.vuejs.org/api/sfc-css-features.html#css-modules"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "cs",
|
|
732
|
+
"url": "https://cs.vuejs.org/api/sfc-css-features.html#css-modules"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "ru",
|
|
736
|
+
"url": "https://ru.vuejs.org/api/sfc-css-features.html#css-modules"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "fa",
|
|
740
|
+
"url": "https://fa.vuejs.org/api/sfc-css-features.html#css-modules"
|
|
597
741
|
}
|
|
598
742
|
]
|
|
599
743
|
}
|
|
@@ -638,6 +782,18 @@
|
|
|
638
782
|
{
|
|
639
783
|
"name": "it",
|
|
640
784
|
"url": "https://it.vuejs.org/api/sfc-spec.html#style"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "cs",
|
|
788
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#style"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "ru",
|
|
792
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#style"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "fa",
|
|
796
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#style"
|
|
641
797
|
}
|
|
642
798
|
]
|
|
643
799
|
},
|
|
@@ -686,6 +842,18 @@
|
|
|
686
842
|
{
|
|
687
843
|
"name": "it",
|
|
688
844
|
"url": "https://it.vuejs.org/api/sfc-spec.html#src-imports"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "cs",
|
|
848
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#src-imports"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "ru",
|
|
852
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#src-imports"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "fa",
|
|
856
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#src-imports"
|
|
689
857
|
}
|
|
690
858
|
]
|
|
691
859
|
}
|
|
@@ -730,6 +898,18 @@
|
|
|
730
898
|
{
|
|
731
899
|
"name": "it",
|
|
732
900
|
"url": "https://it.vuejs.org/api/sfc-spec.html#自定义块"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "cs",
|
|
904
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#自定义块"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "ru",
|
|
908
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#自定义块"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "fa",
|
|
912
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#自定义块"
|
|
733
913
|
}
|
|
734
914
|
]
|
|
735
915
|
}
|
|
@@ -778,6 +958,18 @@
|
|
|
778
958
|
{
|
|
779
959
|
"name": "it",
|
|
780
960
|
"url": "https://it.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "cs",
|
|
964
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"name": "ru",
|
|
968
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "fa",
|
|
972
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#pre-processors"
|
|
781
973
|
}
|
|
782
974
|
]
|
|
783
975
|
},
|
|
@@ -823,6 +1015,18 @@
|
|
|
823
1015
|
{
|
|
824
1016
|
"name": "it",
|
|
825
1017
|
"url": "https://it.vuejs.org/api/sfc-spec.html#src-imports"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "cs",
|
|
1021
|
+
"url": "https://cs.vuejs.org/api/sfc-spec.html#src-imports"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "ru",
|
|
1025
|
+
"url": "https://ru.vuejs.org/api/sfc-spec.html#src-imports"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "fa",
|
|
1029
|
+
"url": "https://fa.vuejs.org/api/sfc-spec.html#src-imports"
|
|
826
1030
|
}
|
|
827
1031
|
]
|
|
828
1032
|
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1.1,
|
|
3
|
+
"globalAttributes": [
|
|
4
|
+
{
|
|
5
|
+
"name": "lazy",
|
|
6
|
+
"description": {
|
|
7
|
+
"kind": "markdown",
|
|
8
|
+
"value": "\nVe výchozím nastavení `v-model` synchronizuje vstup s daty po každé události `input` (s výjimkou IME kompozice, jak je [uvedeno výše](#vmodel-ime-tip)). Místo toho můžete přidat modifikátor`lazy` k synchronizaci po události `change`:\n\n```html\n<!-- synchronizuje se po „change“ místo „input“ -->\n<input v-model.lazy=\"msg\" />\n```\n"
|
|
9
|
+
},
|
|
10
|
+
"references": [
|
|
11
|
+
{
|
|
12
|
+
"name": "en",
|
|
13
|
+
"url": "https://vuejs.org/guide/essentials/forms.html#lazy"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "zh-cn",
|
|
17
|
+
"url": "https://cn.vuejs.org/guide/essentials/forms.html#lazy"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "ja",
|
|
21
|
+
"url": "https://ja.vuejs.org/guide/essentials/forms.html#lazy"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "ua",
|
|
25
|
+
"url": "https://ua.vuejs.org/guide/essentials/forms.html#lazy"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "fr",
|
|
29
|
+
"url": "https://fr.vuejs.org/guide/essentials/forms.html#lazy"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "ko",
|
|
33
|
+
"url": "https://ko.vuejs.org/guide/essentials/forms.html#lazy"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "pt",
|
|
37
|
+
"url": "https://pt.vuejs.org/guide/essentials/forms.html#lazy"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "bn",
|
|
41
|
+
"url": "https://bn.vuejs.org/guide/essentials/forms.html#lazy"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "it",
|
|
45
|
+
"url": "https://it.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "cs",
|
|
49
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#lazy"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "ru",
|
|
53
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#lazy"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "fa",
|
|
57
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#lazy"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "number",
|
|
63
|
+
"description": {
|
|
64
|
+
"kind": "markdown",
|
|
65
|
+
"value": "\nPokud chcete, aby byl uživatelský vstup automaticky přetypován jako číslo, můžete do vašich vstupů spravovaných přes `v-model` přidat modifikátor `number`:\n\n```html\n<input v-model.number=\"age\" />\n```\n\nPokud hodnotu nelze přetypovat pomocí `parseFloat()`, bude použita původní hodnota.\n\nModifikátor `number` se aplikuje automaticky, pokud má vstupní pole atribut `type=\"number\"`.\n"
|
|
66
|
+
},
|
|
67
|
+
"references": [
|
|
68
|
+
{
|
|
69
|
+
"name": "en",
|
|
70
|
+
"url": "https://vuejs.org/guide/essentials/forms.html#number"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "zh-cn",
|
|
74
|
+
"url": "https://cn.vuejs.org/guide/essentials/forms.html#number"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "ja",
|
|
78
|
+
"url": "https://ja.vuejs.org/guide/essentials/forms.html#number"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "ua",
|
|
82
|
+
"url": "https://ua.vuejs.org/guide/essentials/forms.html#number"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "fr",
|
|
86
|
+
"url": "https://fr.vuejs.org/guide/essentials/forms.html#number"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "ko",
|
|
90
|
+
"url": "https://ko.vuejs.org/guide/essentials/forms.html#number"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "pt",
|
|
94
|
+
"url": "https://pt.vuejs.org/guide/essentials/forms.html#number"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "bn",
|
|
98
|
+
"url": "https://bn.vuejs.org/guide/essentials/forms.html#number"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "it",
|
|
102
|
+
"url": "https://it.vuejs.org/guide/essentials/forms.html#number"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "cs",
|
|
106
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#number"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "ru",
|
|
110
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#number"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "fa",
|
|
114
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#number"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "trim",
|
|
120
|
+
"description": {
|
|
121
|
+
"kind": "markdown",
|
|
122
|
+
"value": "\nPokud chcete z uživatelského vstupu automaticky odstranit bílé znaky (whitespace), můžete do vašich vstupů spravovaných přes `v-model` přidat modifikátor `trim`:\n\n```html\n<input v-model.trim=\"msg\" />\n```\n"
|
|
123
|
+
},
|
|
124
|
+
"references": [
|
|
125
|
+
{
|
|
126
|
+
"name": "en",
|
|
127
|
+
"url": "https://vuejs.org/guide/essentials/forms.html#trim"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "zh-cn",
|
|
131
|
+
"url": "https://cn.vuejs.org/guide/essentials/forms.html#trim"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "ja",
|
|
135
|
+
"url": "https://ja.vuejs.org/guide/essentials/forms.html#trim"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "ua",
|
|
139
|
+
"url": "https://ua.vuejs.org/guide/essentials/forms.html#trim"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "fr",
|
|
143
|
+
"url": "https://fr.vuejs.org/guide/essentials/forms.html#trim"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "ko",
|
|
147
|
+
"url": "https://ko.vuejs.org/guide/essentials/forms.html#trim"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "pt",
|
|
151
|
+
"url": "https://pt.vuejs.org/guide/essentials/forms.html#trim"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "bn",
|
|
155
|
+
"url": "https://bn.vuejs.org/guide/essentials/forms.html#trim"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "it",
|
|
159
|
+
"url": "https://it.vuejs.org/guide/essentials/forms.html#trim"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "cs",
|
|
163
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#trim"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "ru",
|
|
167
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#trim"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "fa",
|
|
171
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#trim"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
{
|
|
44
44
|
"name": "it",
|
|
45
45
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "cs",
|
|
49
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#lazy"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "ru",
|
|
53
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#lazy"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "fa",
|
|
57
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
58
|
}
|
|
47
59
|
]
|
|
48
60
|
},
|
|
@@ -88,6 +100,18 @@
|
|
|
88
100
|
{
|
|
89
101
|
"name": "it",
|
|
90
102
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#number"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "cs",
|
|
106
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#number"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "ru",
|
|
110
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#number"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "fa",
|
|
114
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#number"
|
|
91
115
|
}
|
|
92
116
|
]
|
|
93
117
|
},
|
|
@@ -133,6 +157,18 @@
|
|
|
133
157
|
{
|
|
134
158
|
"name": "it",
|
|
135
159
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#trim"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "cs",
|
|
163
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#trim"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "ru",
|
|
167
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#trim"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "fa",
|
|
171
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#trim"
|
|
136
172
|
}
|
|
137
173
|
]
|
|
138
174
|
}
|
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
{
|
|
44
44
|
"name": "it",
|
|
45
45
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "cs",
|
|
49
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#lazy"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "ru",
|
|
53
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#lazy"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "fa",
|
|
57
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
58
|
}
|
|
47
59
|
]
|
|
48
60
|
},
|
|
@@ -88,6 +100,18 @@
|
|
|
88
100
|
{
|
|
89
101
|
"name": "it",
|
|
90
102
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#number"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "cs",
|
|
106
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#number"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "ru",
|
|
110
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#number"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "fa",
|
|
114
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#number"
|
|
91
115
|
}
|
|
92
116
|
]
|
|
93
117
|
},
|
|
@@ -133,6 +157,18 @@
|
|
|
133
157
|
{
|
|
134
158
|
"name": "it",
|
|
135
159
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#trim"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "cs",
|
|
163
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#trim"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "ru",
|
|
167
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#trim"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "fa",
|
|
171
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#trim"
|
|
136
172
|
}
|
|
137
173
|
]
|
|
138
174
|
}
|
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
{
|
|
44
44
|
"name": "it",
|
|
45
45
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "cs",
|
|
49
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#lazy"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "ru",
|
|
53
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#lazy"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "fa",
|
|
57
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#lazy"
|
|
46
58
|
}
|
|
47
59
|
]
|
|
48
60
|
},
|
|
@@ -88,6 +100,18 @@
|
|
|
88
100
|
{
|
|
89
101
|
"name": "it",
|
|
90
102
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#number"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "cs",
|
|
106
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#number"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "ru",
|
|
110
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#number"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "fa",
|
|
114
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#number"
|
|
91
115
|
}
|
|
92
116
|
]
|
|
93
117
|
},
|
|
@@ -133,6 +157,18 @@
|
|
|
133
157
|
{
|
|
134
158
|
"name": "it",
|
|
135
159
|
"url": "https://it.vuejs.org/guide/essentials/forms.html#trim"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "cs",
|
|
163
|
+
"url": "https://cs.vuejs.org/guide/essentials/forms.html#trim"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "ru",
|
|
167
|
+
"url": "https://ru.vuejs.org/guide/essentials/forms.html#trim"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "fa",
|
|
171
|
+
"url": "https://fa.vuejs.org/guide/essentials/forms.html#trim"
|
|
136
172
|
}
|
|
137
173
|
]
|
|
138
174
|
}
|