@sdata/web-vue 2.11.1 → 2.11.3
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/dist/sd.css +794 -27
- package/dist/sd.min.css +1 -1
- package/es/_components/select-view/style/index.css +84 -0
- package/es/auto-complete/style/index.css +16 -0
- package/es/auto-complete/style/index.scss +22 -1
- package/es/button/style/index.css +490 -15
- package/es/button/style/index.scss +24 -1
- package/es/form/style/index.css +176 -12
- package/es/form/style/status.scss +22 -1
- package/es/index.css +794 -27
- package/es/input-tag/style/index.css +84 -0
- package/es/pagination/style/index.css +12 -0
- package/es/pagination/style/index.scss +22 -1
- package/es/result/style/index.css +16 -0
- package/es/result/style/index.scss +22 -1
- package/es/tag/style/index.css +84 -0
- package/es/tag/style/index.scss +22 -1
- package/json/vetur-attributes.json +147 -0
- package/json/vetur-tags.json +45 -0
- package/json/web-types.json +313 -1
- package/package.json +1 -1
package/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@sdata/web-vue",
|
|
5
|
-
"version": "2.11.
|
|
5
|
+
"version": "2.11.2",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -5153,6 +5153,318 @@
|
|
|
5153
5153
|
}
|
|
5154
5154
|
]
|
|
5155
5155
|
},
|
|
5156
|
+
{
|
|
5157
|
+
"name": "sd-modal",
|
|
5158
|
+
"attributes": [
|
|
5159
|
+
{
|
|
5160
|
+
"name": "visible",
|
|
5161
|
+
"description": "Whether the modal is visible",
|
|
5162
|
+
"value": {
|
|
5163
|
+
"type": "boolean",
|
|
5164
|
+
"kind": "expression"
|
|
5165
|
+
}
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
"name": "default-visible",
|
|
5169
|
+
"description": "Whether the modal is visible by default (uncontrolled state)",
|
|
5170
|
+
"value": {
|
|
5171
|
+
"type": "boolean",
|
|
5172
|
+
"kind": "expression"
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
{
|
|
5176
|
+
"name": "width",
|
|
5177
|
+
"description": "The width of the dialog box, if not set, the width value in the style will be used",
|
|
5178
|
+
"value": {
|
|
5179
|
+
"type": "number|string",
|
|
5180
|
+
"kind": "expression"
|
|
5181
|
+
}
|
|
5182
|
+
},
|
|
5183
|
+
{
|
|
5184
|
+
"name": "top",
|
|
5185
|
+
"description": "The height from the top of the dialog box. It does not take effect when the center display is turned on.",
|
|
5186
|
+
"value": {
|
|
5187
|
+
"type": "number|string",
|
|
5188
|
+
"kind": "expression"
|
|
5189
|
+
}
|
|
5190
|
+
},
|
|
5191
|
+
{
|
|
5192
|
+
"name": "mask",
|
|
5193
|
+
"description": "Whether to show the mask",
|
|
5194
|
+
"value": {
|
|
5195
|
+
"type": "boolean",
|
|
5196
|
+
"kind": "expression"
|
|
5197
|
+
}
|
|
5198
|
+
},
|
|
5199
|
+
{
|
|
5200
|
+
"name": "title",
|
|
5201
|
+
"description": "Title",
|
|
5202
|
+
"value": {
|
|
5203
|
+
"type": "string",
|
|
5204
|
+
"kind": "expression"
|
|
5205
|
+
}
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
"name": "title-ellipsis-tooltip",
|
|
5209
|
+
"description": "Tooltip behavior when the title is ellipsized. Uses the component tooltip by default, or falls back to the native browser title when set to false.",
|
|
5210
|
+
"value": {
|
|
5211
|
+
"type": "boolean | EllipsisTooltipProps",
|
|
5212
|
+
"kind": "expression"
|
|
5213
|
+
}
|
|
5214
|
+
},
|
|
5215
|
+
{
|
|
5216
|
+
"name": "title-align",
|
|
5217
|
+
"description": "horizontal alignment of the title",
|
|
5218
|
+
"value": {
|
|
5219
|
+
"type": "string",
|
|
5220
|
+
"kind": "expression"
|
|
5221
|
+
}
|
|
5222
|
+
},
|
|
5223
|
+
{
|
|
5224
|
+
"name": "align-center",
|
|
5225
|
+
"description": "Whether the dialog box is displayed in the center",
|
|
5226
|
+
"value": {
|
|
5227
|
+
"type": "boolean",
|
|
5228
|
+
"kind": "expression"
|
|
5229
|
+
}
|
|
5230
|
+
},
|
|
5231
|
+
{
|
|
5232
|
+
"name": "unmount-on-close",
|
|
5233
|
+
"description": "Whether to uninstall the node when close",
|
|
5234
|
+
"value": {
|
|
5235
|
+
"type": "boolean",
|
|
5236
|
+
"kind": "expression"
|
|
5237
|
+
}
|
|
5238
|
+
},
|
|
5239
|
+
{
|
|
5240
|
+
"name": "mask-closable",
|
|
5241
|
+
"description": "Whether to close the modal when click the mask",
|
|
5242
|
+
"value": {
|
|
5243
|
+
"type": "boolean",
|
|
5244
|
+
"kind": "expression"
|
|
5245
|
+
}
|
|
5246
|
+
},
|
|
5247
|
+
{
|
|
5248
|
+
"name": "hide-cancel",
|
|
5249
|
+
"description": "Whether to hide the cancel button",
|
|
5250
|
+
"value": {
|
|
5251
|
+
"type": "boolean",
|
|
5252
|
+
"kind": "expression"
|
|
5253
|
+
}
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
"name": "simple",
|
|
5257
|
+
"description": "Whether to enable simple mode",
|
|
5258
|
+
"value": {
|
|
5259
|
+
"type": "boolean",
|
|
5260
|
+
"kind": "expression"
|
|
5261
|
+
}
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
"name": "closable",
|
|
5265
|
+
"description": "Whether to show the close button",
|
|
5266
|
+
"value": {
|
|
5267
|
+
"type": "boolean",
|
|
5268
|
+
"kind": "expression"
|
|
5269
|
+
}
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"name": "ok-text",
|
|
5273
|
+
"description": "The content of the confirm button",
|
|
5274
|
+
"value": {
|
|
5275
|
+
"type": "string",
|
|
5276
|
+
"kind": "expression"
|
|
5277
|
+
}
|
|
5278
|
+
},
|
|
5279
|
+
{
|
|
5280
|
+
"name": "cancel-text",
|
|
5281
|
+
"description": "The content of the cancel button",
|
|
5282
|
+
"value": {
|
|
5283
|
+
"type": "string",
|
|
5284
|
+
"kind": "expression"
|
|
5285
|
+
}
|
|
5286
|
+
},
|
|
5287
|
+
{
|
|
5288
|
+
"name": "ok-loading",
|
|
5289
|
+
"description": "Whether the confirm button is in the loading state",
|
|
5290
|
+
"value": {
|
|
5291
|
+
"type": "boolean",
|
|
5292
|
+
"kind": "expression"
|
|
5293
|
+
}
|
|
5294
|
+
},
|
|
5295
|
+
{
|
|
5296
|
+
"name": "ok-button-props",
|
|
5297
|
+
"description": "Props of confirm button",
|
|
5298
|
+
"value": {
|
|
5299
|
+
"type": "ButtonProps",
|
|
5300
|
+
"kind": "expression"
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
{
|
|
5304
|
+
"name": "cancel-button-props",
|
|
5305
|
+
"description": "Props of cancel button",
|
|
5306
|
+
"value": {
|
|
5307
|
+
"type": "ButtonProps",
|
|
5308
|
+
"kind": "expression"
|
|
5309
|
+
}
|
|
5310
|
+
},
|
|
5311
|
+
{
|
|
5312
|
+
"name": "footer",
|
|
5313
|
+
"description": "Whether to show the footer",
|
|
5314
|
+
"value": {
|
|
5315
|
+
"type": "boolean",
|
|
5316
|
+
"kind": "expression"
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
"name": "render-to-body",
|
|
5321
|
+
"description": "Whether the modal is mounted under the `body` element",
|
|
5322
|
+
"value": {
|
|
5323
|
+
"type": "boolean",
|
|
5324
|
+
"kind": "expression"
|
|
5325
|
+
}
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
"name": "popup-container",
|
|
5329
|
+
"description": "Mount container for modal",
|
|
5330
|
+
"value": {
|
|
5331
|
+
"type": "string | HTMLElement",
|
|
5332
|
+
"kind": "expression"
|
|
5333
|
+
}
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
"name": "mask-style",
|
|
5337
|
+
"description": "Mask style",
|
|
5338
|
+
"value": {
|
|
5339
|
+
"type": "CSSProperties",
|
|
5340
|
+
"kind": "expression"
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
{
|
|
5344
|
+
"name": "modal-class",
|
|
5345
|
+
"description": "The classname of the modal",
|
|
5346
|
+
"value": {
|
|
5347
|
+
"type": "string | any[]",
|
|
5348
|
+
"kind": "expression"
|
|
5349
|
+
}
|
|
5350
|
+
},
|
|
5351
|
+
{
|
|
5352
|
+
"name": "modal-style",
|
|
5353
|
+
"description": "Modal style",
|
|
5354
|
+
"value": {
|
|
5355
|
+
"type": "CSSProperties",
|
|
5356
|
+
"kind": "expression"
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
"name": "on-before-ok",
|
|
5361
|
+
"description": "The callback function before the ok event is triggered. If false is returned, subsequent events will not be triggered, and done can also be used to close asynchronously.",
|
|
5362
|
+
"value": {
|
|
5363
|
+
"type": "(done: (closed: boolean) => void) => void | boolean | Promise<void | boolean>",
|
|
5364
|
+
"kind": "expression"
|
|
5365
|
+
}
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"name": "on-before-cancel",
|
|
5369
|
+
"description": "The callback function before the cancel event is triggered. If it returns false, no subsequent events will be triggered.",
|
|
5370
|
+
"value": {
|
|
5371
|
+
"type": "() => boolean",
|
|
5372
|
+
"kind": "expression"
|
|
5373
|
+
}
|
|
5374
|
+
},
|
|
5375
|
+
{
|
|
5376
|
+
"name": "esc-to-close",
|
|
5377
|
+
"description": "Whether to support the ESC key to close the dialog",
|
|
5378
|
+
"value": {
|
|
5379
|
+
"type": "boolean",
|
|
5380
|
+
"kind": "expression"
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
{
|
|
5384
|
+
"name": "draggable",
|
|
5385
|
+
"description": "Whether to support drag",
|
|
5386
|
+
"value": {
|
|
5387
|
+
"type": "boolean",
|
|
5388
|
+
"kind": "expression"
|
|
5389
|
+
}
|
|
5390
|
+
},
|
|
5391
|
+
{
|
|
5392
|
+
"name": "fullscreen",
|
|
5393
|
+
"description": "Whether to enable full screen",
|
|
5394
|
+
"value": {
|
|
5395
|
+
"type": "boolean",
|
|
5396
|
+
"kind": "expression"
|
|
5397
|
+
}
|
|
5398
|
+
},
|
|
5399
|
+
{
|
|
5400
|
+
"name": "mask-animation-name",
|
|
5401
|
+
"description": "Mask layer animation name",
|
|
5402
|
+
"value": {
|
|
5403
|
+
"type": "string",
|
|
5404
|
+
"kind": "expression"
|
|
5405
|
+
}
|
|
5406
|
+
},
|
|
5407
|
+
{
|
|
5408
|
+
"name": "modal-animation-name",
|
|
5409
|
+
"description": "Modal animation name",
|
|
5410
|
+
"value": {
|
|
5411
|
+
"type": "string",
|
|
5412
|
+
"kind": "expression"
|
|
5413
|
+
}
|
|
5414
|
+
},
|
|
5415
|
+
{
|
|
5416
|
+
"name": "body-class",
|
|
5417
|
+
"description": "The classname of the modal",
|
|
5418
|
+
"value": {
|
|
5419
|
+
"type": "string | any[]",
|
|
5420
|
+
"kind": "expression"
|
|
5421
|
+
}
|
|
5422
|
+
},
|
|
5423
|
+
{
|
|
5424
|
+
"name": "body-style",
|
|
5425
|
+
"description": "Modal style",
|
|
5426
|
+
"value": {
|
|
5427
|
+
"type": "StyleValue",
|
|
5428
|
+
"kind": "expression"
|
|
5429
|
+
}
|
|
5430
|
+
},
|
|
5431
|
+
{
|
|
5432
|
+
"name": "hide-title",
|
|
5433
|
+
"description": "Whether to hide the title",
|
|
5434
|
+
"value": {
|
|
5435
|
+
"type": "boolean",
|
|
5436
|
+
"kind": "expression"
|
|
5437
|
+
}
|
|
5438
|
+
}
|
|
5439
|
+
],
|
|
5440
|
+
"events": [
|
|
5441
|
+
{
|
|
5442
|
+
"name": "ok",
|
|
5443
|
+
"description": "Triggered when the OK button is clicked"
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
"name": "cancel",
|
|
5447
|
+
"description": "Triggered when the cancel/close button is clicked"
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
"name": "open",
|
|
5451
|
+
"description": "Triggered after the modal is opened (the animation ends)"
|
|
5452
|
+
},
|
|
5453
|
+
{
|
|
5454
|
+
"name": "close",
|
|
5455
|
+
"description": "Triggered after the modal is closed (the animation ends)"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"name": "before-open",
|
|
5459
|
+
"description": "Triggered before dialog is opened"
|
|
5460
|
+
},
|
|
5461
|
+
{
|
|
5462
|
+
"name": "before-close",
|
|
5463
|
+
"description": "Triggered before dialog is closed"
|
|
5464
|
+
}
|
|
5465
|
+
],
|
|
5466
|
+
"slots": []
|
|
5467
|
+
},
|
|
5156
5468
|
{
|
|
5157
5469
|
"name": "sd-overflow-list",
|
|
5158
5470
|
"attributes": [
|