zartui 3.1.13 → 3.1.14

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 (112) hide show
  1. package/es/cell/index.css +1 -1
  2. package/es/dropdown-item/DropdownItem.d.ts +7 -0
  3. package/es/dropdown-item/DropdownItem.mjs +39 -25
  4. package/es/dropdown-item/index.css +1 -1
  5. package/es/dropdown-item/index.d.ts +4 -0
  6. package/es/dropdown-item/style/index.mjs +1 -0
  7. package/es/dropdown-item/types.d.ts +2 -1
  8. package/es/dropdown-menu/index.css +1 -1
  9. package/es/field/index.css +1 -1
  10. package/es/form/index.css +1 -0
  11. package/es/form/style/index.mjs +1 -0
  12. package/es/icon/config.mjs +3 -1
  13. package/es/icon/index.css +1 -1
  14. package/es/image-preview/ImagePreview.d.ts +1 -1
  15. package/es/image-preview/index.d.ts +1 -1
  16. package/es/index.d.ts +1 -0
  17. package/es/index.mjs +3 -0
  18. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  19. package/es/media-picker/MediaPicker.mjs +12 -2
  20. package/es/media-picker/type.d.ts +3 -0
  21. package/es/multiple-picker/MultiplePicker.d.ts +28 -2
  22. package/es/multiple-picker/MultiplePicker.mjs +26 -16
  23. package/es/multiple-picker/MultiplePickerOptions.mjs +2 -1
  24. package/es/multiple-picker/index.css +1 -1
  25. package/es/multiple-picker/index.d.ts +20 -2
  26. package/es/picker/Picker.d.ts +30 -4
  27. package/es/picker/Picker.mjs +69 -16
  28. package/es/picker/PickerOptions.d.ts +75 -0
  29. package/es/picker/PickerOptions.mjs +93 -0
  30. package/es/picker/index.css +1 -1
  31. package/es/picker/index.d.ts +21 -3
  32. package/es/picker/types.d.ts +5 -1
  33. package/es/popup/Popup.mjs +3 -3
  34. package/es/radio-picker/RadioPicker.d.ts +11 -11
  35. package/es/radio-picker/index.d.ts +9 -9
  36. package/es/radio-picker/style/index.mjs +1 -1
  37. package/es/skeleton/index.css +1 -1
  38. package/es/slider/Slider.d.ts +139 -0
  39. package/es/slider/Slider.mjs +335 -0
  40. package/es/slider/index.css +1 -0
  41. package/es/slider/index.d.ts +103 -0
  42. package/es/slider/index.mjs +10 -0
  43. package/es/slider/style/index.d.ts +1 -0
  44. package/es/slider/style/index.mjs +2 -0
  45. package/es/slider/types.d.ts +11 -0
  46. package/es/slider/types.mjs +0 -0
  47. package/es/style/base.css +1 -1
  48. package/es/style/css-variables.css +1 -1
  49. package/es/tabbar-item/index.css +1 -1
  50. package/es/utils/mount-component.mjs +1 -1
  51. package/es/vue-sfc-shim.d.ts +6 -6
  52. package/es/vue-tsx-shim.d.ts +23 -23
  53. package/lib/cell/index.css +1 -1
  54. package/lib/dropdown-item/DropdownItem.d.ts +7 -0
  55. package/lib/dropdown-item/DropdownItem.js +37 -23
  56. package/lib/dropdown-item/index.css +1 -1
  57. package/lib/dropdown-item/index.d.ts +4 -0
  58. package/lib/dropdown-item/style/index.js +1 -0
  59. package/lib/dropdown-item/types.d.ts +2 -1
  60. package/lib/dropdown-menu/index.css +1 -1
  61. package/lib/field/index.css +1 -1
  62. package/lib/form/index.css +1 -0
  63. package/lib/form/style/index.js +1 -0
  64. package/lib/icon/config.js +3 -1
  65. package/lib/icon/index.css +1 -1
  66. package/lib/image-preview/ImagePreview.d.ts +1 -1
  67. package/lib/image-preview/index.d.ts +1 -1
  68. package/lib/index.css +1 -1
  69. package/lib/index.d.ts +1 -0
  70. package/lib/index.js +3 -0
  71. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  72. package/lib/media-picker/MediaPicker.js +12 -2
  73. package/lib/media-picker/type.d.ts +3 -0
  74. package/lib/multiple-picker/MultiplePicker.d.ts +28 -2
  75. package/lib/multiple-picker/MultiplePicker.js +26 -16
  76. package/lib/multiple-picker/MultiplePickerOptions.js +2 -1
  77. package/lib/multiple-picker/index.css +1 -1
  78. package/lib/multiple-picker/index.d.ts +20 -2
  79. package/lib/picker/Picker.d.ts +30 -4
  80. package/lib/picker/Picker.js +68 -15
  81. package/lib/picker/PickerOptions.d.ts +75 -0
  82. package/lib/picker/PickerOptions.js +112 -0
  83. package/lib/picker/index.css +1 -1
  84. package/lib/picker/index.d.ts +21 -3
  85. package/lib/picker/types.d.ts +5 -1
  86. package/lib/popup/Popup.js +3 -3
  87. package/lib/radio-picker/RadioPicker.d.ts +11 -11
  88. package/lib/radio-picker/index.d.ts +9 -9
  89. package/lib/radio-picker/style/index.js +1 -1
  90. package/lib/skeleton/index.css +1 -1
  91. package/lib/slider/Slider.d.ts +139 -0
  92. package/lib/slider/Slider.js +354 -0
  93. package/lib/slider/index.css +1 -0
  94. package/lib/slider/index.d.ts +103 -0
  95. package/lib/slider/index.js +39 -0
  96. package/lib/slider/style/index.d.ts +1 -0
  97. package/lib/slider/style/index.js +2 -0
  98. package/lib/slider/types.d.ts +11 -0
  99. package/lib/slider/types.js +15 -0
  100. package/lib/style/base.css +1 -1
  101. package/lib/style/css-variables.css +1 -1
  102. package/lib/tabbar-item/index.css +1 -1
  103. package/lib/utils/mount-component.js +1 -1
  104. package/lib/vue-sfc-shim.d.ts +6 -6
  105. package/lib/vue-tsx-shim.d.ts +23 -23
  106. package/lib/web-types.json +1 -1
  107. package/lib/zartui.cjs.js +1419 -915
  108. package/lib/zartui.es.js +1419 -915
  109. package/lib/zartui.js +1419 -915
  110. package/lib/zartui.min.js +1 -1
  111. package/package.json +79 -79
  112. package/README.md +0 -23
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "zartui",
3
- "version": "3.1.13",
4
- "description": "面向政务场景的移动端组件库",
5
- "main": "lib/zartui.cjs.js",
6
- "module": "es/index.mjs",
7
- "style": "lib/index.css",
8
- "typings": "lib/index.d.ts",
9
- "unpkg": "lib/zartui.min.js",
10
- "jsdelivr": "lib/zartui.min.js",
11
- "files": [
12
- "es",
13
- "lib"
14
- ],
15
- "publishConfig": {
16
- "access": "public",
17
- "registry": "https://registry.npmjs.org/"
18
- },
19
- "author": "egova",
20
- "license": "MIT",
21
- "keywords": [
22
- "ui",
23
- "vue",
24
- "vue3",
25
- "mobile",
26
- "frontend",
27
- "component",
28
- "components"
29
- ],
30
- "dependencies": {
31
- "@floating-ui/vue": "^0.2.1",
32
- "@zartui/date-utils": "^0.0.4",
33
- "@zartui/use": "^1.4.7",
34
- "@zartui/popperjs": "^1.3.1"
35
- },
36
- "peerDependencies": {
37
- "vue": "^3.0.0"
38
- },
39
- "devDependencies": {
40
- "@types/node": "^18.18.5",
41
- "@vitejs/plugin-vue": "^4.0.0",
42
- "@vitejs/plugin-vue-jsx": "^3.0.0",
43
- "@vitest/coverage-v8": "0.34.2",
44
- "@vue/runtime-core": "^3.3.4",
45
- "@vue/test-utils": "^2.0.2",
46
- "diffable-html": "^5.0.0",
47
- "jsdom": "^22.1.0",
48
- "typescript": "^5.0.4",
49
- "vite": "^4.5.0",
50
- "vitest": "^0.34.2",
51
- "vitest-canvas-mock": "^0.3.2",
52
- "vue": "^3.3.4",
53
- "vue-router": "^4.2.4",
54
- "@zartui/icons": "^0.0.5",
55
- "@zartui/eslint-config": "^4.0.2",
56
- "@zartui/mobile-cli": "^5.0.7",
57
- "@zartui/number-font": "^0.0.1"
58
- },
59
- "sideEffects": [
60
- "es/**/style/*",
61
- "lib/**/style/*",
62
- "*.css"
63
- ],
64
- "web-types": "lib/web-types.json",
65
- "scripts": {
66
- "dev": "zartui-mobile-cli dev",
67
- "lint": "zartui-mobile-cli lint",
68
- "test": "vitest test",
69
- "build": "zartui-mobile-cli build",
70
- "build:site": "zartui-mobile-cli build-site",
71
- "release": "cp ../../README.md ./ && zartui-mobile-cli release && rm ./README.md",
72
- "release:cli": "zartui-mobile-cli release",
73
- "release:site": "pnpm build:site && npx gh-pages -d site-dist --add",
74
- "test:update": "vitest run -u",
75
- "test:watch": "vitest",
76
- "test:coverage": "vitest run --coverage",
77
- "open:coverage": "open test/coverage/index.html"
78
- }
79
- }
1
+ {
2
+ "name": "zartui",
3
+ "version": "3.1.14",
4
+ "description": "面向政务场景的移动端组件库",
5
+ "main": "lib/zartui.cjs.js",
6
+ "module": "es/index.mjs",
7
+ "style": "lib/index.css",
8
+ "typings": "lib/index.d.ts",
9
+ "unpkg": "lib/zartui.min.js",
10
+ "jsdelivr": "lib/zartui.min.js",
11
+ "files": [
12
+ "es",
13
+ "lib"
14
+ ],
15
+ "scripts": {
16
+ "dev": "zartui-mobile-cli dev",
17
+ "lint": "zartui-mobile-cli lint",
18
+ "test": "vitest test",
19
+ "build": "zartui-mobile-cli build",
20
+ "build:site": "zartui-mobile-cli build-site",
21
+ "release": "cp ../../README.md ./ && zartui-mobile-cli release && rm ./README.md",
22
+ "release:cli": "zartui-mobile-cli release",
23
+ "release:site": "pnpm build:site && npx gh-pages -d site-dist --add",
24
+ "test:update": "vitest run -u",
25
+ "test:watch": "vitest",
26
+ "test:coverage": "vitest run --coverage",
27
+ "open:coverage": "open test/coverage/index.html"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public",
31
+ "registry": "https://registry.npmjs.org/"
32
+ },
33
+ "author": "egova",
34
+ "license": "MIT",
35
+ "keywords": [
36
+ "ui",
37
+ "vue",
38
+ "vue3",
39
+ "mobile",
40
+ "frontend",
41
+ "component",
42
+ "components"
43
+ ],
44
+ "dependencies": {
45
+ "@floating-ui/vue": "^0.2.1",
46
+ "@zartui/date-utils": "workspace:^",
47
+ "@zartui/popperjs": "workspace:^",
48
+ "@zartui/use": "workspace:^"
49
+ },
50
+ "peerDependencies": {
51
+ "vue": "^3.0.0"
52
+ },
53
+ "devDependencies": {
54
+ "@types/node": "^18.18.5",
55
+ "@vitejs/plugin-vue": "^4.0.0",
56
+ "@vitejs/plugin-vue-jsx": "^3.0.0",
57
+ "@vitest/coverage-v8": "0.34.2",
58
+ "@vue/runtime-core": "^3.3.4",
59
+ "@vue/test-utils": "^2.0.2",
60
+ "@zartui/eslint-config": "workspace:^",
61
+ "@zartui/icons": "workspace:^",
62
+ "@zartui/mobile-cli": "workspace:^",
63
+ "@zartui/number-font": "workspace:^",
64
+ "diffable-html": "^5.0.0",
65
+ "jsdom": "^22.1.0",
66
+ "typescript": "^5.0.4",
67
+ "vite": "^4.5.0",
68
+ "vitest": "^0.34.2",
69
+ "vitest-canvas-mock": "^0.3.2",
70
+ "vue": "^3.3.4",
71
+ "vue-router": "^4.2.4"
72
+ },
73
+ "sideEffects": [
74
+ "es/**/style/*",
75
+ "lib/**/style/*",
76
+ "*.css"
77
+ ],
78
+ "web-types": "lib/web-types.json"
79
+ }
package/README.md DELETED
@@ -1,23 +0,0 @@
1
- # ZartUI
2
-
3
- [ZartUI](https://zartui.egova.com.cn) 是数字政通基于 Vue 研发的一款面向政务场景的移动端组件库。
4
-
5
- Zart(读音 /zɑːt/)的命名,灵感源自数字政通秉承的理念:让城市治理变得更智慧。Zart = zt + smart, zt是政通的首字母缩写,smart代表公司理念中的“智慧”,将smart中间的“ar”字母包裹于zt之间,体现了ZartUI的核心目标:追求极致的用户体验,致力于做灵活智能的组件库。
6
-
7
- ## 特性
8
-
9
- 1)【组件重构】【组件审核】提供50多个高质量组件,覆盖移动端各类场景;
10
-
11
- 2)【UI重构】基于全新的视觉规范;
12
-
13
- 3)【在线网站】完善的文档、示例、演示效果;
14
-
15
- 4)支持主题定制、按需引入;
16
-
17
- 5)支持Vue3.0、TypeScript;
18
-
19
- 6)性能佳,组件平均体积小(min+gzip);
20
-
21
- ## 浏览器支持
22
-
23
- ZartUI 3 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一致)。