lew-ui 2.1.7 → 2.1.8

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/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/dist/components/avatar/src/LewAvatar.vue.d.ts +5 -5
  4. package/dist/components/backtop/src/LewBackTop.vue.d.ts +1 -1
  5. package/dist/components/badge/src/LewBadge.vue.d.ts +3 -3
  6. package/dist/components/button/src/LewButton.vue.d.ts +11 -11
  7. package/dist/components/button/src/props.d.ts +1 -1
  8. package/dist/components/cascader/src/LewCascader.vue.d.ts +6 -6
  9. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
  10. package/dist/components/date-picker/src/LewDate.vue.d.ts +2 -2
  11. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +6 -6
  12. package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +1 -1
  13. package/dist/components/date-picker/src/props.d.ts +2 -2
  14. package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
  15. package/dist/components/drawer/src/props.d.ts +1 -1
  16. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +1 -1
  17. package/dist/components/empty/src/LewEmpty.vue.d.ts +2 -2
  18. package/dist/components/flex/src/LewFlex.vue.d.ts +4 -4
  19. package/dist/components/form/src/LewForm.vue.d.ts +1 -1
  20. package/dist/components/input/src/LewInput.vue.d.ts +20 -20
  21. package/dist/components/input/src/props.d.ts +3 -2
  22. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
  23. package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
  24. package/dist/components/mark/src/LewMark.vue.d.ts +3 -3
  25. package/dist/components/menu/src/props.d.ts +2 -1
  26. package/dist/components/modal/src/LewModal.vue.d.ts +19 -19
  27. package/dist/components/pagination/src/LewPagination.vue.d.ts +8 -10
  28. package/dist/components/pagination/src/props.d.ts +3 -5
  29. package/dist/components/popok/src/LewPopok.vue.d.ts +17 -17
  30. package/dist/components/popover/src/LewPopover.vue.d.ts +8 -8
  31. package/dist/components/popover/src/props.d.ts +2 -2
  32. package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
  33. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +4 -4
  34. package/dist/components/result/src/LewResult.vue.d.ts +1 -1
  35. package/dist/components/select/src/LewSelect.vue.d.ts +10 -10
  36. package/dist/components/select/src/props.d.ts +1 -1
  37. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +10 -10
  38. package/dist/components/switch/src/LewSwitch.vue.d.ts +3 -3
  39. package/dist/components/table/src/LewTable.vue.d.ts +7 -7
  40. package/dist/components/tabs/src/LewTabs.vue.d.ts +4 -4
  41. package/dist/components/tag/src/LewTag.vue.d.ts +9 -9
  42. package/dist/components/tag/src/props.d.ts +3 -4
  43. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  44. package/dist/components/text-trim/src/props.d.ts +1 -1
  45. package/dist/components/textarea/src/LewTextarea.vue.d.ts +6 -6
  46. package/dist/components/title/src/LewTitle.vue.d.ts +6 -6
  47. package/dist/components/tree/src/LewTree.vue.d.ts +8 -25
  48. package/dist/components/tree/src/props.d.ts +2 -2
  49. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +22 -11
  50. package/dist/components/tree-select/src/props.d.ts +6 -1
  51. package/dist/directives/dialog/src/LewDialog.vue.d.ts +5 -5
  52. package/dist/directives/dialog/src/props.d.ts +3 -2
  53. package/dist/index.d.ts +2 -1
  54. package/dist/index.mjs +357 -370
  55. package/dist/index.umd.js +3 -3
  56. package/dist/style.css +1 -1
  57. package/package.json +101 -101
package/package.json CHANGED
@@ -1,106 +1,106 @@
1
1
  {
2
- "name": "lew-ui",
3
- "version": "2.1.7",
4
- "description": "A Component Library for Vue3.js.",
5
- "keywords": [
6
- "vue3",
7
- "components"
8
- ],
9
- "author": "lewkamtao",
10
- "license": "MIT",
11
- "scripts": {
12
- "dev": "vite",
13
- "build:noemit": "vite build --mode home",
14
- "build": "vue-tsc --noEmit && vite build --mode home",
15
- "build:lib": "vue-tsc --noEmit && vite build --mode lib",
16
- "lint:comment": "使用 ESLint 检查并自动修复 src 目录下所有扩展名为 .js 和 .vue 的文件",
17
- "eslint": "eslint --ext .js,.vue --ignore-path .gitignore --fix .",
18
- "prettier:comment": "自动格式化当前目录下的所有文件",
19
- "prettier": "prettier . --write",
20
- "test": "vitest",
21
- "test:coverage": "vitest --coverage"
2
+ "name": "lew-ui",
3
+ "version": "2.1.8",
4
+ "description": "A Component Library for Vue3.js.",
5
+ "keywords": [
6
+ "vue3",
7
+ "components"
8
+ ],
9
+ "author": "lewkamtao",
10
+ "license": "MIT",
11
+ "scripts": {
12
+ "dev": "vite",
13
+ "build:docs": "vue-tsc --noEmit && vite build --mode docs",
14
+ "build:lib": "vue-tsc --noEmit && vite build --mode lib",
15
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
16
+ "format": "prettier --write lib/",
17
+ "test": "vitest",
18
+ "test:coverage": "vitest --coverage"
19
+ },
20
+ "files": [
21
+ "dist/components/**/*.ts",
22
+ "dist/directives/**/*.ts",
23
+ "dist/hooks/**/*.ts",
24
+ "dist/utils/**/*.ts",
25
+ "dist/index.mjs",
26
+ "dist/index.umd.js",
27
+ "dist/style.css",
28
+ "dist/index.d.ts",
29
+ "package.json",
30
+ "README.md",
31
+ "LICENSE"
32
+ ],
33
+ "module": "./dist/index.mjs",
34
+ "main": "./dist/index.umd.js",
35
+ "types": "./dist/index.d.ts",
36
+ "typings": "./dist/index.d.ts",
37
+ "exports": {
38
+ ".": {
39
+ "import": "./dist/index.mjs",
40
+ "require": "./dist/index.umd.js",
41
+ "types": "./dist/index.d.ts"
22
42
  },
23
- "files": [
24
- "dist/components/**/*.ts",
25
- "dist/directives/**/*.ts",
26
- "dist/hooks/**/*.ts",
27
- "dist/utils/**/*.ts",
28
- "dist/index.mjs",
29
- "dist/index.umd.js",
30
- "dist/style.css",
31
- "dist/index.d.ts",
32
- "package.json",
33
- "README.md",
34
- "LICENSE"
35
- ],
36
- "module": "./dist/index.mjs",
37
- "main": "./dist/index.umd.js",
38
- "types": "./dist/index.d.ts",
39
- "typings": "./dist/index.d.ts",
40
- "exports": {
41
- ".": {
42
- "import": "./dist/index.mjs",
43
- "require": "./dist/index.umd.js",
44
- "types": "./dist/index.d.ts"
45
- },
46
- "./style": "./dist/style.css"
43
+ "./style": "./dist/style.css"
44
+ },
45
+ "dependencies": {
46
+ "@highlightjs/vue-plugin": "^2.1.0",
47
+ "@vueuse/components": "^9.13.0",
48
+ "@vueuse/core": "^9.1.1",
49
+ "axios": "^1.6.7",
50
+ "dayjs": "^1.11.7",
51
+ "feather-icons": "^4.29.0",
52
+ "highlight.js": "^11.9.0",
53
+ "lodash-es": "^4.17.21",
54
+ "terser": "^5.28.1",
55
+ "tippy.js": "^6.3.7",
56
+ "vee-validate": "^4.5.8",
57
+ "vue": "^3.4.21",
58
+ "vue-feather": "^2.0.0",
59
+ "vue-router": "^4.0.13",
60
+ "yup": "^1.2.0"
61
+ },
62
+ "devDependencies": {
63
+ "rollup-plugin-visualizer": "^5.12.0",
64
+ "vite-plugin-dts": "^3.8.2",
65
+ "vite-plugin-zip-pack": "^1.2.3",
66
+ "@rushstack/eslint-patch": "^1.8.0",
67
+ "@tsconfig/node20": "^20.1.4",
68
+ "@types/lodash": "^4.14.182",
69
+ "@types/node": "^20.12.5",
70
+ "@typescript-eslint/eslint-plugin": "^5.40.1",
71
+ "@typescript-eslint/parser": "^5.40.1",
72
+ "@vitejs/plugin-vue": "^5.0.4",
73
+ "@vitejs/plugin-vue-jsx": "^1.3.10",
74
+ "@vue/eslint-config-prettier": "^9.0.0",
75
+ "@vue/eslint-config-typescript": "^13.0.0",
76
+ "@vue/test-utils": "^2.0.2",
77
+ "@vue/tsconfig": "^0.5.1",
78
+ "c8": "^7.12.0",
79
+ "eslint": "^8.57.0",
80
+ "eslint-config-airbnb-base": "^15.0.0",
81
+ "eslint-config-prettier": "^8.3.0",
82
+ "eslint-plugin-html": "^7.1.0",
83
+ "eslint-plugin-import": "^2.26.0",
84
+ "eslint-plugin-vue": "^9.23.0",
85
+ "jsdom": "^20.0.0",
86
+ "lint-staged": "^13.2.2",
87
+ "prettier": "^3.2.5",
88
+ "sass": "^1.52.1",
89
+ "typescript": "^5.4.5",
90
+ "unplugin-auto-import": "^0.17.5",
91
+ "vite": "^5.2.8",
92
+ "vite-plugin-checker": "^0.6.4",
93
+ "vite-plugin-compression": "^0.5.1",
94
+ "vite-plugin-style-import": "^2.0.0",
95
+ "vitest": "^0.21.1",
96
+ "vue-tsc": "^2.0.11"
97
+ },
98
+ "config": {
99
+ "commitizen": {
100
+ "path": "node_modules/cz-customizable"
47
101
  },
48
- "dependencies": {
49
- "@highlightjs/vue-plugin": "^2.1.0",
50
- "@vueuse/components": "^9.13.0",
51
- "@vueuse/core": "^9.1.1",
52
- "axios": "^1.6.7",
53
- "dayjs": "^1.11.7",
54
- "feather-icons": "^4.29.0",
55
- "highlight.js": "^11.9.0",
56
- "lodash-es": "^4.17.21",
57
- "rollup-plugin-visualizer": "^5.12.0",
58
- "terser": "^5.28.1",
59
- "tippy.js": "^6.3.7",
60
- "vee-validate": "^4.5.8",
61
- "vite-plugin-dts": "^3.8.2",
62
- "vite-plugin-zip-pack": "^1.2.3",
63
- "vue": "^3.4.21",
64
- "vue-feather": "^2.0.0",
65
- "vue-router": "^4.0.13",
66
- "yup": "^1.2.0"
67
- },
68
- "devDependencies": {
69
- "@types/lodash": "^4.14.182",
70
- "@types/node": "^18.7.2",
71
- "@typescript-eslint/eslint-plugin": "^5.40.1",
72
- "@typescript-eslint/parser": "^5.40.1",
73
- "@vitejs/plugin-vue": "^5.0.4",
74
- "@vitejs/plugin-vue-jsx": "^1.3.10",
75
- "@vue/eslint-config-prettier": "^7.0.0",
76
- "@vue/eslint-config-typescript": "^11.0.2",
77
- "@vue/test-utils": "^2.0.2",
78
- "c8": "^7.12.0",
79
- "eslint": "^8.25.0",
80
- "eslint-config-airbnb-base": "^15.0.0",
81
- "eslint-config-prettier": "^8.3.0",
82
- "eslint-plugin-html": "^7.1.0",
83
- "eslint-plugin-import": "^2.26.0",
84
- "eslint-plugin-vue": "^9.6.0",
85
- "jsdom": "^20.0.0",
86
- "lint-staged": "^13.2.2",
87
- "prettier": "^2.7.1",
88
- "sass": "^1.52.1",
89
- "typescript": "^5.4.5",
90
- "unplugin-auto-import": "^0.17.5",
91
- "vite": "^5.2.8",
92
- "vite-plugin-checker": "^0.6.4",
93
- "vite-plugin-compression": "^0.5.1",
94
- "vite-plugin-style-import": "^2.0.0",
95
- "vitest": "^0.21.1",
96
- "vue-tsc": "^2.0.13"
97
- },
98
- "config": {
99
- "commitizen": {
100
- "path": "node_modules/cz-customizable"
101
- },
102
- "cz-customizable": {
103
- "config": ".cz-config.cjs"
104
- }
102
+ "cz-customizable": {
103
+ "config": ".cz-config.cjs"
105
104
  }
105
+ }
106
106
  }