zartd 0.0.30 → 0.0.31
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/README.md +3 -3
- package/dist/index.js +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/a-avatar/style/index.js +2 -2
- package/es/a-avatar/style/index.less +3 -3
- package/es/a-badge/style/index.js +2 -2
- package/es/a-badge/style/index.less +35 -35
- package/es/a-button/style/index.js +2 -2
- package/es/a-button/style/index.less +275 -275
- package/es/a-carousel/style/index.js +2 -2
- package/es/a-carousel/style/index.less +11 -11
- package/es/a-cascader/style/index.js +2 -2
- package/es/a-cascader/style/index.less +47 -47
- package/es/a-checkbox/style/index.js +2 -2
- package/es/a-checkbox/style/index.less +65 -65
- package/es/a-collapse/style/index.js +2 -2
- package/es/a-collapse/style/index.less +47 -47
- package/es/a-date-picker/style/index.js +2 -2
- package/es/a-date-picker/style/index.less +118 -118
- package/es/a-description/style/index.js +2 -2
- package/es/a-description/style/index.less +45 -45
- package/es/a-dropdown/style/index.js +2 -2
- package/es/a-dropdown/style/index.less +72 -72
- package/es/a-empty/style/index.js +2 -2
- package/es/a-empty/style/index.less +60 -60
- package/es/a-form/style/index.js +2 -2
- package/es/a-form/style/index.less +47 -47
- package/es/a-input/style/index.js +2 -2
- package/es/a-input/style/index.less +105 -105
- package/es/a-input-number/style/index.js +2 -2
- package/es/a-input-number/style/index.less +12 -12
- package/es/a-menu/style/index.js +2 -2
- package/es/a-menu/style/index.less +117 -117
- package/es/a-pageheader/style/index.js +2 -2
- package/es/a-pageheader/style/index.less +35 -35
- package/es/a-pagination/style/index.js +2 -2
- package/es/a-pagination/style/index.less +146 -146
- package/es/a-radio/style/index.js +2 -2
- package/es/a-radio/style/index.less +65 -65
- package/es/a-select/style/index.js +2 -2
- package/es/a-select/style/index.less +88 -88
- package/es/a-select-tree/style/index.js +2 -2
- package/es/a-select-tree/style/index.less +16 -16
- package/es/a-spin/style/index.js +2 -2
- package/es/a-spin/style/index.less +3 -3
- package/es/a-steps/style/index.js +2 -2
- package/es/a-steps/style/index.less +179 -179
- package/es/a-switch/style/index.js +2 -2
- package/es/a-switch/style/index.less +32 -32
- package/es/a-table/style/index.js +2 -2
- package/es/a-table/style/index.less +49 -49
- package/es/a-tabs/style/index.js +2 -2
- package/es/a-tabs/style/index.less +160 -160
- package/es/a-tooltip/style/index.js +2 -2
- package/es/a-tooltip/style/index.less +13 -13
- package/es/a-transfer/style/index.js +2 -2
- package/es/a-transfer/style/index.less +77 -77
- package/es/a-tree/style/index.js +2 -2
- package/es/a-tree/style/index.less +100 -100
- package/es/a-upload/style/index.js +2 -2
- package/es/a-upload/style/index.less +180 -180
- package/es/style/color.less +85 -85
- package/es/style/core.less +2 -2
- package/es/style/fonts/harmonyos-sans/index.css +41 -41
- package/es/style/fonts/iconfont/zartd/iconfont.css +891 -891
- package/es/style/fonts/iconfont/zartd-color/iconfont.css +44 -44
- package/es/style/fonts/iconfont/zartd-nav/iconfont.css +1375 -1375
- package/es/style/fonts/index.less +11 -11
- package/es/style/fonts/source-han-sans/index.css +5 -5
- package/es/style/global.less +33 -33
- package/es/style/index.js +1 -1
- package/es/style/index.less +42 -42
- package/es/style/themes/dark.less +7 -7
- package/es/style/themes/gov.less +6 -6
- package/es/style/themes/index.less +129 -129
- package/es/style/themes/light.less +33 -33
- package/es/style/variable.less +283 -283
- package/lib/a-avatar/style/index.js +2 -2
- package/lib/a-avatar/style/index.less +3 -3
- package/lib/a-badge/style/index.js +2 -2
- package/lib/a-badge/style/index.less +35 -35
- package/lib/a-button/style/index.js +2 -2
- package/lib/a-button/style/index.less +275 -275
- package/lib/a-carousel/style/index.js +2 -2
- package/lib/a-carousel/style/index.less +11 -11
- package/lib/a-cascader/style/index.js +2 -2
- package/lib/a-cascader/style/index.less +47 -47
- package/lib/a-checkbox/style/index.js +2 -2
- package/lib/a-checkbox/style/index.less +65 -65
- package/lib/a-collapse/style/index.js +2 -2
- package/lib/a-collapse/style/index.less +47 -47
- package/lib/a-date-picker/style/index.js +2 -2
- package/lib/a-date-picker/style/index.less +118 -118
- package/lib/a-description/style/index.js +2 -2
- package/lib/a-description/style/index.less +45 -45
- package/lib/a-dropdown/style/index.js +2 -2
- package/lib/a-dropdown/style/index.less +72 -72
- package/lib/a-empty/style/index.js +2 -2
- package/lib/a-empty/style/index.less +60 -60
- package/lib/a-form/style/index.js +2 -2
- package/lib/a-form/style/index.less +47 -47
- package/lib/a-input/style/index.js +2 -2
- package/lib/a-input/style/index.less +105 -105
- package/lib/a-input-number/style/index.js +2 -2
- package/lib/a-input-number/style/index.less +12 -12
- package/lib/a-menu/style/index.js +2 -2
- package/lib/a-menu/style/index.less +117 -117
- package/lib/a-pageheader/style/index.js +2 -2
- package/lib/a-pageheader/style/index.less +35 -35
- package/lib/a-pagination/style/index.js +2 -2
- package/lib/a-pagination/style/index.less +146 -146
- package/lib/a-radio/style/index.js +2 -2
- package/lib/a-radio/style/index.less +65 -65
- package/lib/a-select/style/index.js +2 -2
- package/lib/a-select/style/index.less +88 -88
- package/lib/a-select-tree/style/index.js +2 -2
- package/lib/a-select-tree/style/index.less +16 -16
- package/lib/a-spin/style/index.js +2 -2
- package/lib/a-spin/style/index.less +3 -3
- package/lib/a-steps/style/index.js +2 -2
- package/lib/a-steps/style/index.less +179 -179
- package/lib/a-switch/style/index.js +2 -2
- package/lib/a-switch/style/index.less +32 -32
- package/lib/a-table/style/index.js +2 -2
- package/lib/a-table/style/index.less +49 -49
- package/lib/a-tabs/style/index.js +2 -2
- package/lib/a-tabs/style/index.less +160 -160
- package/lib/a-tooltip/style/index.js +2 -2
- package/lib/a-tooltip/style/index.less +13 -13
- package/lib/a-transfer/style/index.js +2 -2
- package/lib/a-transfer/style/index.less +77 -77
- package/lib/a-tree/style/index.js +2 -2
- package/lib/a-tree/style/index.less +100 -100
- package/lib/a-upload/style/index.js +2 -2
- package/lib/a-upload/style/index.less +180 -180
- package/lib/style/color.less +85 -85
- package/lib/style/core.less +2 -2
- package/lib/style/fonts/harmonyos-sans/index.css +41 -41
- package/lib/style/fonts/iconfont/zartd/iconfont.css +891 -891
- package/lib/style/fonts/iconfont/zartd-color/iconfont.css +44 -44
- package/lib/style/fonts/iconfont/zartd-nav/iconfont.css +1375 -1375
- package/lib/style/fonts/index.less +11 -11
- package/lib/style/fonts/source-han-sans/index.css +5 -5
- package/lib/style/global.less +33 -33
- package/lib/style/index.js +1 -1
- package/lib/style/index.less +42 -42
- package/lib/style/themes/dark.less +7 -7
- package/lib/style/themes/gov.less +6 -6
- package/lib/style/themes/index.less +129 -129
- package/lib/style/themes/light.less +33 -33
- package/lib/style/variable.less +283 -283
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# ZartUI Web
|
|
2
|
-
|
|
3
|
-
ZartUI Web
|
|
1
|
+
# ZartUI Web
|
|
2
|
+
|
|
3
|
+
ZartUI Web
|
package/dist/index.js
CHANGED
package/dist/index.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! zartd v0.0.
|
|
1
|
+
/*! zartd v0.0.31 */
|
|
2
2
|
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).zartd={})}(this,(function(e){"use strict";const o=[],n=e=>{var n;for(const n of o)n.install&&e.use(n);let t="-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";return("1"===(null==(n=window.commonSetting)?void 0:n.APP_LOW_PERFORMANCE_MODE)||window.location.href.includes("lowPerformanceMode=on"))&&(t=t.replace("'Source Han Sans', ","")),document.documentElement.style.setProperty("--zartd-font-family",t),e};var t={install:n};e.default=t,e.install=n,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
3
3
|
//# sourceMappingURL=index.min.js.map
|
package/dist/index.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.min.js","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst components: any[] = [];\n\n// install\nexport const install = (app: App) => {\n for (const component of components) {\n if (component.install) {\n app.use(component);\n }\n }\n\n // 设置系统字体\n let fontFamily = `-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'`;\n if (window.commonSetting?.APP_LOW_PERFORMANCE_MODE === '1' || window.location.href.includes('lowPerformanceMode=on')) {\n // 若开启低性能模式,则不加载思源黑体\n fontFamily = fontFamily.replace(`'Source Han Sans', `, '');\n }\n document.documentElement.style.setProperty('--zartd-font-family', fontFamily);\n\n return app;\n};\n\nexport default { install };\n"],"names":["components","install","app","_a","component","use","fontFamily","window","commonSetting","APP_LOW_PERFORMANCE_MODE","location","href","includes","replace","document","documentElement","style","setProperty","index"],"mappings":";6OAGA,MAAMA,EAAoB,GAGbC,EAAWC,IANxB,IAAAC,EAOI,IAAA,MAAWC,KAAaJ,EAChBI,EAAUH,SACVC,EAAIG,IAAID,GAKhB,IAAIE,EAAa,4SAOV,OANgD,OAAnD,OAAAH,EAAAI,OAAOC,oBAAP,EAAAL,EAAsBM,2BAAoCF,OAAOG,SAASC,KAAKC,SAAS,4BAE3EN,EAAAA,EAAWO,QAAQ,sBAAuB,KAE3DC,SAASC,gBAAgBC,MAAMC,YAAY,sBAAuBX,GAE3DJ,CAAA,EAGI,IAAAgB,EAAA,CAAEjB"}
|
|
1
|
+
{"version":3,"file":"index.min.js","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue';\r\n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nconst components: any[] = [];\r\n\r\n// install\r\nexport const install = (app: App) => {\r\n for (const component of components) {\r\n if (component.install) {\r\n app.use(component);\r\n }\r\n }\r\n\r\n // 设置系统字体\r\n let fontFamily = `-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'`;\r\n if (window.commonSetting?.APP_LOW_PERFORMANCE_MODE === '1' || window.location.href.includes('lowPerformanceMode=on')) {\r\n // 若开启低性能模式,则不加载思源黑体\r\n fontFamily = fontFamily.replace(`'Source Han Sans', `, '');\r\n }\r\n document.documentElement.style.setProperty('--zartd-font-family', fontFamily);\r\n\r\n return app;\r\n};\r\n\r\nexport default { install };\r\n"],"names":["components","install","app","_a","component","use","fontFamily","window","commonSetting","APP_LOW_PERFORMANCE_MODE","location","href","includes","replace","document","documentElement","style","setProperty","index"],"mappings":";6OAGA,MAAMA,EAAoB,GAGbC,EAAWC,IANxB,IAAAC,EAOI,IAAA,MAAWC,KAAaJ,EAChBI,EAAUH,SACVC,EAAIG,IAAID,GAKhB,IAAIE,EAAa,4SAOV,OANgD,OAAnD,OAAAH,EAAAI,OAAOC,oBAAP,EAAAL,EAAsBM,2BAAoCF,OAAOG,SAASC,KAAKC,SAAS,4BAE3EN,EAAAA,EAAWO,QAAQ,sBAAuB,KAE3DC,SAASC,gBAAgBC,MAAMC,YAAY,sBAAuBX,GAE3DJ,CAAA,EAGI,IAAAgB,EAAA,CAAEjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../style/core.less';
|
|
2
|
-
import './index.less';
|
|
1
|
+
import '../../style/core.less';
|
|
2
|
+
import './index.less';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.ant-avatar-lg {
|
|
2
|
-
font-size: 18px !important;
|
|
3
|
-
}
|
|
1
|
+
.ant-avatar-lg {
|
|
2
|
+
font-size: 18px !important;
|
|
3
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../style/core.less';
|
|
2
|
-
import './index.less';
|
|
1
|
+
import '../../style/core.less';
|
|
2
|
+
import './index.less';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.ant-badge {
|
|
2
|
-
.ant-badge-count {
|
|
3
|
-
min-width: 24px;
|
|
4
|
-
height: 17px;
|
|
5
|
-
line-height: 17px;
|
|
6
|
-
border-radius: 8.5px;
|
|
7
|
-
|
|
8
|
-
> span {
|
|
9
|
-
height: inherit;
|
|
10
|
-
|
|
11
|
-
> p {
|
|
12
|
-
height: inherit;
|
|
13
|
-
line-height: 17px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ant-avatar-circle + .anticon {
|
|
19
|
-
font-size: 16px;
|
|
20
|
-
transform: translate(25%, -25%);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ant-avatar-circle + .ant-badge-dot {
|
|
24
|
-
top: 4px;
|
|
25
|
-
right: 4px;
|
|
26
|
-
min-width: 12px;
|
|
27
|
-
min-height: 12px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ant-avatar-square + .ant-badge-dot {
|
|
31
|
-
width: 12px;
|
|
32
|
-
min-width: 12px;
|
|
33
|
-
height: 12px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
.ant-badge {
|
|
2
|
+
.ant-badge-count {
|
|
3
|
+
min-width: 24px;
|
|
4
|
+
height: 17px;
|
|
5
|
+
line-height: 17px;
|
|
6
|
+
border-radius: 8.5px;
|
|
7
|
+
|
|
8
|
+
> span {
|
|
9
|
+
height: inherit;
|
|
10
|
+
|
|
11
|
+
> p {
|
|
12
|
+
height: inherit;
|
|
13
|
+
line-height: 17px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ant-avatar-circle + .anticon {
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
transform: translate(25%, -25%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ant-avatar-circle + .ant-badge-dot {
|
|
24
|
+
top: 4px;
|
|
25
|
+
right: 4px;
|
|
26
|
+
min-width: 12px;
|
|
27
|
+
min-height: 12px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ant-avatar-square + .ant-badge-dot {
|
|
31
|
+
width: 12px;
|
|
32
|
+
min-width: 12px;
|
|
33
|
+
height: 12px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../style/core.less';
|
|
2
|
-
import './index.less';
|
|
1
|
+
import '../../style/core.less';
|
|
2
|
+
import './index.less';
|