@sdata/web-vue 3.27.0 → 3.29.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 (45) hide show
  1. package/dist/sd.css +5 -1
  2. package/dist/sd.min.css +2 -2
  3. package/es/_utils/grapheme.d.ts +5 -0
  4. package/es/_utils/grapheme.js +93 -0
  5. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +40 -25
  6. package/es/basic-crud-table/index.d.ts +1 -1
  7. package/es/basic-crud-table/types.d.ts +9 -1
  8. package/es/components.d.ts +1 -0
  9. package/es/index.css +5 -1
  10. package/es/index.d.ts +3 -0
  11. package/es/index.js +4 -1
  12. package/es/index.scss +1 -0
  13. package/es/input/input.js +5 -6
  14. package/es/input-mask/index.d.ts +120 -0
  15. package/es/input-mask/index.js +12 -0
  16. package/es/input-mask/input-mask.js +5 -0
  17. package/es/input-mask/input-mask.vue.d.ts +49 -0
  18. package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +346 -0
  19. package/es/input-mask/mask-engine.d.ts +18 -0
  20. package/es/input-mask/mask-engine.js +176 -0
  21. package/es/input-mask/presets.d.ts +2 -0
  22. package/es/input-mask/presets.js +220 -0
  23. package/es/input-mask/style/css.js +1 -0
  24. package/es/input-mask/style/index.css +20 -0
  25. package/es/input-mask/style/index.d.ts +2 -0
  26. package/es/input-mask/style/index.js +1 -0
  27. package/es/input-mask/style/index.scss +10 -0
  28. package/es/input-mask/style/token.scss +5 -0
  29. package/es/input-mask/types.d.ts +49 -0
  30. package/es/sd-vue.js +2 -0
  31. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +5 -6
  32. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +8 -10
  33. package/es/toolbar/types.d.ts +3 -0
  34. package/es/upload/context.d.ts +1 -0
  35. package/es/upload/index.d.ts +15 -0
  36. package/es/upload/style/index.css +1 -1
  37. package/es/upload/style/index.scss +1 -1
  38. package/es/upload/upload-picture-item.js +15 -6
  39. package/es/upload/upload-progress.js +17 -13
  40. package/es/upload/upload.d.ts +9 -0
  41. package/es/upload/upload.js +10 -1
  42. package/json/vetur-attributes.json +10 -0
  43. package/json/vetur-tags.json +6 -0
  44. package/json/web-types.json +31 -1
  45. package/package.json +1 -1
@@ -60,6 +60,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  type: BooleanConstructor;
61
61
  default: boolean;
62
62
  };
63
+ showStartButton: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
63
67
  showRetryButton: {
64
68
  type: BooleanConstructor;
65
69
  default: boolean;
@@ -192,6 +196,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
196
  type: BooleanConstructor;
193
197
  default: boolean;
194
198
  };
199
+ showStartButton: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
195
203
  showRetryButton: {
196
204
  type: BooleanConstructor;
197
205
  default: boolean;
@@ -265,6 +273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
265
273
  autoUpload: boolean;
266
274
  showFileList: boolean;
267
275
  showRemoveButton: boolean;
276
+ showStartButton: boolean;
268
277
  showRetryButton: boolean;
269
278
  showCancelButton: boolean;
270
279
  showUploadButton: boolean | {
@@ -139,6 +139,14 @@ var upload_default = /* @__PURE__ */ defineComponent({
139
139
  default: true
140
140
  },
141
141
  /**
142
+ * @zh 是否显示开始按钮
143
+ * @en Whether to display the start button
144
+ */
145
+ showStartButton: {
146
+ type: Boolean,
147
+ default: true
148
+ },
149
+ /**
142
150
  * @zh 是否显示重试按钮
143
151
  * @en Whether to display the retry button
144
152
  * @version 2.11.0
@@ -364,7 +372,7 @@ var upload_default = /* @__PURE__ */ defineComponent({
364
372
  * @version 2.43.0
365
373
  */
366
374
  setup(props, { emit, slots }) {
367
- const { fileList, disabled, listType, customIcon, showRetryButton, showCancelButton, showRemoveButton, showPreviewButton, imageLoading, download, showLink } = toRefs(props);
375
+ const { fileList, disabled, listType, customIcon, showStartButton, showRetryButton, showCancelButton, showRemoveButton, showPreviewButton, imageLoading, download, showLink } = toRefs(props);
368
376
  const prefixCls = getPrefixCls("upload");
369
377
  const { mergedDisabled, eventHandlers } = useFormItem({ disabled });
370
378
  const _fileList = ref([]);
@@ -545,6 +553,7 @@ var upload_default = /* @__PURE__ */ defineComponent({
545
553
  listType,
546
554
  iconCls: `${prefixCls}-icon`,
547
555
  showRemoveButton,
556
+ showStartButton,
548
557
  showRetryButton,
549
558
  showCancelButton,
550
559
  showPreviewButton,
@@ -4184,6 +4184,12 @@
4184
4184
  "description": "Whether to show the reset button",
4185
4185
  "type": "boolean"
4186
4186
  },
4187
+ "sd-toolbar/search-btn": {
4188
+ "description": "Props of the search button"
4189
+ },
4190
+ "sd-toolbar/reset-btn": {
4191
+ "description": "Props of the reset button"
4192
+ },
4187
4193
  "sd-toolbar/show-actions": {
4188
4194
  "description": "Whether to show the right-side action area",
4189
4195
  "type": "boolean"
@@ -4904,6 +4910,10 @@
4904
4910
  "description": "Whether to display the remove button",
4905
4911
  "type": "boolean"
4906
4912
  },
4913
+ "sd-upload/show-start-button": {
4914
+ "description": "Whether to display the start button",
4915
+ "type": "boolean"
4916
+ },
4907
4917
  "sd-upload/show-retry-button": {
4908
4918
  "description": "Whether to display the retry button",
4909
4919
  "type": "boolean"
@@ -698,6 +698,9 @@
698
698
  "zoom-rate"
699
699
  ]
700
700
  },
701
+ "sd-input-mask": {
702
+ "attributes": []
703
+ },
701
704
  "sd-input-number": {
702
705
  "attributes": [
703
706
  "change",
@@ -1728,6 +1731,8 @@
1728
1731
  "spin-props",
1729
1732
  "show-search",
1730
1733
  "show-reset",
1734
+ "search-btn",
1735
+ "reset-btn",
1731
1736
  "show-actions",
1732
1737
  "search-text",
1733
1738
  "reset-text",
@@ -1973,6 +1978,7 @@
1973
1978
  "auto-upload",
1974
1979
  "show-file-list",
1975
1980
  "show-remove-button",
1981
+ "show-start-button",
1976
1982
  "show-retry-button",
1977
1983
  "show-cancel-button",
1978
1984
  "show-upload-button",
@@ -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.26.0",
5
+ "version": "3.28.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -4126,6 +4126,12 @@
4126
4126
  ],
4127
4127
  "slots": []
4128
4128
  },
4129
+ {
4130
+ "name": "sd-input-mask",
4131
+ "attributes": [],
4132
+ "events": [],
4133
+ "slots": []
4134
+ },
4129
4135
  {
4130
4136
  "name": "sd-input-number",
4131
4137
  "attributes": [
@@ -10225,6 +10231,22 @@
10225
10231
  "kind": "expression"
10226
10232
  }
10227
10233
  },
10234
+ {
10235
+ "name": "search-btn",
10236
+ "description": "Props of the search button",
10237
+ "value": {
10238
+ "type": "ButtonProps",
10239
+ "kind": "expression"
10240
+ }
10241
+ },
10242
+ {
10243
+ "name": "reset-btn",
10244
+ "description": "Props of the reset button",
10245
+ "value": {
10246
+ "type": "ButtonProps",
10247
+ "kind": "expression"
10248
+ }
10249
+ },
10228
10250
  {
10229
10251
  "name": "show-actions",
10230
10252
  "description": "Whether to show the right-side action area",
@@ -11810,6 +11832,14 @@
11810
11832
  "kind": "expression"
11811
11833
  }
11812
11834
  },
11835
+ {
11836
+ "name": "show-start-button",
11837
+ "description": "Whether to display the start button",
11838
+ "value": {
11839
+ "type": "boolean",
11840
+ "kind": "expression"
11841
+ }
11842
+ },
11813
11843
  {
11814
11844
  "name": "show-retry-button",
11815
11845
  "description": "Whether to display the retry button",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdata/web-vue",
3
- "version": "3.27.0",
3
+ "version": "3.29.0",
4
4
  "description": "SD Design Vue: A Vue.js 3 UI Library",
5
5
  "keywords": [
6
6
  "sd",