sone-ui-component-3.2.4 2.0.275 → 2.0.277
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/lib/sone-ui.common.js +84 -116
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +84 -116
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +3 -3
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/table/src/main.vue +2 -0
- package/src/index.js +32 -32
- package/src/styles/tree.scss +3 -3
package/package.json
CHANGED
|
@@ -465,6 +465,7 @@
|
|
|
465
465
|
:prop="column.prop"
|
|
466
466
|
:width="column.width"
|
|
467
467
|
:align="column.hasOwnProperty('align') ? column.align : 'left'"
|
|
468
|
+
:show-overflow-tooltip="false"
|
|
468
469
|
filter-placement="bottom-end"
|
|
469
470
|
:header-align="column.hasOwnProperty('headerAlign') ? column.headerAlign : 'left'"
|
|
470
471
|
v-else-if="column.hasOwnProperty('istrue')?column.istrue:true"
|
|
@@ -482,6 +483,7 @@
|
|
|
482
483
|
:min-width="childColumn.minWidth"
|
|
483
484
|
:prop="childColumn.prop"
|
|
484
485
|
:width="childColumn.width"
|
|
486
|
+
:show-overflow-tooltip="false"
|
|
485
487
|
:align="childColumn.hasOwnProperty('align') ? childColumn.align : 'left'"
|
|
486
488
|
filter-placement="bottom-end"
|
|
487
489
|
:header-align="childColumn.hasOwnProperty('headerAlign') ? childColumn.headerAlign : 'left'"
|
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 Container from '../packages/container/index.js';
|
|
4
4
|
import MessageBox from '../packages/messageBox/index.js';
|
|
5
5
|
import Tree from '../packages/tree/index.js';
|
|
@@ -16,10 +16,10 @@ import Editor from '../packages/editor/index.js';
|
|
|
16
16
|
import InputNumber from '../packages/inputNumber/index.js';
|
|
17
17
|
import Cascader from '../packages/cascader/index.js';
|
|
18
18
|
import Autocomplete from '../packages/autocomplete/index.js';
|
|
19
|
-
import FileUpload from '../packages/fileUpload/index.js';
|
|
20
|
-
import locale from 'sone-ui-component/src/locale';
|
|
21
|
-
import 'sone-ui-component/src/utils/directives.js';
|
|
22
|
-
const components = [
|
|
19
|
+
import FileUpload from '../packages/fileUpload/index.js';
|
|
20
|
+
import locale from 'sone-ui-component/src/locale';
|
|
21
|
+
import 'sone-ui-component/src/utils/directives.js';
|
|
22
|
+
const components = [
|
|
23
23
|
Container,
|
|
24
24
|
MessageBox,
|
|
25
25
|
Tree,
|
|
@@ -35,30 +35,30 @@ const components = [
|
|
|
35
35
|
InputNumber,
|
|
36
36
|
Cascader,
|
|
37
37
|
Autocomplete,
|
|
38
|
-
FileUpload
|
|
39
|
-
];
|
|
40
|
-
|
|
41
|
-
const install = function(Vue, opts = {}) {
|
|
42
|
-
locale.use(opts.locale);
|
|
43
|
-
locale.i18n(opts.i18n);
|
|
44
|
-
|
|
45
|
-
components.forEach(component => {
|
|
46
|
-
Vue.component(component.name, component);
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
Vue.prototype.$watermark = Watermark;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/* istanbul ignore if */
|
|
53
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
54
|
-
install(window.Vue);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export default {
|
|
58
|
-
version: '2.0.
|
|
59
|
-
locale: locale.use,
|
|
60
|
-
i18n: locale.i18n,
|
|
61
|
-
install,
|
|
38
|
+
FileUpload
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
const install = function(Vue, opts = {}) {
|
|
42
|
+
locale.use(opts.locale);
|
|
43
|
+
locale.i18n(opts.i18n);
|
|
44
|
+
|
|
45
|
+
components.forEach(component => {
|
|
46
|
+
Vue.component(component.name, component);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
Vue.prototype.$watermark = Watermark;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/* istanbul ignore if */
|
|
53
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
54
|
+
install(window.Vue);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export default {
|
|
58
|
+
version: '2.0.276',
|
|
59
|
+
locale: locale.use,
|
|
60
|
+
i18n: locale.i18n,
|
|
61
|
+
install,
|
|
62
62
|
Container,
|
|
63
63
|
MessageBox,
|
|
64
64
|
Tree,
|
|
@@ -75,5 +75,5 @@ export default {
|
|
|
75
75
|
InputNumber,
|
|
76
76
|
Cascader,
|
|
77
77
|
Autocomplete,
|
|
78
|
-
FileUpload
|
|
79
|
-
};
|
|
78
|
+
FileUpload
|
|
79
|
+
};
|
package/src/styles/tree.scss
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
background: #ffffff;
|
|
62
62
|
position: absolute;
|
|
63
63
|
right: 10px;top:20px;
|
|
64
|
-
z-index:
|
|
64
|
+
z-index: 12;
|
|
65
65
|
div{
|
|
66
66
|
min-height: 30px;
|
|
67
67
|
line-height:30px;
|
|
@@ -182,10 +182,10 @@
|
|
|
182
182
|
height: 26px;
|
|
183
183
|
position: absolute;
|
|
184
184
|
left: 0;
|
|
185
|
-
z-index:
|
|
185
|
+
z-index: 10;
|
|
186
186
|
}
|
|
187
187
|
.sone-tree-wrap .el-tree-node__content > .el-tree-node__expand-icon {
|
|
188
|
-
z-index:
|
|
188
|
+
z-index: 11;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.sone-components-tree-more-btn-color{
|