@varlet/ui 2.11.1 → 2.11.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "2.11.1",
4
+ "version": "2.11.2",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -3000,6 +3000,15 @@
3000
3000
  "type": "TeleportProps['to']",
3001
3001
  "kind": "expression"
3002
3002
  }
3003
+ },
3004
+ {
3005
+ "name": "image-prevent-default",
3006
+ "description": "whether to disable the default behavior of images",
3007
+ "default": "false",
3008
+ "value": {
3009
+ "type": "boolean",
3010
+ "kind": "expression"
3011
+ }
3003
3012
  }
3004
3013
  ],
3005
3014
  "events": [
@@ -3022,6 +3031,10 @@
3022
3031
  {
3023
3032
  "name": "closed",
3024
3033
  "description": "Triggered when the animation that closes the image-preview ends"
3034
+ },
3035
+ {
3036
+ "name": "long-press",
3037
+ "description": "The callback function when long pressing an image, the callback parameter is the current index"
3025
3038
  }
3026
3039
  ],
3027
3040
  "slots": []
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "2.11.1",
4
+ "version": "2.11.2",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -3159,6 +3159,15 @@
3159
3159
  "type": "TeleportProps['to']",
3160
3160
  "kind": "expression"
3161
3161
  }
3162
+ },
3163
+ {
3164
+ "name": "image-prevent-default",
3165
+ "description": "是否禁止图片默认行为",
3166
+ "default": "false",
3167
+ "value": {
3168
+ "type": "boolean",
3169
+ "kind": "expression"
3170
+ }
3162
3171
  }
3163
3172
  ],
3164
3173
  "events": [
@@ -3181,6 +3190,10 @@
3181
3190
  {
3182
3191
  "name": "closed",
3183
3192
  "description": "关闭 image-preview 动画结束时触发"
3193
+ },
3194
+ {
3195
+ "name": "long-press",
3196
+ "description": "长按图片时的回调函数,回调参数为当前索引"
3184
3197
  }
3185
3198
  ],
3186
3199
  "slots": [