element-sim 1.0.2 → 1.0.3
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/CHANGELOG.es.md +3 -1
- package/CHANGELOG.zh-CN.md +2 -2065
- package/package.json +1 -1
- package/packages/theme-chalk/src/breadcrumb.scss +16 -12
- package/src/index.js +51 -51
package/package.json
CHANGED
|
@@ -22,19 +22,23 @@
|
|
|
22
22
|
float: left;
|
|
23
23
|
|
|
24
24
|
@include e(inner) {
|
|
25
|
-
color: $--color-text-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
text-decoration: none;
|
|
30
|
-
transition: $--color-transition-base;
|
|
25
|
+
color: $--color-text-secondary;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
cursor: pointer;
|
|
31
29
|
color: $--color-text-primary;
|
|
32
|
-
|
|
33
|
-
&:hover {
|
|
34
|
-
color: $--color-primary;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
30
|
}
|
|
31
|
+
// &.is-link, & a {
|
|
32
|
+
// font-weight: 400;
|
|
33
|
+
// text-decoration: none;
|
|
34
|
+
// transition: $--color-transition-base;
|
|
35
|
+
// color: $--color-text-primary;
|
|
36
|
+
|
|
37
|
+
// &:hover {
|
|
38
|
+
// color: $--color-text-primary;
|
|
39
|
+
// cursor: pointer;
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
&:last-child {
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
.el-breadcrumb__inner a {
|
|
43
47
|
&, &:hover {
|
|
44
48
|
font-weight: normal;
|
|
45
|
-
color: $--color-text-
|
|
49
|
+
color: $--color-text-primary;
|
|
46
50
|
cursor: text;
|
|
47
51
|
}
|
|
48
52
|
}
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* Automatically generated by './build/bin/build-entry.js' */
|
|
2
|
-
|
|
1
|
+
/* Automatically generated by './build/bin/build-entry.js' */
|
|
2
|
+
|
|
3
3
|
import Pagination from '../packages/pagination/index.js';
|
|
4
4
|
import Dialog from '../packages/dialog/index.js';
|
|
5
5
|
import Autocomplete from '../packages/autocomplete/index.js';
|
|
@@ -88,11 +88,11 @@ import SkeletonItem from '../packages/skeleton-item/index.js';
|
|
|
88
88
|
import Empty from '../packages/empty/index.js';
|
|
89
89
|
import Descriptions from '../packages/descriptions/index.js';
|
|
90
90
|
import DescriptionsItem from '../packages/descriptions-item/index.js';
|
|
91
|
-
import Result from '../packages/result/index.js';
|
|
92
|
-
import locale from 'element-sim/src/locale';
|
|
93
|
-
import CollapseTransition from 'element-sim/src/transitions/collapse-transition';
|
|
94
|
-
|
|
95
|
-
const components = [
|
|
91
|
+
import Result from '../packages/result/index.js';
|
|
92
|
+
import locale from 'element-sim/src/locale';
|
|
93
|
+
import CollapseTransition from 'element-sim/src/transitions/collapse-transition';
|
|
94
|
+
|
|
95
|
+
const components = [
|
|
96
96
|
Pagination,
|
|
97
97
|
Dialog,
|
|
98
98
|
Autocomplete,
|
|
@@ -176,48 +176,48 @@ const components = [
|
|
|
176
176
|
Empty,
|
|
177
177
|
Descriptions,
|
|
178
178
|
DescriptionsItem,
|
|
179
|
-
Result,
|
|
180
|
-
CollapseTransition
|
|
181
|
-
];
|
|
182
|
-
|
|
183
|
-
const install = function(Vue, opts = {}) {
|
|
184
|
-
locale.use(opts.locale);
|
|
185
|
-
locale.i18n(opts.i18n);
|
|
186
|
-
|
|
187
|
-
components.forEach(component => {
|
|
188
|
-
Vue.component(component.name, component);
|
|
189
|
-
});
|
|
190
|
-
|
|
191
|
-
Vue.use(InfiniteScroll);
|
|
192
|
-
Vue.use(Loading.directive);
|
|
193
|
-
|
|
194
|
-
Vue.prototype.$ELEMENT = {
|
|
195
|
-
size: opts.size || '',
|
|
196
|
-
zIndex: opts.zIndex || 2000
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
Vue.prototype.$loading = Loading.service;
|
|
200
|
-
Vue.prototype.$msgbox = MessageBox;
|
|
201
|
-
Vue.prototype.$alert = MessageBox.alert;
|
|
202
|
-
Vue.prototype.$confirm = MessageBox.confirm;
|
|
203
|
-
Vue.prototype.$prompt = MessageBox.prompt;
|
|
204
|
-
Vue.prototype.$notify = Notification;
|
|
205
|
-
Vue.prototype.$message = Message;
|
|
206
|
-
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
/* istanbul ignore if */
|
|
210
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
211
|
-
install(window.Vue);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export default {
|
|
215
|
-
version: '1.0.
|
|
216
|
-
locale: locale.use,
|
|
217
|
-
i18n: locale.i18n,
|
|
218
|
-
install,
|
|
219
|
-
CollapseTransition,
|
|
220
|
-
Loading,
|
|
179
|
+
Result,
|
|
180
|
+
CollapseTransition
|
|
181
|
+
];
|
|
182
|
+
|
|
183
|
+
const install = function(Vue, opts = {}) {
|
|
184
|
+
locale.use(opts.locale);
|
|
185
|
+
locale.i18n(opts.i18n);
|
|
186
|
+
|
|
187
|
+
components.forEach(component => {
|
|
188
|
+
Vue.component(component.name, component);
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
Vue.use(InfiniteScroll);
|
|
192
|
+
Vue.use(Loading.directive);
|
|
193
|
+
|
|
194
|
+
Vue.prototype.$ELEMENT = {
|
|
195
|
+
size: opts.size || '',
|
|
196
|
+
zIndex: opts.zIndex || 2000
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
Vue.prototype.$loading = Loading.service;
|
|
200
|
+
Vue.prototype.$msgbox = MessageBox;
|
|
201
|
+
Vue.prototype.$alert = MessageBox.alert;
|
|
202
|
+
Vue.prototype.$confirm = MessageBox.confirm;
|
|
203
|
+
Vue.prototype.$prompt = MessageBox.prompt;
|
|
204
|
+
Vue.prototype.$notify = Notification;
|
|
205
|
+
Vue.prototype.$message = Message;
|
|
206
|
+
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/* istanbul ignore if */
|
|
210
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
211
|
+
install(window.Vue);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export default {
|
|
215
|
+
version: '1.0.2',
|
|
216
|
+
locale: locale.use,
|
|
217
|
+
i18n: locale.i18n,
|
|
218
|
+
install,
|
|
219
|
+
CollapseTransition,
|
|
220
|
+
Loading,
|
|
221
221
|
Pagination,
|
|
222
222
|
Dialog,
|
|
223
223
|
Autocomplete,
|
|
@@ -305,5 +305,5 @@ export default {
|
|
|
305
305
|
Empty,
|
|
306
306
|
Descriptions,
|
|
307
307
|
DescriptionsItem,
|
|
308
|
-
Result
|
|
309
|
-
};
|
|
308
|
+
Result
|
|
309
|
+
};
|