@geelato/web-vue 2.57.0 → 2.57.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.
Files changed (77) hide show
  1. package/LICENSE +21 -0
  2. package/dist/arco-vue.js +2 -0
  3. package/dist/arco-vue.js.map +1 -1
  4. package/dist/arco-vue.min.js +1 -1
  5. package/dist/arco-vue.min.js.map +1 -1
  6. package/es/_components/input-label/input-label.d.ts +3 -3
  7. package/es/_components/picker/input-range.d.ts +4 -4
  8. package/es/_components/picker/input.d.ts +2 -2
  9. package/es/_components/select-view/select-view.d.ts +1 -1
  10. package/es/_components/virtual-list-v2/virtual-list.d.ts +3 -3
  11. package/es/auto-complete/auto-complete.d.ts +3 -3
  12. package/es/auto-complete/index.d.ts +9 -9
  13. package/es/calendar/calendar.d.ts +1 -1
  14. package/es/calendar/index.d.ts +3 -3
  15. package/es/cascader/cascader-panel.d.ts +1 -1
  16. package/es/cascader/cascader.d.ts +5 -5
  17. package/es/cascader/index.d.ts +15 -15
  18. package/es/checkbox/checkbox-group.d.ts +2 -2
  19. package/es/checkbox/checkbox.d.ts +1 -1
  20. package/es/checkbox/index.d.ts +5 -5
  21. package/es/color-picker/color-picker.d.ts +1 -1
  22. package/es/color-picker/index.d.ts +3 -3
  23. package/es/date-picker/index.d.ts +9 -9
  24. package/es/date-picker/picker.d.ts +7 -7
  25. package/es/date-picker/range-picker.d.ts +9 -9
  26. package/es/form/form-item.d.ts +3 -3
  27. package/es/form/index.d.ts +3 -3
  28. package/es/input/index.d.ts +12 -12
  29. package/es/input/input-password.d.ts +3 -3
  30. package/es/input/input.d.ts +3 -3
  31. package/es/input-number/index.d.ts +3 -3
  32. package/es/input-number/input-number.d.ts +1 -1
  33. package/es/input-number/input-number.js +2 -0
  34. package/es/input-tag/index.d.ts +21 -21
  35. package/es/input-tag/input-tag.d.ts +7 -7
  36. package/es/mention/index.d.ts +9 -9
  37. package/es/mention/mention.d.ts +3 -3
  38. package/es/pagination/page-jumper.d.ts +3 -3
  39. package/es/pagination/page-options.d.ts +16 -16
  40. package/es/radio/index.d.ts +8 -8
  41. package/es/radio/radio-group.d.ts +2 -2
  42. package/es/radio/radio.d.ts +2 -2
  43. package/es/rate/index.d.ts +9 -9
  44. package/es/rate/rate.d.ts +3 -3
  45. package/es/select/index.d.ts +16 -16
  46. package/es/select/option.d.ts +5 -5
  47. package/es/select/select.d.ts +4 -4
  48. package/es/slider/index.d.ts +12 -12
  49. package/es/slider/slider-input.d.ts +3 -3
  50. package/es/slider/slider.d.ts +5 -5
  51. package/es/switch/index.d.ts +3 -3
  52. package/es/switch/switch.d.ts +1 -1
  53. package/es/table/table-operation-td.d.ts +13 -13
  54. package/es/textarea/index.d.ts +6 -6
  55. package/es/textarea/textarea.d.ts +2 -2
  56. package/es/time-picker/index.d.ts +18 -18
  57. package/es/time-picker/time-picker.d.ts +8 -8
  58. package/es/transfer/index.d.ts +16 -16
  59. package/es/transfer/transfer-view.d.ts +5 -5
  60. package/es/transfer/transfer.d.ts +7 -7
  61. package/es/tree/base-node.d.ts +5 -5
  62. package/es/tree/index.d.ts +6 -6
  63. package/es/tree/transition-node-list.d.ts +5 -5
  64. package/es/tree/tree.d.ts +3 -3
  65. package/es/tree-select/index.d.ts +17 -17
  66. package/es/tree-select/panel.d.ts +6 -6
  67. package/es/tree-select/tree-select.d.ts +8 -8
  68. package/es/typography/edit-content.d.ts +36 -36
  69. package/es/upload/index.d.ts +3 -3
  70. package/es/upload/upload.d.ts +1 -1
  71. package/es/verification-code/index.d.ts +6 -6
  72. package/es/verification-code/verification-code.d.ts +2 -2
  73. package/json/vetur-attributes.json +2194 -2194
  74. package/json/vetur-tags.json +768 -768
  75. package/json/web-types.json +4765 -4765
  76. package/lib/input-number/input-number.js +2 -0
  77. package/package.json +24 -25
@@ -214,6 +214,8 @@ var _InputNumber = vue.defineComponent({
214
214
  };
215
215
  const handleInput = (value, ev) => {
216
216
  var _a2, _b, _c, _d;
217
+ if (props.readOnly)
218
+ return;
217
219
  value = value.trim().replace(/。/g, ".");
218
220
  value = (_b = (_a2 = props.parser) == null ? void 0 : _a2.call(props, value)) != null ? _b : value;
219
221
  if (is.isNumber(Number(value)) || /^(\.|-)$/.test(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geelato/web-vue",
3
- "version": "2.57.0",
3
+ "version": "2.57.1",
4
4
  "description": "Arco Design Vue 2.0: A Vue.js 3 UI Library",
5
5
  "keywords": [
6
6
  "arco",
@@ -29,25 +29,6 @@
29
29
  "lib/**/style/*",
30
30
  "*.less"
31
31
  ],
32
- "scripts": {
33
- "init": "pnpm run icongen && pnpm run lessgen && arco-vue-scripts build:component",
34
- "start": "arco-vue-scripts dev:component",
35
- "docgen": "arco-vue-scripts docgen",
36
- "icongen": "arco-vue-scripts icongen && pnpm run dtsgen:icon",
37
- "lessgen": "arco-vue-scripts lessgen",
38
- "jsongen": "arco-vue-scripts jsongen",
39
- "build": "pnpm run build:component && pnpm run build:style && pnpm run dtsgen && pnpm run jsongen",
40
- "build:component": "arco-vue-scripts build:component -u",
41
- "build:module": "arco-vue-scripts build:component",
42
- "build:style": "arco-vue-scripts build:style",
43
- "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
44
- "dtsgen:icon": "arco-vue-scripts dtsgen 'components/icon/**/*.{ts,tsx,vue}' -o 'components/icon/@types'",
45
- "test": "arco-vue-scripts test --coverage",
46
- "test:update": "arco-vue-scripts test --coverage -u",
47
- "test:screenshot": "arco-vue-scripts test:screenshot -o ./__screenshots__/",
48
- "changelog": "arco-vue-scripts changelog",
49
- "lint-staged": "npx lint-staged"
50
- },
51
32
  "peerDependencies": {
52
33
  "vue": ">=3.1.0"
53
34
  },
@@ -62,7 +43,6 @@
62
43
  ]
63
44
  },
64
45
  "devDependencies": {
65
- "@arco-design/arco-vue-scripts": "workspace:*",
66
46
  "@babel/core": "^7.26.9",
67
47
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
48
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
@@ -89,7 +69,8 @@
89
69
  "stylelint-config-standard": "^20.0.0",
90
70
  "stylelint-order": "^4.1.0",
91
71
  "typescript": "^4.9.5",
92
- "vue-jest": "5.0.0-alpha.10"
72
+ "vue-jest": "5.0.0-alpha.10",
73
+ "@arco-design/arco-vue-scripts": "0.2.10"
93
74
  },
94
75
  "dependencies": {
95
76
  "@arco-design/color": "^0.4.0",
@@ -106,9 +87,27 @@
106
87
  "tags": "json/vetur-tags.json",
107
88
  "attributes": "json/vetur-attributes.json"
108
89
  },
109
- "web-types": "json/web-types.json"
110
- ,
90
+ "web-types": "json/web-types.json",
111
91
  "publishConfig": {
112
92
  "access": "public"
93
+ },
94
+ "scripts": {
95
+ "init": "pnpm run icongen && pnpm run lessgen && arco-vue-scripts build:component",
96
+ "start": "arco-vue-scripts dev:component",
97
+ "docgen": "arco-vue-scripts docgen",
98
+ "icongen": "arco-vue-scripts icongen && pnpm run dtsgen:icon",
99
+ "lessgen": "arco-vue-scripts lessgen",
100
+ "jsongen": "arco-vue-scripts jsongen",
101
+ "build": "pnpm run build:component && pnpm run build:style && pnpm run dtsgen && pnpm run jsongen",
102
+ "build:component": "arco-vue-scripts build:component -u",
103
+ "build:module": "arco-vue-scripts build:component",
104
+ "build:style": "arco-vue-scripts build:style",
105
+ "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
106
+ "dtsgen:icon": "arco-vue-scripts dtsgen 'components/icon/**/*.{ts,tsx,vue}' -o 'components/icon/@types'",
107
+ "test": "arco-vue-scripts test --coverage",
108
+ "test:update": "arco-vue-scripts test --coverage -u",
109
+ "test:screenshot": "arco-vue-scripts test:screenshot -o ./__screenshots__/",
110
+ "changelog": "arco-vue-scripts changelog",
111
+ "lint-staged": "npx lint-staged"
113
112
  }
114
- }
113
+ }