@varlet/ui 2.17.0 → 2.17.1

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.17.0",
4
+ "version": "2.17.1",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -4064,6 +4064,15 @@
4064
4064
  "type": "any",
4065
4065
  "kind": "expression"
4066
4066
  }
4067
+ },
4068
+ {
4069
+ "name": "disabled",
4070
+ "description": "Whether to disable",
4071
+ "default": "false",
4072
+ "value": {
4073
+ "type": "boolean",
4074
+ "kind": "expression"
4075
+ }
4067
4076
  }
4068
4077
  ],
4069
4078
  "events": [],
@@ -6987,6 +6996,15 @@
6987
6996
  "kind": "expression"
6988
6997
  }
6989
6998
  },
6999
+ {
7000
+ "name": "prevent-default-preview",
7001
+ "description": "Prevent default preview behavior",
7002
+ "default": "false",
7003
+ "value": {
7004
+ "type": "boolean",
7005
+ "kind": "expression"
7006
+ }
7007
+ },
6990
7008
  {
6991
7009
  "name": "ripple",
6992
7010
  "description": "Whether to open ripple",
@@ -7007,7 +7025,7 @@
7007
7025
  },
7008
7026
  {
7009
7027
  "name": "resolve-type",
7010
- "description": "The file preprocessing type, Can be set to `default` `file` `data-url` (`default`, the image type contains dataURL and File object, other types contain only File object. `file`, which contains only File object. `data-url`, all file types contain dataURL and File object)",
7028
+ "description": "The file preprocessing type, can be set to `default` `file` `data-url` (`default`, the image type contains dataURL and File object, other types contain only File object. `file`, which contains only File object. `data-url`, all file types contain dataURL and File object)",
7011
7029
  "default": "default",
7012
7030
  "value": {
7013
7031
  "type": "string",
@@ -7016,7 +7034,7 @@
7016
7034
  },
7017
7035
  {
7018
7036
  "name": "validate-trigger",
7019
- "description": "Timing to trigger validation The optional value is `onChange` `onRemove`",
7037
+ "description": "Timing to trigger validation, The optional value is `onChange` `onRemove`",
7020
7038
  "default": "['onChange', 'onRemove']",
7021
7039
  "value": {
7022
7040
  "type": "ValidateTriggers[]",
@@ -7057,6 +7075,10 @@
7057
7075
  {
7058
7076
  "name": "remove",
7059
7077
  "description": "Triggered when deleting a file. There is a true value to prevent deleting a file (support promise)"
7078
+ },
7079
+ {
7080
+ "name": "preview",
7081
+ "description": "Triggered when a file is previewed"
7060
7082
  }
7061
7083
  ],
7062
7084
  "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.17.0",
4
+ "version": "2.17.1",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -4232,6 +4232,15 @@
4232
4232
  "type": "any",
4233
4233
  "kind": "expression"
4234
4234
  }
4235
+ },
4236
+ {
4237
+ "name": "disabled",
4238
+ "description": "是否禁用",
4239
+ "default": "false",
4240
+ "value": {
4241
+ "type": "boolean",
4242
+ "kind": "expression"
4243
+ }
4235
4244
  }
4236
4245
  ],
4237
4246
  "events": [],
@@ -7323,6 +7332,15 @@
7323
7332
  "kind": "expression"
7324
7333
  }
7325
7334
  },
7335
+ {
7336
+ "name": "prevent-default-preview",
7337
+ "description": "阻止默认预览行为",
7338
+ "default": "false",
7339
+ "value": {
7340
+ "type": "boolean",
7341
+ "kind": "expression"
7342
+ }
7343
+ },
7326
7344
  {
7327
7345
  "name": "ripple",
7328
7346
  "description": "是否开启水波纹",
@@ -7393,6 +7411,10 @@
7393
7411
  {
7394
7412
  "name": "remove",
7395
7413
  "description": "文件删除时触发"
7414
+ },
7415
+ {
7416
+ "name": "preview",
7417
+ "description": "文件预览时触发"
7396
7418
  }
7397
7419
  ],
7398
7420
  "slots": [