yuang-framework-ui-pc 1.1.33 → 1.1.35

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 (56) hide show
  1. package/es/core-components.d.ts +4 -2
  2. package/es/core-components.js +59 -56
  3. package/es/ele-app/plus.d.ts +4 -6
  4. package/es/ele-cropper-modal/index.d.ts +2 -2
  5. package/es/ele-cropper-modal/index.js +4 -4
  6. package/es/ele-cropper-modal/props.d.ts +2 -2
  7. package/es/ele-map-picker/index.d.ts +2 -2
  8. package/es/ele-map-picker/index.js +4 -4
  9. package/es/ele-map-picker/props.d.ts +2 -2
  10. package/es/ele-pro-table/components/tool-export.d.ts +3 -3
  11. package/es/ele-pro-table/components/tool-export.js +4 -4
  12. package/es/ele-pro-table/components/tool-print.d.ts +3 -3
  13. package/es/ele-pro-table/components/tool-print.js +4 -4
  14. package/es/ele-pro-table/types.d.ts +3 -3
  15. package/es/ele-test/index.d.ts +2 -0
  16. package/es/ele-test/index.js +18 -0
  17. package/es/ele-test/style/css-var.scss +8 -0
  18. package/es/ele-test/style/index.d.ts +1 -0
  19. package/es/ele-test/style/index.js +2 -0
  20. package/es/ele-test/style/index.scss +100 -0
  21. package/es/style/plus.scss +0 -2
  22. package/es/yu-test/index.d.ts +2 -0
  23. package/es/yu-test/index.js +18 -0
  24. package/es/yu-test/style/css-var.scss +8 -0
  25. package/es/yu-test/style/index.d.ts +1 -0
  26. package/es/yu-test/style/index.js +2 -0
  27. package/es/yu-test/style/index.scss +100 -0
  28. package/lib/core-components.cjs +110 -107
  29. package/lib/core-components.d.ts +4 -2
  30. package/lib/ele-app/plus.d.ts +4 -6
  31. package/lib/ele-cropper-modal/index.cjs +4 -4
  32. package/lib/ele-cropper-modal/index.d.ts +2 -2
  33. package/lib/ele-cropper-modal/props.d.ts +2 -2
  34. package/lib/ele-map-picker/index.cjs +4 -4
  35. package/lib/ele-map-picker/index.d.ts +2 -2
  36. package/lib/ele-map-picker/props.d.ts +2 -2
  37. package/lib/ele-pro-table/components/tool-export.cjs +4 -4
  38. package/lib/ele-pro-table/components/tool-export.d.ts +3 -3
  39. package/lib/ele-pro-table/components/tool-print.cjs +4 -4
  40. package/lib/ele-pro-table/components/tool-print.d.ts +3 -3
  41. package/lib/ele-pro-table/types.d.ts +3 -3
  42. package/lib/ele-test/index.cjs +17 -0
  43. package/lib/ele-test/index.d.ts +2 -0
  44. package/lib/ele-test/style/css-var.scss +8 -0
  45. package/lib/ele-test/style/index.cjs +3 -0
  46. package/lib/ele-test/style/index.d.ts +1 -0
  47. package/lib/ele-test/style/index.scss +100 -0
  48. package/lib/style/plus.scss +0 -2
  49. package/lib/yu-test/index.cjs +17 -0
  50. package/lib/yu-test/index.d.ts +2 -0
  51. package/lib/yu-test/style/css-var.scss +8 -0
  52. package/lib/yu-test/style/index.cjs +3 -0
  53. package/lib/yu-test/style/index.d.ts +1 -0
  54. package/lib/yu-test/style/index.scss +100 -0
  55. package/package.json +1 -1
  56. 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,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ @use '../../style/util.scss' as *;
2
+
3
+ /* 文本主题变量 */
4
+ @mixin set-text-var($var) {
5
+ .ele-text {
6
+ @include set-ele-var('test', $var);
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ require("element-plus/es/components/icon/style/index");
3
+ require("./index.scss");
@@ -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
+ }
@@ -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,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ @use '../../style/util.scss' as *;
2
+
3
+ /* 文本主题变量 */
4
+ @mixin set-text-var($var) {
5
+ .ele-text {
6
+ @include set-ele-var('test', $var);
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ require("element-plus/es/components/icon/style/index");
3
+ require("./index.scss");
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.33",
3
+ "version": "1.1.35",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",
@@ -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'];