@sdata/web-vue 3.19.0 → 3.20.0

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.
Files changed (57) hide show
  1. package/dist/sd.css +11 -0
  2. package/dist/sd.min.css +1 -1
  3. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +6 -4
  4. package/es/basic-crud-table/types.d.ts +2 -0
  5. package/es/card/card.d.ts +22 -0
  6. package/es/card/card.js +11 -2
  7. package/es/card/index.d.ts +39 -0
  8. package/es/cascader/base-cascader-panel.d.ts +3 -0
  9. package/es/cascader/base-cascader-panel.js +2 -1
  10. package/es/cascader/cascader-search-panel.d.ts +3 -0
  11. package/es/cascader/cascader-search-panel.js +2 -1
  12. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +10 -2
  13. package/es/cascader/types.d.ts +2 -0
  14. package/es/config-provider/config-provider.vue.d.ts +67 -0
  15. package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +67 -1
  16. package/es/config-provider/context.d.ts +12 -0
  17. package/es/config-provider/index.d.ts +99 -0
  18. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +1 -1
  19. package/es/index.css +11 -0
  20. package/es/index.d.ts +2 -2
  21. package/es/list/index.d.ts +9 -0
  22. package/es/list/list.d.ts +7 -0
  23. package/es/list/list.js +8 -2
  24. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +1 -1
  25. package/es/qr-code/index.d.ts +18 -12
  26. package/es/qr-code/qr-code.vue.d.ts +5 -3
  27. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +5 -2
  28. package/es/select/index.d.ts +9 -0
  29. package/es/select/select-dropdown.vue.d.ts +3 -0
  30. package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +2 -4
  31. package/es/select/select.d.ts +7 -0
  32. package/es/select/select.js +10 -1
  33. package/es/sender/index.d.ts +1 -1
  34. package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +117 -93
  35. package/es/sender/style/index.css +11 -0
  36. package/es/sender/style/index.scss +13 -0
  37. package/es/sender/types.d.ts +60 -3
  38. package/es/sender/use-speech.d.ts +12 -2
  39. package/es/sender/use-speech.js +293 -75
  40. package/es/spin/index.d.ts +15 -0
  41. package/es/spin/spin.d.ts +9 -0
  42. package/es/spin/spin.js +72 -10
  43. package/es/table/index.d.ts +51 -6
  44. package/es/table/interface.d.ts +3 -0
  45. package/es/table/table.d.ts +22 -3
  46. package/es/table/table.js +7 -2
  47. package/es/timeline/index.d.ts +39 -0
  48. package/es/timeline/timeline.d.ts +22 -0
  49. package/es/timeline/timeline.js +11 -2
  50. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +9 -5
  51. package/es/toolbar/types.d.ts +2 -0
  52. package/es/tree-select/tree-select.vue.d.ts +7 -0
  53. package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +7 -1
  54. package/json/vetur-attributes.json +63 -3
  55. package/json/vetur-tags.json +20 -0
  56. package/json/web-types.json +163 -3
  57. package/package.json +1 -1
@@ -359,6 +359,9 @@
359
359
  "description": "Loading status",
360
360
  "type": "boolean"
361
361
  },
362
+ "sd-card/spin-props": {
363
+ "description": "Props passed to the loading Spin"
364
+ },
362
365
  "sd-card/hoverable": {
363
366
  "description": "Can be hovered",
364
367
  "type": "boolean"
@@ -680,6 +683,39 @@
680
683
  "sd-config-provider/color-picker": {
681
684
  "description": "Default config for ColorPicker"
682
685
  },
686
+ "sd-config-provider/spin-props": {
687
+ "description": "Default props for Spin"
688
+ },
689
+ "sd-config-provider/basic-crud-table-spin-props": {
690
+ "description": "Default props for Spin inside BasicCrudTable"
691
+ },
692
+ "sd-config-provider/card-spin-props": {
693
+ "description": "Default props for Spin inside Card"
694
+ },
695
+ "sd-config-provider/cascader-spin-props": {
696
+ "description": "Default props for Spin inside Cascader"
697
+ },
698
+ "sd-config-provider/list-spin-props": {
699
+ "description": "Default props for Spin inside List"
700
+ },
701
+ "sd-config-provider/qr-code-spin-props": {
702
+ "description": "Default props for Spin inside QrCode"
703
+ },
704
+ "sd-config-provider/select-spin-props": {
705
+ "description": "Default props for Spin inside Select"
706
+ },
707
+ "sd-config-provider/table-spin-props": {
708
+ "description": "Default props for Spin inside Table, taking precedence over `spinProps`"
709
+ },
710
+ "sd-config-provider/timeline-spin-props": {
711
+ "description": "Default props for Spin inside Timeline"
712
+ },
713
+ "sd-config-provider/toolbar-spin-props": {
714
+ "description": "Default props for Spin inside Toolbar"
715
+ },
716
+ "sd-config-provider/tree-select-spin-props": {
717
+ "description": "Default props for Spin inside TreeSelect"
718
+ },
683
719
  "sd-config-provider/json-form": {
684
720
  "description": "Default config for JsonForm"
685
721
  },
@@ -2125,6 +2161,9 @@
2125
2161
  "description": "Whether it is loading state",
2126
2162
  "type": "boolean"
2127
2163
  },
2164
+ "sd-list/spin-props": {
2165
+ "description": "Props passed to the loading Spin"
2166
+ },
2128
2167
  "sd-list/hoverable": {
2129
2168
  "description": "Whether to display the selected style",
2130
2169
  "type": "boolean"
@@ -2940,6 +2979,9 @@
2940
2979
  "description": "Whether the maximum width is limited to the parent container width",
2941
2980
  "type": "boolean"
2942
2981
  },
2982
+ "sd-select/spin-props": {
2983
+ "description": "Props passed to the loading Spin in the dropdown"
2984
+ },
2943
2985
  "sd-select/readonly": {
2944
2986
  "description": "Whether it is read-only",
2945
2987
  "type": "boolean|string"
@@ -2993,7 +3035,7 @@
2993
3035
  "description": "Structured slot configuration"
2994
3036
  },
2995
3037
  "sd-sender/allow-speech": {
2996
- "description": "Speech input configuration"
3038
+ "description": "AudioWorklet capture, streaming transport, or controlled recording configuration"
2997
3039
  },
2998
3040
  "sd-sender/auto-size": {
2999
3041
  "description": "Textarea auto-size configuration"
@@ -3009,6 +3051,9 @@
3009
3051
  "description": "Whether to show the default action area",
3010
3052
  "type": "boolean"
3011
3053
  },
3054
+ "sd-sender/suffix-placement": {
3055
+ "description": "Render location of the suffix action area"
3056
+ },
3012
3057
  "sd-sender/components": {
3013
3058
  "description": "Replace internal input components"
3014
3059
  },
@@ -3123,6 +3168,10 @@
3123
3168
  "description": "Whether it is loading state (Only effective in container mode)",
3124
3169
  "type": "boolean"
3125
3170
  },
3171
+ "sd-spin/delay": {
3172
+ "description": "Delay before showing the loading indicator. Uses 400ms when set to `true`",
3173
+ "type": "boolean|number"
3174
+ },
3126
3175
  "sd-spin/dot": {
3127
3176
  "description": "Whether to use dot type animation",
3128
3177
  "type": "boolean"
@@ -3438,8 +3487,10 @@
3438
3487
  "type": "boolean"
3439
3488
  },
3440
3489
  "sd-table/loading": {
3441
- "description": "Whether it is loading state",
3442
- "type": "boolean|object"
3490
+ "description": "Whether it is loading state"
3491
+ },
3492
+ "sd-table/spin-props": {
3493
+ "description": "Props passed to the loading Spin"
3443
3494
  },
3444
3495
  "sd-table/row-selection": {
3445
3496
  "description": "Table row selector configuration"
@@ -3988,6 +4039,9 @@
3988
4039
  "description": "Whether to display ghost nodes. When set to true, only ghost nodes are displayed. When passed to ReactNode, it will be displayed as node content",
3989
4040
  "type": "boolean|string"
3990
4041
  },
4042
+ "sd-timeline/spin-props": {
4043
+ "description": "Props passed to the pending node Spin"
4044
+ },
3991
4045
  "sd-timeline/label-position": {
3992
4046
  "description": "Position of label text"
3993
4047
  },
@@ -4004,6 +4058,9 @@
4004
4058
  "description": "Whether the toolbar is loading (an overlay over the content)",
4005
4059
  "type": "boolean"
4006
4060
  },
4061
+ "sd-toolbar/spin-props": {
4062
+ "description": "Props passed to the loading Spin"
4063
+ },
4007
4064
  "sd-toolbar/show-search": {
4008
4065
  "description": "Whether to show the search button",
4009
4066
  "type": "boolean"
@@ -4189,6 +4246,9 @@
4189
4246
  "description": "Whether it is loading state",
4190
4247
  "type": "boolean"
4191
4248
  },
4249
+ "sd-tree-select/spin-props": {
4250
+ "description": "Props passed to the loading Spin"
4251
+ },
4192
4252
  "sd-tree-select/error": {
4193
4253
  "description": "Whether it is an error state",
4194
4254
  "type": "boolean"
@@ -165,6 +165,7 @@
165
165
  "attributes": [
166
166
  "bordered",
167
167
  "loading",
168
+ "spin-props",
168
169
  "hoverable",
169
170
  "size",
170
171
  "header-style",
@@ -305,6 +306,17 @@
305
306
  "drawer",
306
307
  "pagination",
307
308
  "color-picker",
309
+ "spin-props",
310
+ "basic-crud-table-spin-props",
311
+ "card-spin-props",
312
+ "cascader-spin-props",
313
+ "list-spin-props",
314
+ "qr-code-spin-props",
315
+ "select-spin-props",
316
+ "table-spin-props",
317
+ "timeline-spin-props",
318
+ "toolbar-spin-props",
319
+ "tree-select-spin-props",
308
320
  "json-form",
309
321
  "theme",
310
322
  "theme-mode"
@@ -872,6 +884,7 @@
872
884
  "bordered",
873
885
  "split",
874
886
  "loading",
887
+ "spin-props",
875
888
  "hoverable",
876
889
  "pagination-props",
877
890
  "grid-props",
@@ -1197,6 +1210,7 @@
1197
1210
  "attributes": [
1198
1211
  "fit-width",
1199
1212
  "max-wfull",
1213
+ "spin-props",
1200
1214
  "readonly"
1201
1215
  ]
1202
1216
  },
@@ -1231,6 +1245,7 @@
1231
1245
  "skill",
1232
1246
  "placeholder",
1233
1247
  "show-actions",
1248
+ "suffix-placement",
1234
1249
  "components",
1235
1250
  "class-names",
1236
1251
  "styles"
@@ -1286,6 +1301,7 @@
1286
1301
  "attributes": [
1287
1302
  "size",
1288
1303
  "loading",
1304
+ "delay",
1289
1305
  "dot",
1290
1306
  "tip",
1291
1307
  "hide-icon"
@@ -1403,6 +1419,7 @@
1403
1419
  "size",
1404
1420
  "table-layout-fixed",
1405
1421
  "loading",
1422
+ "spin-props",
1406
1423
  "row-selection",
1407
1424
  "expandable",
1408
1425
  "scroll",
@@ -1613,6 +1630,7 @@
1613
1630
  "direction",
1614
1631
  "mode",
1615
1632
  "pending",
1633
+ "spin-props",
1616
1634
  "label-position"
1617
1635
  ]
1618
1636
  },
@@ -1622,6 +1640,7 @@
1622
1640
  "reset",
1623
1641
  "schemas",
1624
1642
  "loading",
1643
+ "spin-props",
1625
1644
  "show-search",
1626
1645
  "show-reset",
1627
1646
  "show-actions",
@@ -1689,6 +1708,7 @@
1689
1708
  "disabled",
1690
1709
  "readonly",
1691
1710
  "loading",
1711
+ "spin-props",
1692
1712
  "error",
1693
1713
  "size",
1694
1714
  "border",
@@ -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": "3.18.0",
5
+ "version": "3.19.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -929,6 +929,14 @@
929
929
  "kind": "expression"
930
930
  }
931
931
  },
932
+ {
933
+ "name": "spin-props",
934
+ "description": "Props passed to the loading Spin",
935
+ "value": {
936
+ "type": "SpinProps",
937
+ "kind": "expression"
938
+ }
939
+ },
932
940
  {
933
941
  "name": "hoverable",
934
942
  "description": "Can be hovered",
@@ -1776,6 +1784,94 @@
1776
1784
  "kind": "expression"
1777
1785
  }
1778
1786
  },
1787
+ {
1788
+ "name": "spin-props",
1789
+ "description": "Default props for Spin",
1790
+ "value": {
1791
+ "type": "SpinProps",
1792
+ "kind": "expression"
1793
+ }
1794
+ },
1795
+ {
1796
+ "name": "basic-crud-table-spin-props",
1797
+ "description": "Default props for Spin inside BasicCrudTable",
1798
+ "value": {
1799
+ "type": "SpinProps",
1800
+ "kind": "expression"
1801
+ }
1802
+ },
1803
+ {
1804
+ "name": "card-spin-props",
1805
+ "description": "Default props for Spin inside Card",
1806
+ "value": {
1807
+ "type": "SpinProps",
1808
+ "kind": "expression"
1809
+ }
1810
+ },
1811
+ {
1812
+ "name": "cascader-spin-props",
1813
+ "description": "Default props for Spin inside Cascader",
1814
+ "value": {
1815
+ "type": "SpinProps",
1816
+ "kind": "expression"
1817
+ }
1818
+ },
1819
+ {
1820
+ "name": "list-spin-props",
1821
+ "description": "Default props for Spin inside List",
1822
+ "value": {
1823
+ "type": "SpinProps",
1824
+ "kind": "expression"
1825
+ }
1826
+ },
1827
+ {
1828
+ "name": "qr-code-spin-props",
1829
+ "description": "Default props for Spin inside QrCode",
1830
+ "value": {
1831
+ "type": "SpinProps",
1832
+ "kind": "expression"
1833
+ }
1834
+ },
1835
+ {
1836
+ "name": "select-spin-props",
1837
+ "description": "Default props for Spin inside Select",
1838
+ "value": {
1839
+ "type": "SpinProps",
1840
+ "kind": "expression"
1841
+ }
1842
+ },
1843
+ {
1844
+ "name": "table-spin-props",
1845
+ "description": "Default props for Spin inside Table, taking precedence over `spinProps`",
1846
+ "value": {
1847
+ "type": "SpinProps",
1848
+ "kind": "expression"
1849
+ }
1850
+ },
1851
+ {
1852
+ "name": "timeline-spin-props",
1853
+ "description": "Default props for Spin inside Timeline",
1854
+ "value": {
1855
+ "type": "SpinProps",
1856
+ "kind": "expression"
1857
+ }
1858
+ },
1859
+ {
1860
+ "name": "toolbar-spin-props",
1861
+ "description": "Default props for Spin inside Toolbar",
1862
+ "value": {
1863
+ "type": "SpinProps",
1864
+ "kind": "expression"
1865
+ }
1866
+ },
1867
+ {
1868
+ "name": "tree-select-spin-props",
1869
+ "description": "Default props for Spin inside TreeSelect",
1870
+ "value": {
1871
+ "type": "SpinProps",
1872
+ "kind": "expression"
1873
+ }
1874
+ },
1779
1875
  {
1780
1876
  "name": "json-form",
1781
1877
  "description": "Default config for JsonForm",
@@ -5132,6 +5228,14 @@
5132
5228
  "kind": "expression"
5133
5229
  }
5134
5230
  },
5231
+ {
5232
+ "name": "spin-props",
5233
+ "description": "Props passed to the loading Spin",
5234
+ "value": {
5235
+ "type": "SpinProps",
5236
+ "kind": "expression"
5237
+ }
5238
+ },
5135
5239
  {
5136
5240
  "name": "hoverable",
5137
5241
  "description": "Whether to display the selected style",
@@ -7158,6 +7262,14 @@
7158
7262
  "kind": "expression"
7159
7263
  }
7160
7264
  },
7265
+ {
7266
+ "name": "spin-props",
7267
+ "description": "Props passed to the loading Spin in the dropdown",
7268
+ "value": {
7269
+ "type": "SpinProps",
7270
+ "kind": "expression"
7271
+ }
7272
+ },
7161
7273
  {
7162
7274
  "name": "readonly",
7163
7275
  "description": "Whether it is read-only",
@@ -7299,7 +7411,7 @@
7299
7411
  },
7300
7412
  {
7301
7413
  "name": "allow-speech",
7302
- "description": "Speech input configuration",
7414
+ "description": "AudioWorklet capture, streaming transport, or controlled recording configuration",
7303
7415
  "value": {
7304
7416
  "type": "SenderAllowSpeech",
7305
7417
  "kind": "expression"
@@ -7337,6 +7449,14 @@
7337
7449
  "kind": "expression"
7338
7450
  }
7339
7451
  },
7452
+ {
7453
+ "name": "suffix-placement",
7454
+ "description": "Render location of the suffix action area",
7455
+ "value": {
7456
+ "type": "SenderSuffixPlacement",
7457
+ "kind": "expression"
7458
+ }
7459
+ },
7340
7460
  {
7341
7461
  "name": "components",
7342
7462
  "description": "Replace internal input components",
@@ -7629,6 +7749,14 @@
7629
7749
  "kind": "expression"
7630
7750
  }
7631
7751
  },
7752
+ {
7753
+ "name": "delay",
7754
+ "description": "Delay before showing the loading indicator. Uses 400ms when set to `true`",
7755
+ "value": {
7756
+ "type": "boolean|number",
7757
+ "kind": "expression"
7758
+ }
7759
+ },
7632
7760
  {
7633
7761
  "name": "dot",
7634
7762
  "description": "Whether to use dot type animation",
@@ -8222,7 +8350,15 @@
8222
8350
  "name": "loading",
8223
8351
  "description": "Whether it is loading state",
8224
8352
  "value": {
8225
- "type": "boolean|object",
8353
+ "type": "boolean | SpinProps",
8354
+ "kind": "expression"
8355
+ }
8356
+ },
8357
+ {
8358
+ "name": "spin-props",
8359
+ "description": "Props passed to the loading Spin",
8360
+ "value": {
8361
+ "type": "SpinProps",
8226
8362
  "kind": "expression"
8227
8363
  }
8228
8364
  },
@@ -9677,6 +9813,14 @@
9677
9813
  "kind": "expression"
9678
9814
  }
9679
9815
  },
9816
+ {
9817
+ "name": "spin-props",
9818
+ "description": "Props passed to the pending node Spin",
9819
+ "value": {
9820
+ "type": "SpinProps",
9821
+ "kind": "expression"
9822
+ }
9823
+ },
9680
9824
  {
9681
9825
  "name": "label-position",
9682
9826
  "description": "Position of label text",
@@ -9713,6 +9857,14 @@
9713
9857
  "kind": "expression"
9714
9858
  }
9715
9859
  },
9860
+ {
9861
+ "name": "spin-props",
9862
+ "description": "Props passed to the loading Spin",
9863
+ "value": {
9864
+ "type": "SpinProps",
9865
+ "kind": "expression"
9866
+ }
9867
+ },
9716
9868
  {
9717
9869
  "name": "show-search",
9718
9870
  "description": "Whether to show the search button",
@@ -10111,6 +10263,14 @@
10111
10263
  "kind": "expression"
10112
10264
  }
10113
10265
  },
10266
+ {
10267
+ "name": "spin-props",
10268
+ "description": "Props passed to the loading Spin",
10269
+ "value": {
10270
+ "type": "SpinProps",
10271
+ "kind": "expression"
10272
+ }
10273
+ },
10114
10274
  {
10115
10275
  "name": "error",
10116
10276
  "description": "Whether it is an error state",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdata/web-vue",
3
- "version": "3.19.0",
3
+ "version": "3.20.0",
4
4
  "description": "SD Design Vue: A Vue.js 3 UI Library",
5
5
  "keywords": [
6
6
  "sd",