@avilang/practical-ui 0.3.42 → 0.3.43

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 (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +49 -49
package/dist/index.js CHANGED
@@ -28977,6 +28977,7 @@ const ai = /* @__PURE__ */ Object.assign({
28977
28977
  showCount: { type: Boolean, default: !1 },
28978
28978
  autofocus: { type: Boolean, default: !1 },
28979
28979
  disabled: { type: Boolean, default: !1 },
28980
+ clearable: { type: Boolean, default: !1 },
28980
28981
  readonly: { type: Boolean, default: !1 },
28981
28982
  trim: { type: Boolean, default: !0 },
28982
28983
  // 默认去除首尾空格
@@ -29025,6 +29026,7 @@ const ai = /* @__PURE__ */ Object.assign({
29025
29026
  autofocus: e.autofocus,
29026
29027
  disabled: e.disabled,
29027
29028
  readonly: e.readonly,
29029
+ clearable: e.clearable,
29028
29030
  onInput: s,
29029
29031
  onBlur: l
29030
29032
  }, xo({ _: 2 }, [
@@ -29035,7 +29037,7 @@ const ai = /* @__PURE__ */ Object.assign({
29035
29037
  ]),
29036
29038
  key: "0"
29037
29039
  } : void 0
29038
- ]), 1032, ["type", "size", "show-password-on", "value", "maxlength", "show-count", "count-graphemes", "placeholder", "autofocus", "disabled", "readonly"]));
29040
+ ]), 1032, ["type", "size", "show-password-on", "value", "maxlength", "show-count", "count-graphemes", "placeholder", "autofocus", "disabled", "readonly", "clearable"]));
29039
29041
  }
29040
29042
  }), Zc = /* @__PURE__ */ Object.assign({
29041
29043
  name: "PSelect",
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "@avilang/practical-ui",
3
- "type": "module",
4
- "version": "0.3.42",
5
- "description": "Practical UI components created based on vue3",
6
- "main": "dist/index.js",
7
- "files": [
8
- "dist"
9
- ],
10
- "scripts": {
11
- "build": "vite build",
12
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix",
13
- "format": "prettier . --write",
14
- "prepare": "cd ../.. && husky packages/components/.husky"
15
- },
16
- "lint-staged": {
17
- "*.{js,jsx,vue}": [
18
- "eslint",
19
- "prettier --check"
20
- ],
21
- "*.{css,less}": "prettier --check"
22
- },
23
- "keywords": [
24
- "naive-ui",
25
- "vue3",
26
- "practical ui"
27
- ],
28
- "peerDependencies": {
29
- "vue": "^3.5.10"
30
- },
31
- "dependencies": {
32
- "grapheme-splitter": "1.0.4",
33
- "naive-ui": "2.41.0",
34
- "vfonts": "0.0.3",
35
- "vue-promised": "2.2.0"
36
- },
37
- "devDependencies": {
38
- "@laynezh/vite-plugin-lib-assets": "^0.5.24",
39
- "@vitejs/plugin-vue": "^5.1.4",
40
- "@vitejs/plugin-vue-jsx": "^4.1.0",
41
- "vite": "^5.4.8"
42
- },
43
- "author": "avilang <1985945885@qq.com> (https://github.com/avilang)",
44
- "repository": {
45
- "type": "git",
46
- "url": "https://github.com/avilang/practical-ui"
47
- },
48
- "license": "MIT"
49
- }
1
+ {
2
+ "name": "@avilang/practical-ui",
3
+ "type": "module",
4
+ "version": "0.3.43",
5
+ "description": "Practical UI components created based on vue3",
6
+ "main": "dist/index.js",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "vite build",
12
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix",
13
+ "format": "prettier . --write",
14
+ "prepare": "cd ../.. && husky packages/components/.husky"
15
+ },
16
+ "lint-staged": {
17
+ "*.{js,jsx,vue}": [
18
+ "eslint",
19
+ "prettier --check"
20
+ ],
21
+ "*.{css,less}": "prettier --check"
22
+ },
23
+ "keywords": [
24
+ "naive-ui",
25
+ "vue3",
26
+ "practical ui"
27
+ ],
28
+ "peerDependencies": {
29
+ "vue": "^3.5.10"
30
+ },
31
+ "dependencies": {
32
+ "grapheme-splitter": "1.0.4",
33
+ "naive-ui": "2.41.0",
34
+ "vfonts": "0.0.3",
35
+ "vue-promised": "2.2.0"
36
+ },
37
+ "devDependencies": {
38
+ "@laynezh/vite-plugin-lib-assets": "^0.5.24",
39
+ "@vitejs/plugin-vue": "^5.1.4",
40
+ "@vitejs/plugin-vue-jsx": "^4.1.0",
41
+ "vite": "^5.4.8"
42
+ },
43
+ "author": "avilang <1985945885@qq.com> (https://github.com/avilang)",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/avilang/practical-ui"
47
+ },
48
+ "license": "MIT"
49
+ }