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.
- package/es/cell/index.css +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +7 -0
- package/es/dropdown-item/DropdownItem.mjs +39 -25
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +4 -0
- package/es/dropdown-item/style/index.mjs +1 -0
- package/es/dropdown-item/types.d.ts +2 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/field/index.css +1 -1
- package/es/form/index.css +1 -0
- package/es/form/style/index.mjs +1 -0
- package/es/icon/config.mjs +3 -1
- package/es/icon/index.css +1 -1
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/index.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +3 -0
- package/es/lazyload/vue-lazyload/index.d.ts +55 -55
- package/es/media-picker/MediaPicker.mjs +12 -2
- package/es/media-picker/type.d.ts +3 -0
- package/es/multiple-picker/MultiplePicker.d.ts +28 -2
- package/es/multiple-picker/MultiplePicker.mjs +26 -16
- package/es/multiple-picker/MultiplePickerOptions.mjs +2 -1
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.d.ts +20 -2
- package/es/picker/Picker.d.ts +30 -4
- package/es/picker/Picker.mjs +69 -16
- package/es/picker/PickerOptions.d.ts +75 -0
- package/es/picker/PickerOptions.mjs +93 -0
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +21 -3
- package/es/picker/types.d.ts +5 -1
- package/es/popup/Popup.mjs +3 -3
- package/es/radio-picker/RadioPicker.d.ts +11 -11
- package/es/radio-picker/index.d.ts +9 -9
- package/es/radio-picker/style/index.mjs +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/slider/Slider.d.ts +139 -0
- package/es/slider/Slider.mjs +335 -0
- package/es/slider/index.css +1 -0
- package/es/slider/index.d.ts +103 -0
- package/es/slider/index.mjs +10 -0
- package/es/slider/style/index.d.ts +1 -0
- package/es/slider/style/index.mjs +2 -0
- package/es/slider/types.d.ts +11 -0
- package/es/slider/types.mjs +0 -0
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/utils/mount-component.mjs +1 -1
- package/es/vue-sfc-shim.d.ts +6 -6
- package/es/vue-tsx-shim.d.ts +23 -23
- package/lib/cell/index.css +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +7 -0
- package/lib/dropdown-item/DropdownItem.js +37 -23
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +4 -0
- package/lib/dropdown-item/style/index.js +1 -0
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/field/index.css +1 -1
- package/lib/form/index.css +1 -0
- package/lib/form/style/index.js +1 -0
- package/lib/icon/config.js +3 -1
- package/lib/icon/index.css +1 -1
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/index.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
- package/lib/media-picker/MediaPicker.js +12 -2
- package/lib/media-picker/type.d.ts +3 -0
- package/lib/multiple-picker/MultiplePicker.d.ts +28 -2
- package/lib/multiple-picker/MultiplePicker.js +26 -16
- package/lib/multiple-picker/MultiplePickerOptions.js +2 -1
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.d.ts +20 -2
- package/lib/picker/Picker.d.ts +30 -4
- package/lib/picker/Picker.js +68 -15
- package/lib/picker/PickerOptions.d.ts +75 -0
- package/lib/picker/PickerOptions.js +112 -0
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +21 -3
- package/lib/picker/types.d.ts +5 -1
- package/lib/popup/Popup.js +3 -3
- package/lib/radio-picker/RadioPicker.d.ts +11 -11
- package/lib/radio-picker/index.d.ts +9 -9
- package/lib/radio-picker/style/index.js +1 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/slider/Slider.d.ts +139 -0
- package/lib/slider/Slider.js +354 -0
- package/lib/slider/index.css +1 -0
- package/lib/slider/index.d.ts +103 -0
- package/lib/slider/index.js +39 -0
- package/lib/slider/style/index.d.ts +1 -0
- package/lib/slider/style/index.js +2 -0
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/tabbar-item/index.css +1 -1
- package/lib/utils/mount-component.js +1 -1
- package/lib/vue-sfc-shim.d.ts +6 -6
- package/lib/vue-tsx-shim.d.ts +23 -23
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +1419 -915
- package/lib/zartui.es.js +1419 -915
- package/lib/zartui.js +1419 -915
- package/lib/zartui.min.js +1 -1
- package/package.json +79 -79
- package/README.md +0 -23
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "zartui",
|
|
3
|
-
"version": "3.1.
|
|
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
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"vue"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"@vue
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
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 一致)。
|