File tree Expand file tree Collapse file tree 14 files changed +230
-28
lines changed
packages/uni-app-types/src Expand file tree Collapse file tree 14 files changed +230
-28
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ declare module "vue" {
143143 }
144144}
145145
146- // 3.0 <= Vue <= 3.2
146+ // 3.0 <= Vue < 3.3
147147declare global {
148148 namespace JSX {
149149 interface IntrinsicElements {
@@ -159,7 +159,7 @@ declare global {
159159 }
160160}
161161
162- // 3.3 <= Vue
162+ // 3.3 <= Vue < 3.4
163163// @ts -expect-error Invalid module name in augmentation, module cannot be found.
164164declare module "vue/jsx-runtime" {
165165 namespace JSX {
@@ -175,3 +175,17 @@ declare module "vue/jsx-runtime" {
175175 }
176176 }
177177}
178+
179+ // 3.4 <= Vue
180+ declare module "vue" {
181+ interface IntrinsicElementAttributes {
182+ /**
183+ * 进度条
184+ * ***
185+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/progress.html)
186+ * |
187+ * [使用说明](https://uni-typed.netlify.app/)
188+ */
189+ progress : _ProgressProps ;
190+ }
191+ }
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ declare module "vue" {
108108 }
109109}
110110
111- // 3.0 <= Vue <= 3.2
111+ // 3.0 <= Vue < 3.3
112112declare global {
113113 namespace JSX {
114114 interface IntrinsicElements {
@@ -126,7 +126,7 @@ declare global {
126126 }
127127}
128128
129- // 3.3 <= Vue
129+ // 3.3 <= Vue < 3.4
130130// @ts -expect-error Invalid module name in augmentation, module cannot be found.
131131declare module "vue/jsx-runtime" {
132132 namespace JSX {
@@ -144,3 +144,17 @@ declare module "vue/jsx-runtime" {
144144 }
145145 }
146146}
147+
148+ // 3.4 <= Vue
149+ declare module "vue" {
150+ interface IntrinsicElementAttributes {
151+ /**
152+ * 进度条
153+ * ***
154+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/progress.html)
155+ * |
156+ * [使用说明](https://uni-typed.netlify.app/)
157+ */
158+ text : _TextProps ;
159+ }
160+ }
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ declare module "vue" {
143143 }
144144}
145145
146- // 3.0 <= Vue <= 3.2
146+ // 3.0 <= Vue < 3.3
147147declare global {
148148 namespace JSX {
149149 interface IntrinsicElements {
@@ -158,7 +158,7 @@ declare global {
158158 }
159159}
160160
161- // 3.3 <= Vue
161+ // 3.3 <= Vue < 3.4
162162// @ts -expect-error Invalid module name in augmentation, module cannot be found.
163163declare module "vue/jsx-runtime" {
164164 namespace JSX {
@@ -173,3 +173,16 @@ declare module "vue/jsx-runtime" {
173173 }
174174 }
175175}
176+
177+ // 3.4 <= Vue
178+ declare module "vue" {
179+ interface IntrinsicElementAttributes {
180+ /** 画布
181+ * ***
182+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/canvas.html)
183+ * |
184+ * [使用说明](https://uni-typed.netlify.app/)
185+ */
186+ canvas : _CanvasProps ;
187+ }
188+ }
Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ declare module "vue" {
826826 }
827827}
828828
829- // 3.0 <= Vue <= 3.2
829+ // 3.0 <= Vue < 3.3
830830declare global {
831831 namespace JSX {
832832 interface IntrinsicElements {
@@ -841,7 +841,7 @@ declare global {
841841 }
842842}
843843
844- // 3.3 <= Vue
844+ // 3.3 <= Vue < 3.4
845845// @ts -expect-error Invalid module name in augmentation, module cannot be found.
846846declare module "vue/jsx-runtime" {
847847 namespace JSX {
@@ -856,3 +856,16 @@ declare module "vue/jsx-runtime" {
856856 }
857857 }
858858}
859+
860+ // 3.4 <= Vue
861+ declare module "vue" {
862+ interface IntrinsicElementAttributes {
863+ /** 按钮
864+ * ***
865+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/button.html)
866+ * |
867+ * [使用说明](https://uni-typed.netlify.app/)
868+ */
869+ button : _ButtonProps ;
870+ }
871+ }
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ declare module "vue" {
122122 }
123123}
124124
125- // 3.0 <= Vue <= 3.2
125+ // 3.0 <= Vue < 3.3
126126declare global {
127127 namespace JSX {
128128 interface IntrinsicElements {
@@ -136,7 +136,7 @@ declare global {
136136 }
137137}
138138
139- // 3.3 <= Vue
139+ // 3.3 <= Vue < 3.4
140140// @ts -expect-error Invalid module name in augmentation, module cannot be found.
141141declare module "vue/jsx-runtime" {
142142 namespace JSX {
@@ -154,3 +154,19 @@ declare module "vue/jsx-runtime" {
154154 }
155155 }
156156}
157+
158+ // 3.4 <= Vue
159+ declare module "vue" {
160+ interface IntrinsicElementAttributes {
161+ /**
162+ * 表单
163+ *
164+ * 将组件内的用户输入的 switch、input、checkbox、slider、radio、picker 提交
165+ * ***
166+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/form.html)
167+ * |
168+ * [使用说明](https://uni-typed.netlify.app/)
169+ */
170+ form : _FormProps ;
171+ }
172+ }
Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ declare module "vue" {
527527 }
528528}
529529
530- // 3.0 <= Vue <= 3.2
530+ // 3.0 <= Vue < 3.3
531531declare global {
532532 namespace JSX {
533533 interface IntrinsicElements {
@@ -542,7 +542,7 @@ declare global {
542542 }
543543}
544544
545- // 3.3 <= Vue
545+ // 3.3 <= Vue < 3.4
546546// @ts -expect-error Invalid module name in augmentation, module cannot be found.
547547declare module "vue/jsx-runtime" {
548548 namespace JSX {
@@ -557,3 +557,16 @@ declare module "vue/jsx-runtime" {
557557 }
558558 }
559559}
560+
561+ // 3.4 <= Vue
562+ declare module "vue" {
563+ interface IntrinsicElementAttributes {
564+ /** 输入框
565+ * ***
566+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/input.html)
567+ * |
568+ * [使用说明](https://uni-typed.netlify.app/)
569+ */
570+ input : _InputProps ;
571+ }
572+ }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ declare module "vue" {
6666 }
6767}
6868
69- // 3.0 <= Vue <= 3.2
69+ // 3.0 <= Vue < 3.3
7070declare global {
7171 namespace JSX {
7272 interface IntrinsicElements {
@@ -88,7 +88,7 @@ declare global {
8888 }
8989}
9090
91- // 3.3 <= Vue
91+ // 3.3 <= Vue < 3.4
9292// @ts -expect-error Invalid module name in augmentation, module cannot be found.
9393declare module "vue/jsx-runtime" {
9494 namespace JSX {
@@ -110,3 +110,23 @@ declare module "vue/jsx-runtime" {
110110 }
111111 }
112112}
113+
114+ // 3.4 <= Vue
115+ declare module "vue" {
116+ interface IntrinsicElementAttributes {
117+ /**
118+ * 表单标签
119+ *
120+ * 用来改进表单组件的可用性
121+ *
122+ * 使用 for 属性找到对应的 id,或者将控件放在该标签下,当点击时,就会触发对应的控件
123+ *
124+ * For 优先级高于内部控件,内部有多个控件的时候默认触发第一个控件
125+ * ***
126+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/label.html)
127+ * |
128+ * [使用说明](https://uni-typed.netlify.app/)
129+ */
130+ label : _LabelProps ;
131+ }
132+ }
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ declare module "vue" {
9090 }
9191}
9292
93- // 3.0 <= Vue <= 3.2
93+ // 3.0 <= Vue < 3.3
9494declare global {
9595 namespace JSX {
9696 interface IntrinsicElements {
@@ -105,7 +105,7 @@ declare global {
105105 }
106106}
107107
108- // 3.3 <= Vue
108+ // 3.3 <= Vue < 3.4
109109// @ts -expect-error Invalid module name in augmentation, module cannot be found.
110110declare module "vue/jsx-runtime" {
111111 namespace JSX {
@@ -120,3 +120,16 @@ declare module "vue/jsx-runtime" {
120120 }
121121 }
122122}
123+
124+ // 3.4 <= Vue
125+ declare module "vue" {
126+ interface IntrinsicElementAttributes {
127+ /** 开关选择器
128+ * ***
129+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/switch.html)
130+ * |
131+ * [使用说明](https://uni-typed.netlify.app/)
132+ */
133+ switch : _SwitchProps ;
134+ }
135+ }
Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ declare module "vue" {
345345 }
346346}
347347
348- // 3.0 <= Vue <= 3.2
348+ // 3.0 <= Vue < 3.3
349349declare global {
350350 namespace JSX {
351351 interface IntrinsicElements {
@@ -360,7 +360,7 @@ declare global {
360360 }
361361}
362362
363- // 3.3 <= Vue
363+ // 3.3 <= Vue < 3.4
364364// @ts -expect-error Invalid module name in augmentation, module cannot be found.
365365declare module "vue/jsx-runtime" {
366366 namespace JSX {
@@ -375,3 +375,16 @@ declare module "vue/jsx-runtime" {
375375 }
376376 }
377377}
378+
379+ // 3.4 <= Vue
380+ declare module "vue" {
381+ interface IntrinsicElementAttributes {
382+ /** 多行输入框
383+ * ***
384+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/textarea.html)
385+ * |
386+ * [使用说明](https://uni-typed.netlify.app/)
387+ */
388+ textarea : _TextareaProps ;
389+ }
390+ }
Original file line number Diff line number Diff line change @@ -904,7 +904,7 @@ declare module "vue" {
904904 }
905905}
906906
907- // 3.0 <= Vue <= 3.2
907+ // 3.0 <= Vue < 3.3
908908declare global {
909909 namespace JSX {
910910 interface IntrinsicElements {
@@ -919,7 +919,7 @@ declare global {
919919 }
920920}
921921
922- // 3.3 <= Vue
922+ // 3.3 <= Vue < 3.4
923923// @ts -expect-error Invalid module name in augmentation, module cannot be found.
924924declare module "vue/jsx-runtime" {
925925 namespace JSX {
@@ -934,3 +934,16 @@ declare module "vue/jsx-runtime" {
934934 }
935935 }
936936}
937+
938+ // 3.4 <= Vue
939+ declare module "vue" {
940+ interface IntrinsicElementAttributes {
941+ /** 地图组件,用于展示地图
942+ * ***
943+ * [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/map.html)
944+ * |
945+ * [使用说明](https://uni-typed.netlify.app/)
946+ */
947+ map : _MapProps ;
948+ }
949+ }
You can’t perform that action at this time.
0 commit comments