meixioacomponent 0.1.5 → 0.1.8

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 (38) hide show
  1. package/lib/meixioacomponent.common.js +44 -44
  2. package/lib/meixioacomponent.common.js.map +1 -1
  3. package/lib/meixioacomponent.umd.js +44 -44
  4. package/lib/meixioacomponent.umd.js.map +1 -1
  5. package/lib/meixioacomponent.umd.min.js.map +1 -1
  6. package/lib/style/element/common_class.less +3 -0
  7. package/lib/style/element/fonts/element-icons.ttf +0 -0
  8. package/lib/style/element/fonts/element-icons.woff +0 -0
  9. package/lib/style/element/index.css +27116 -0
  10. package/lib/style/font-family.less +6 -0
  11. package/lib/style/iconfont/demo.css +539 -0
  12. package/lib/style/iconfont/iconfont.css +247 -0
  13. package/lib/style/iconfont/iconfont.ttf +0 -0
  14. package/lib/style/iconfont/iconfont.woff +0 -0
  15. package/lib/style/iconfont/iconfont.woff2 +0 -0
  16. package/lib/style/index.less +111 -0
  17. package/lib/style/theme/dark.less +151 -0
  18. package/lib/style/theme/light.less +37 -0
  19. package/lib/style/theme/theme.less +2 -0
  20. package/lib/style/tokyo-night-dark.min.css +88 -0
  21. package/lib/style/variables.less +72 -0
  22. package/package.json +8 -5
  23. package/packages/components/style/element/common_class.less +3 -0
  24. package/packages/components/style/element/fonts/element-icons.ttf +0 -0
  25. package/packages/components/style/element/fonts/element-icons.woff +0 -0
  26. package/packages/components/style/element/index.css +27116 -0
  27. package/packages/components/style/font-family.less +6 -0
  28. package/packages/components/style/iconfont/demo.css +539 -0
  29. package/packages/components/style/iconfont/iconfont.css +247 -0
  30. package/packages/components/style/iconfont/iconfont.ttf +0 -0
  31. package/packages/components/style/iconfont/iconfont.woff +0 -0
  32. package/packages/components/style/iconfont/iconfont.woff2 +0 -0
  33. package/packages/components/style/index.less +111 -0
  34. package/packages/components/style/theme/dark.less +151 -0
  35. package/packages/components/style/theme/light.less +37 -0
  36. package/packages/components/style/theme/theme.less +2 -0
  37. package/packages/components/style/tokyo-night-dark.min.css +88 -0
  38. package/packages/components/style/variables.less +72 -0
@@ -0,0 +1,247 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id 3212194 */
3
+ src: url('iconfont.woff2?t=1655273986114') format('woff2'),
4
+ url('iconfont.woff?t=1655273986114') format('woff'),
5
+ url('iconfont.ttf?t=1655273986114') format('truetype');
6
+ }
7
+
8
+ .iconfont {
9
+ font-family: "iconfont" !important;
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ }
15
+
16
+ .icon-yunhang:before {
17
+ content: "\e65f";
18
+ }
19
+
20
+ .icon-diqu:before {
21
+ content: "\e643";
22
+ }
23
+
24
+ .icon-formfill:before {
25
+ content: "\e7ab";
26
+ }
27
+
28
+ .icon-Dialog:before {
29
+ content: "\e69f";
30
+ }
31
+
32
+ .icon-table:before {
33
+ content: "\e6b2";
34
+ }
35
+
36
+ .icon-time:before {
37
+ content: "\e6e0";
38
+ }
39
+
40
+ .icon-file-drawer:before {
41
+ content: "\e66d";
42
+ }
43
+
44
+ .icon-anchor-center-up:before {
45
+ content: "\e64c";
46
+ }
47
+
48
+ .icon-table-add:before {
49
+ content: "\e605";
50
+ }
51
+
52
+ .icon-handle:before {
53
+ content: "\e656";
54
+ }
55
+
56
+ .icon-list:before {
57
+ content: "\e652";
58
+ }
59
+
60
+ .icon-miaoshu:before {
61
+ content: "\e6ed";
62
+ }
63
+
64
+ .icon-Title:before {
65
+ content: "\e604";
66
+ }
67
+
68
+ .icon-gujiaping:before {
69
+ content: "\ea0a";
70
+ }
71
+
72
+ .icon-outline-toggle-off:before {
73
+ content: "\e6ae";
74
+ }
75
+
76
+ .icon-code:before {
77
+ content: "\e669";
78
+ }
79
+
80
+ .icon-fuzhi-19:before {
81
+ content: "\e825";
82
+ }
83
+
84
+ .icon-tubiao:before {
85
+ content: "\e659";
86
+ }
87
+
88
+ .icon-a-sebansetiaosekayanse:before {
89
+ content: "\e766";
90
+ }
91
+
92
+ .icon-yuansu:before {
93
+ content: "\e653";
94
+ }
95
+
96
+ .icon-user:before {
97
+ content: "\e679";
98
+ }
99
+
100
+ .icon-tupian_huaban:before {
101
+ content: "\e691";
102
+ }
103
+
104
+ .icon-lajixiang:before {
105
+ content: "\e60f";
106
+ }
107
+
108
+ .icon-weibiaoti--:before {
109
+ content: "\e60e";
110
+ }
111
+
112
+ .icon-tupiancuowu:before {
113
+ content: "\e677";
114
+ }
115
+
116
+ .icon-suoding:before {
117
+ content: "\e601";
118
+ }
119
+
120
+ .icon-jiesuo:before {
121
+ content: "\e602";
122
+ }
123
+
124
+ .icon-shaixuan:before {
125
+ content: "\e670";
126
+ }
127
+
128
+ .icon-zhengque:before {
129
+ content: "\e62d";
130
+ }
131
+
132
+ .icon-plus:before {
133
+ content: "\e681";
134
+ }
135
+
136
+ .icon-taiyang:before {
137
+ content: "\e611";
138
+ }
139
+
140
+ .icon-yueliang_fill:before {
141
+ content: "\e6df";
142
+ }
143
+
144
+ .icon-CombinedShape-:before {
145
+ content: "\e688";
146
+ }
147
+
148
+ .icon-dashbord:before {
149
+ content: "\e71c";
150
+ }
151
+
152
+ .icon-fangda:before {
153
+ content: "\e615";
154
+ }
155
+
156
+ .icon-suoxiao:before {
157
+ content: "\e616";
158
+ }
159
+
160
+ .icon-shangjiantou:before {
161
+ content: "\e610";
162
+ }
163
+
164
+ .icon-baobiaozhongxin:before {
165
+ content: "\e634";
166
+ }
167
+
168
+ .icon-icon-arrow-left:before {
169
+ content: "\e664";
170
+ }
171
+
172
+ .icon-icon-arrow-right:before {
173
+ content: "\e666";
174
+ }
175
+
176
+ .icon-shouqi:before {
177
+ content: "\e6b8";
178
+ }
179
+
180
+ .icon-edit:before {
181
+ content: "\e62c";
182
+ }
183
+
184
+ .icon-tuozhuai:before {
185
+ content: "\e683";
186
+ }
187
+
188
+ .icon-close:before {
189
+ content: "\e668";
190
+ }
191
+
192
+ .icon-logo2:before {
193
+ content: "\e684";
194
+ }
195
+
196
+ .icon-logo1:before {
197
+ content: "\e685";
198
+ }
199
+
200
+ .icon-shezhi:before {
201
+ content: "\e632";
202
+ }
203
+
204
+ .icon-jiazaizhong:before {
205
+ content: "\e693";
206
+ }
207
+
208
+ .icon-shenqingtuikuanchenggong:before {
209
+ content: "\e614";
210
+ }
211
+
212
+ .icon-cuowu:before {
213
+ content: "\e70d";
214
+ }
215
+
216
+ .icon-jingshi:before {
217
+ content: "\e631";
218
+ }
219
+
220
+ .icon-daiban:before {
221
+ content: "\e642";
222
+ }
223
+
224
+ .icon-xiala:before {
225
+ content: "\e6aa";
226
+ }
227
+
228
+ .icon-sidebar-toggle:before {
229
+ content: "\e600";
230
+ }
231
+
232
+ .icon-sousuo:before {
233
+ content: "\e603";
234
+ }
235
+
236
+ .icon-tishi_mian:before {
237
+ content: "\e6e2";
238
+ }
239
+
240
+ .icon-bangzhu:before {
241
+ content: "\e620";
242
+ }
243
+
244
+ .icon-youjian-xianxing:before {
245
+ content: "\ea57";
246
+ }
247
+
Binary file
Binary file
@@ -0,0 +1,111 @@
1
+ @import "./element/index.css";
2
+ @import "./element/common_class.less";
3
+ @import "./theme/theme.less";
4
+ @import "./variables.less";
5
+
6
+ body {
7
+ color: var(--font-white-2);
8
+ font-family: var(--font-family) !important;
9
+ font-size: var(--font-size-base);
10
+ -webkit-font-smoothing: antialiased;
11
+ padding: 0px;
12
+ margin: 0px;
13
+ --footer-height: 40px;
14
+ --header-height: 63px;
15
+ }
16
+
17
+ html {
18
+ padding: 0px;
19
+ }
20
+
21
+ pre {
22
+ font-family: var(--font-family);
23
+ }
24
+
25
+ a {
26
+ text-decoration: none;
27
+ }
28
+
29
+ ul,
30
+ dl,
31
+ li,
32
+ dd,
33
+ dt {
34
+ margin: 0;
35
+ padding: 0;
36
+ list-style: none;
37
+ }
38
+
39
+ figure,
40
+ h1,
41
+ h2,
42
+ h3,
43
+ h4,
44
+ h5,
45
+ h6,
46
+ p,
47
+ span {
48
+ margin: 0;
49
+ }
50
+
51
+ * {
52
+ box-sizing: border-box;
53
+ }
54
+
55
+ // 滚动条样式
56
+ html,
57
+ body,
58
+ div,
59
+ section {
60
+ &::-webkit-scrollbar {
61
+ // width: 16px;
62
+ // height: 16px;
63
+ background: transparent;
64
+ }
65
+
66
+ &::-webkit-scrollbar-corner {
67
+ width: 0px;
68
+ }
69
+
70
+ &::-webkit-scrollbar-thumb {
71
+ // border-radius: 8px;
72
+ border: 4px solid transparent;
73
+ background-clip: content-box;
74
+ background-color: var(--color-gray-d);
75
+ }
76
+
77
+ &::-webkit-scrollbar-track {
78
+ background: transparent;
79
+ }
80
+ }
81
+
82
+ body,
83
+ button,
84
+ input,
85
+ optgroup,
86
+ select,
87
+ textarea,
88
+ span,
89
+ p,
90
+ h1,
91
+ h2,
92
+ h3,
93
+ h4,
94
+ h5,
95
+ h6 {
96
+ font-family: var(--font-family) !important;
97
+ }
98
+
99
+ @keyframes to-visible {
100
+ 0% {
101
+ opacity: 0;
102
+ }
103
+
104
+ 100% {
105
+ opacity: 100;
106
+ }
107
+ }
108
+
109
+ #nprogress .bar {
110
+ background: var(--color-primary) !important;
111
+ }
@@ -0,0 +1,151 @@
1
+ :root,
2
+ :root[theme-mode="dark"] {
3
+ // 主题色
4
+ --color-primary: rgba(0, 83, 217, 0.9);
5
+ --color-active-primary: #2170f1;
6
+ // 背景色
7
+ --bg-white: #242424;
8
+ --bg-primary: #f0f6fc;
9
+ --bg-gray: var(--color-gray-m);
10
+ // 用于switch check radio
11
+ --bg-check: #242424;
12
+ // hover颜色
13
+ --hover-light-primary: var(--color-gray-s);
14
+ // 灰色类型
15
+ --color-gray-d: #2c2c2c;
16
+ --color-gray-m: #383838;
17
+ --color-gray-s: #2c2c2c;
18
+ // 字体颜色
19
+ --font-color-d: rgba(255, 255, 255, 0.9);
20
+ --font-color-m: rgba(255, 255, 255, 0.55);
21
+ --font-color-s: rgba(255, 255, 255, 0.35);
22
+ --font-color-ds: rgba(255, 255, 255, 0.22);
23
+ --form-label-color: rgba(255, 255, 255, 0.75);
24
+ // 阴影
25
+ // 下拉 使用的组件包括:下拉菜单 / 气泡确认框 / 选择器 /
26
+ --shadow-down: 0px 4px 10px rgba(0, 0, 0, 0.06);
27
+ // fixed 使用的组件包括:全局提示 / 消息通知
28
+ --shadow-fixed: 0px 16px 24px rgba(0, 0, 0, 0.14),
29
+ 0px 6px 30px rgba(0, 0, 0, 0.12), 0px 8px 10px rgba(0, 0, 0, 0.2);
30
+ // table border颜色
31
+ --color-table-border: var(--color-border);
32
+ // tooltip 背景颜色
33
+ --color-tooltip: var(--color-gray-d);
34
+ //
35
+
36
+
37
+
38
+
39
+ /* CSS Document */
40
+
41
+ /** code highlight */
42
+
43
+ .cm-s-inner .cm-variable,
44
+ .cm-s-inner .cm-operator,
45
+ .cm-s-inner .cm-property {
46
+ color: #b8bfc6;
47
+ }
48
+
49
+ .cm-s-inner .cm-keyword {
50
+ color: #c88fd0;
51
+ }
52
+
53
+ .cm-s-inner .cm-tag {
54
+ color: #7df46a;
55
+ }
56
+
57
+ .cm-s-inner .cm-attribute {
58
+ color: #7575e4;
59
+ }
60
+
61
+ .CodeMirror div.CodeMirror-cursor {
62
+ border-left: 1px solid #b8bfc6;
63
+ z-index: 3;
64
+ }
65
+
66
+ .cm-s-inner .cm-string {
67
+ color: #d26b6b;
68
+ }
69
+
70
+ .cm-s-inner .cm-comment,
71
+ .cm-s-inner.cm-comment {
72
+ color: #da924a;
73
+ }
74
+
75
+ .cm-s-inner .cm-header,
76
+ .cm-s-inner .cm-def,
77
+ .cm-s-inner.cm-header,
78
+ .cm-s-inner.cm-def {
79
+ color: #8d8df0;
80
+ }
81
+
82
+ .cm-s-inner .cm-quote,
83
+ .cm-s-inner.cm-quote {
84
+ color: #57ac57;
85
+ }
86
+
87
+ .cm-s-inner .cm-hr {
88
+ color: #d8d5d5;
89
+ }
90
+
91
+ .cm-s-inner .cm-link {
92
+ color: #d3d3ef;
93
+ }
94
+
95
+ .cm-s-inner .cm-negative {
96
+ color: #d95050;
97
+ }
98
+
99
+ .cm-s-inner .cm-positive {
100
+ color: #50e650;
101
+ }
102
+
103
+ .cm-s-inner .cm-string-2 {
104
+ color: #f50;
105
+ }
106
+
107
+ .cm-s-inner .cm-meta,
108
+ .cm-s-inner .cm-qualifier {
109
+ color: #b7b3b3;
110
+ }
111
+
112
+ .cm-s-inner .cm-builtin {
113
+ color: #f3b3f8;
114
+ }
115
+
116
+ .cm-s-inner .cm-bracket {
117
+ color: #997;
118
+ }
119
+
120
+ .cm-s-inner .cm-atom,
121
+ .cm-s-inner.cm-atom {
122
+ color: #84b6cb;
123
+ }
124
+
125
+ .cm-s-inner .cm-number {
126
+ color: #64ab8f;
127
+ }
128
+
129
+ .cm-s-inner .cm-variable {
130
+ color: #b8bfc6;
131
+ }
132
+
133
+ .cm-s-inner .cm-variable-2 {
134
+ color: #9fbad5;
135
+ }
136
+
137
+ .cm-s-inner .cm-variable-3 {
138
+ color: #1cc685;
139
+ }
140
+
141
+ .CodeMirror-selectedtext,
142
+ .CodeMirror-selected {
143
+ background: #4a89dc;
144
+ color: #fff !important;
145
+ text-shadow: none;
146
+ }
147
+
148
+ .CodeMirror-gutters {
149
+ border-right: none;
150
+ }
151
+ }
@@ -0,0 +1,37 @@
1
+ :root,
2
+ :root[theme-mode="light"] {
3
+ // 主题色
4
+ --color-primary: rgb(0, 82, 217);
5
+ --color-active-primary: #2170f1;
6
+ // 背景色
7
+ --bg-white: #fff;
8
+ --bg-primary: #f0f6fc;
9
+ --bg-gray: var(--color-gray-m);
10
+ // 用于switch check radio
11
+ --bg-check: #fff;
12
+ // hover颜色
13
+ --hover-light-primary: #deebff;
14
+ //滚动条样式
15
+ --scrollbar-color: #1f23392d;
16
+ // 灰色类型
17
+ --color-gray-d: #dfe1e6;
18
+ --color-gray-m: #f4f5f7;
19
+ --color-gray-s: #f7f7f7;
20
+ // 字体颜色
21
+ --font-color-d: #172b4d;
22
+ --font-color-m: #344563;
23
+ --font-color-s: #5e6c84;
24
+ --font-color-ds: #8f959e;
25
+ // 字体颜色 按钮等primary 里面文字的白色非必要不要改
26
+ --text-white: white;
27
+ --form-label-color: #42526e;
28
+ // 下拉 使用的组件包括:下拉菜单 / 气泡确认框 / 选择器 /
29
+ --shadow-down: 0px 4px 10px rgba(0, 0, 0, 0.05);
30
+ // fixed 使用的组件包括:全局提示 / 消息通知
31
+ --shadow-fixed: 0px 6px 30px 5px rgba(0, 0, 0, 0.05),
32
+ 0px 16px 24px 2px rgba(0, 0, 0, 0.04), 0px 8px 10px -5px rgba(0, 0, 0, 0.08);
33
+ // table border颜色
34
+ --color-table-border: var(--color-gray-d);
35
+ // tooltip 背景颜色
36
+ --color-tooltip: #242424;
37
+ }
@@ -0,0 +1,2 @@
1
+ @import "./light.less";
2
+ @import "./dark.less";
@@ -0,0 +1,88 @@
1
+ pre code.hljs {
2
+ display: block;
3
+ overflow-x: auto;
4
+ padding: 1em;
5
+ }
6
+ code.hljs {
7
+ padding: 3px 5px;
8
+ } /*!
9
+ Theme: Tokyo-night-Dark
10
+ origin: https://github.com/enkia/tokyo-night-vscode-theme
11
+ Description: Original highlight.js style
12
+ Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
13
+ License: see project LICENSE
14
+ Touched: 2022
15
+ */
16
+ .hljs-comment,
17
+ .hljs-meta {
18
+ color: #565f89;
19
+ }
20
+ .hljs-deletion,
21
+ .hljs-doctag,
22
+ .hljs-regexp,
23
+ .hljs-selector-attr,
24
+ .hljs-selector-class,
25
+ .hljs-selector-id,
26
+ .hljs-selector-pseudo,
27
+ .hljs-tag,
28
+ .hljs-template-tag,
29
+ .hljs-variable.language_ {
30
+ color: #f7768e;
31
+ }
32
+ .hljs-link,
33
+ .hljs-literal,
34
+ .hljs-number,
35
+ .hljs-params,
36
+ .hljs-template-variable,
37
+ .hljs-type,
38
+ .hljs-variable {
39
+ color: #ff9e64;
40
+ }
41
+ .hljs-attribute,
42
+ .hljs-built_in {
43
+ color: #e0af68;
44
+ }
45
+ .hljs-keyword,
46
+ .hljs-property,
47
+ .hljs-subst,
48
+ .hljs-title,
49
+ .hljs-title.class_,
50
+ .hljs-title.class_.inherited__,
51
+ .hljs-title.function_ {
52
+ color: #7dcfff;
53
+ }
54
+ .hljs-selector-tag {
55
+ color: #73daca;
56
+ }
57
+ .hljs-addition,
58
+ .hljs-bullet,
59
+ .hljs-quote,
60
+ .hljs-string,
61
+ .hljs-symbol {
62
+ color: #9ece6a;
63
+ }
64
+ .hljs-code,
65
+ .hljs-formula,
66
+ .hljs-section {
67
+ color: #7aa2f7;
68
+ }
69
+ .hljs-attr,
70
+ .hljs-char.escape_,
71
+ .hljs-keyword,
72
+ .hljs-name,
73
+ .hljs-operator {
74
+ color: #bb9af7;
75
+ }
76
+ .hljs-punctuation {
77
+ color: #c0caf5;
78
+ }
79
+ .hljs {
80
+ background: #1a1b26;
81
+ color: #9aa5ce;
82
+ }
83
+ .hljs-emphasis {
84
+ font-style: italic;
85
+ }
86
+ .hljs-strong {
87
+ font-weight: 700;
88
+ }
@@ -0,0 +1,72 @@
1
+ :root {
2
+ //
3
+ --hover-gray: var(--color-gray-m);
4
+ --hover-primary: var(--color-active-primary);
5
+ // 图标颜色
6
+ --icon-color-d: var(--font-color-m);
7
+ --icon-color-m: var(--font-color-s);
8
+ --icon-color-s: var(--font-color-ds);
9
+ // 阴影
10
+ --shadow: 0px 2px 4px #0000001f, 0 0 6px #0000001f;
11
+ --shadow-2: 0px 1px 1px rgba(9, 30, 66, 0.25),
12
+ 0px 0px 1px 0px rgba(9, 30, 66, 0.13);
13
+ // 字重
14
+ --font-weight-m: 300;
15
+ --font-weight-g: 500;
16
+ --font-weight-kg: bold;
17
+ // 字体大小
18
+ --font-size: 10px;
19
+ --font-white-2: rgba(255, 255, 255, 0.55);
20
+ --font-size-s: calc(var(--font-size) * 1.2); // 字号-五级字号 12
21
+ --font-size-base: calc(var(--font-size) * 1.4); // 字号-四级字号 14
22
+ --font-size-l: calc(var(--font-size) * 1.6); // 字号-三级字号 16
23
+ --font-size-xl: calc(var(--font-size) * 2); // 字号-二级字号 20
24
+ --font-size-xxl: calc(var(--font-size) * 3.6); // 字号-一级字号 36
25
+ // 字号
26
+ --font-family: TencentSansW7, -apple-system, BlinkMacSystemFont, Segoe UI,
27
+ Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
28
+ // 图标尺寸
29
+ --icon-size-s: 12px;
30
+ --icon-size-base: 14px;
31
+ --icon-size-l: 18px;
32
+ // 内边距
33
+ --padding: 2px;
34
+ // 外边距
35
+ --margin: 2px;
36
+ // 圆角
37
+ --radius: 2px;
38
+ // 外边距 倍数
39
+ --margin-1: calc(var(--margin) * 1);
40
+ --margin-2: calc(var(--margin) * 2);
41
+ --margin-3: calc(var(--margin) * 3);
42
+ --margin-4: calc(var(--margin) * 4);
43
+ --margin-5: calc(var(--margin) * 5);
44
+ // 内边距倍数
45
+ --padding-1: calc(var(--padding) * 1);
46
+ --padding-2: calc(var(--padding) * 2);
47
+ --padding-3: calc(var(--padding) * 3);
48
+ --padding-4: calc(var(--padding) * 4);
49
+ --padding-5: calc(var(--padding) * 5);
50
+ // transition动画
51
+ --easing: cubic-bezier(0.38, 0, 0.24, 1);
52
+ --ease-out: cubic-bezier(0, 0, 0.15, 1);
53
+ --ease-in: cubic-bezier(0.82, 0, 1, 0.9);
54
+ // border颜色
55
+ --color-border: var(--color-gray-m);
56
+ --color-border-d: var(--font-color-s);
57
+ // 辅助色
58
+ // 字体颜色
59
+ --text-white: white;
60
+ --text-black: #333;
61
+ // 选择类的背景色
62
+ //警告色
63
+ --color-warn: #ff991f;
64
+ //错误色
65
+ --color-error: #ff5630;
66
+ // 成功
67
+ --color-success: #34c724;
68
+ // 信息类
69
+ --color-info: var(--color-gray-d);
70
+ //滚动条样式
71
+ --scrollbar-color: #4b4b4be6;
72
+ }