yuang-framework-ui-pc 1.1.33 → 1.1.34
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/core-components.d.ts +4 -2
- package/es/core-components.js +59 -56
- package/es/ele-app/plus.d.ts +4 -6
- package/es/ele-cropper-modal/index.d.ts +2 -2
- package/es/ele-cropper-modal/index.js +4 -4
- package/es/ele-cropper-modal/props.d.ts +2 -2
- package/es/ele-map-picker/index.d.ts +2 -2
- package/es/ele-map-picker/index.js +4 -4
- package/es/ele-map-picker/props.d.ts +2 -2
- package/es/ele-pro-table/components/tool-export.d.ts +3 -3
- package/es/ele-pro-table/components/tool-export.js +4 -4
- package/es/ele-pro-table/components/tool-print.d.ts +3 -3
- package/es/ele-pro-table/components/tool-print.js +4 -4
- package/es/ele-pro-table/types.d.ts +3 -3
- package/es/ele-test/index.d.ts +2 -0
- package/es/ele-test/index.js +18 -0
- package/es/ele-test/style/css-var.scss +8 -0
- package/es/ele-test/style/index.d.ts +1 -0
- package/es/ele-test/style/index.js +2 -0
- package/es/ele-test/style/index.scss +100 -0
- package/es/style/plus.scss +0 -2
- package/es/yu-test/index.d.ts +2 -0
- package/es/yu-test/index.js +18 -0
- package/es/yu-test/style/css-var.scss +8 -0
- package/es/yu-test/style/index.d.ts +1 -0
- package/es/yu-test/style/index.js +2 -0
- package/es/yu-test/style/index.scss +100 -0
- package/lib/core-components.cjs +110 -107
- package/lib/core-components.d.ts +4 -2
- package/lib/ele-app/plus.d.ts +4 -6
- package/lib/ele-cropper-modal/index.cjs +4 -4
- package/lib/ele-cropper-modal/index.d.ts +2 -2
- package/lib/ele-cropper-modal/props.d.ts +2 -2
- package/lib/ele-map-picker/index.cjs +4 -4
- package/lib/ele-map-picker/index.d.ts +2 -2
- package/lib/ele-map-picker/props.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-export.cjs +4 -4
- package/lib/ele-pro-table/components/tool-export.d.ts +3 -3
- package/lib/ele-pro-table/components/tool-print.cjs +4 -4
- package/lib/ele-pro-table/components/tool-print.d.ts +3 -3
- package/lib/ele-pro-table/types.d.ts +3 -3
- package/lib/ele-test/index.cjs +17 -0
- package/lib/ele-test/index.d.ts +2 -0
- package/lib/ele-test/style/css-var.scss +8 -0
- package/lib/ele-test/style/index.cjs +3 -0
- package/lib/ele-test/style/index.d.ts +1 -0
- package/lib/ele-test/style/index.scss +100 -0
- package/lib/style/plus.scss +0 -2
- package/lib/yu-test/index.cjs +17 -0
- package/lib/yu-test/index.d.ts +2 -0
- package/lib/yu-test/style/css-var.scss +8 -0
- package/lib/yu-test/style/index.cjs +3 -0
- package/lib/yu-test/style/index.d.ts +1 -0
- package/lib/yu-test/style/index.scss +100 -0
- package/package.json +1 -1
- package/typings/global.d.ts +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _sfc_main = vue.defineComponent({
|
|
4
|
+
name: "EleTest"
|
|
5
|
+
});
|
|
6
|
+
const _export_sfc = (sfc, props) => {
|
|
7
|
+
const target = sfc.__vccOpts || sfc;
|
|
8
|
+
for (const [key, val] of props) {
|
|
9
|
+
target[key] = val;
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
|
+
return vue.openBlock(), vue.createElementBlock("div", null, "测试");
|
|
15
|
+
}
|
|
16
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
17
|
+
module.exports = index;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
@use './css-var.scss' as *;
|
|
4
|
+
|
|
5
|
+
@include set-text-var($ele);
|
|
6
|
+
|
|
7
|
+
.yu-test {
|
|
8
|
+
color: elVar('text-color', 'regular');
|
|
9
|
+
font-size: elVar('font-size', 'base');
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
|
|
12
|
+
/* 类型 */
|
|
13
|
+
&.is-heading {
|
|
14
|
+
color: elVar('text-color', 'primary');
|
|
15
|
+
font-weight: eleVar('text', 'heading-weight');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-secondary {
|
|
19
|
+
color: elVar('text-color', 'secondary');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.is-placeholder {
|
|
23
|
+
color: elVar('text-color', 'placeholder');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-primary {
|
|
27
|
+
color: elVar('color-primary');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.is-success {
|
|
31
|
+
color: elVar('color-success');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.is-warning {
|
|
35
|
+
color: elVar('color-warning');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.is-danger {
|
|
39
|
+
color: elVar('color-danger');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.is-info {
|
|
43
|
+
color: elVar('color-info');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* 尺寸 */
|
|
47
|
+
&.is-xs {
|
|
48
|
+
font-size: elVar('font-size', 'extra-small');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-sm {
|
|
52
|
+
font-size: elVar('font-size', 'small');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.is-md {
|
|
56
|
+
font-size: elVar('font-size', 'medium');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.is-lg {
|
|
60
|
+
font-size: elVar('font-size', 'large');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.is-xl {
|
|
64
|
+
font-size: elVar('font-size', 'extra-large');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.is-xxl {
|
|
68
|
+
font-size: eleVar('text', 'xxl');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.is-xxxl {
|
|
72
|
+
font-size: eleVar('text', 'xxxl');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* 其它 */
|
|
76
|
+
&.is-delete {
|
|
77
|
+
text-decoration: line-through;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.is-underline {
|
|
81
|
+
text-decoration: underline;
|
|
82
|
+
|
|
83
|
+
&.is-delete {
|
|
84
|
+
text-decoration: line-through underline;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.is-strong {
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.is-italic {
|
|
93
|
+
font-style: italic;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* 图标 */
|
|
97
|
+
&.is-icon > .el-icon {
|
|
98
|
+
vertical-align: -2px;
|
|
99
|
+
}
|
|
100
|
+
}
|
package/lib/style/plus.scss
CHANGED
|
@@ -22,8 +22,6 @@
|
|
|
22
22
|
@use '../ele-loading/style/index.scss' as loading;
|
|
23
23
|
@use '../ele-map-picker/style/index.scss' as mapPicker;
|
|
24
24
|
@use '../ele-menus/style/index.scss' as menus;
|
|
25
|
-
// temp
|
|
26
|
-
@use '../ele-dialog/style/index.scss' as modal;
|
|
27
25
|
@use '../ele-dialog/style/index.scss' as dialog;
|
|
28
26
|
@use '../ele-page/style/index.scss' as page;
|
|
29
27
|
@use '../ele-pagination/style/index.scss' as pagination;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _sfc_main = vue.defineComponent({
|
|
4
|
+
name: "YuTest"
|
|
5
|
+
});
|
|
6
|
+
const _export_sfc = (sfc, props) => {
|
|
7
|
+
const target = sfc.__vccOpts || sfc;
|
|
8
|
+
for (const [key, val] of props) {
|
|
9
|
+
target[key] = val;
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
|
+
return vue.openBlock(), vue.createElementBlock("div", null, "测试");
|
|
15
|
+
}
|
|
16
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
17
|
+
module.exports = index;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
@use './css-var.scss' as *;
|
|
4
|
+
|
|
5
|
+
@include set-text-var($ele);
|
|
6
|
+
|
|
7
|
+
.yu-test {
|
|
8
|
+
color: elVar('text-color', 'regular');
|
|
9
|
+
font-size: elVar('font-size', 'base');
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
|
|
12
|
+
/* 类型 */
|
|
13
|
+
&.is-heading {
|
|
14
|
+
color: elVar('text-color', 'primary');
|
|
15
|
+
font-weight: eleVar('text', 'heading-weight');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-secondary {
|
|
19
|
+
color: elVar('text-color', 'secondary');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.is-placeholder {
|
|
23
|
+
color: elVar('text-color', 'placeholder');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-primary {
|
|
27
|
+
color: elVar('color-primary');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.is-success {
|
|
31
|
+
color: elVar('color-success');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.is-warning {
|
|
35
|
+
color: elVar('color-warning');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.is-danger {
|
|
39
|
+
color: elVar('color-danger');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.is-info {
|
|
43
|
+
color: elVar('color-info');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* 尺寸 */
|
|
47
|
+
&.is-xs {
|
|
48
|
+
font-size: elVar('font-size', 'extra-small');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-sm {
|
|
52
|
+
font-size: elVar('font-size', 'small');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.is-md {
|
|
56
|
+
font-size: elVar('font-size', 'medium');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.is-lg {
|
|
60
|
+
font-size: elVar('font-size', 'large');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.is-xl {
|
|
64
|
+
font-size: elVar('font-size', 'extra-large');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.is-xxl {
|
|
68
|
+
font-size: eleVar('text', 'xxl');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.is-xxxl {
|
|
72
|
+
font-size: eleVar('text', 'xxxl');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* 其它 */
|
|
76
|
+
&.is-delete {
|
|
77
|
+
text-decoration: line-through;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.is-underline {
|
|
81
|
+
text-decoration: underline;
|
|
82
|
+
|
|
83
|
+
&.is-delete {
|
|
84
|
+
text-decoration: line-through underline;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.is-strong {
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.is-italic {
|
|
93
|
+
font-style: italic;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* 图标 */
|
|
97
|
+
&.is-icon > .el-icon {
|
|
98
|
+
vertical-align: -2px;
|
|
99
|
+
}
|
|
100
|
+
}
|
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ declare module '@vue/runtime-core' {
|
|
|
49
49
|
EleTable: (typeof import('yuang-framework-ui-pc'))['EleTable'];
|
|
50
50
|
EleTableSelect: (typeof import('yuang-framework-ui-pc'))['EleTableSelect'];
|
|
51
51
|
EleTabs: (typeof import('yuang-framework-ui-pc'))['EleTabs'];
|
|
52
|
+
EleTest: (typeof import('yuang-framework-ui-pc'))['EleTest'];
|
|
52
53
|
EleText: (typeof import('yuang-framework-ui-pc'))['EleText'];
|
|
53
54
|
EleTool: (typeof import('yuang-framework-ui-pc'))['EleTool'];
|
|
54
55
|
EleToolbar: (typeof import('yuang-framework-ui-pc'))['EleToolbar'];
|