sone-ui-component-3.2.4 2.0.277 → 2.0.278
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 +118 -84
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +118 -84
- 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/src/index.js +32 -32
- package/src/styles/form.scss +1 -1
package/package.json
CHANGED
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.278',
|
|
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
|
+
};
|