sone-ui-component-3.2.4 2.0.279 → 2.0.281

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.0.279",
3
+ "version": "2.0.281",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
package/src/index.js CHANGED
@@ -1,13 +1,5 @@
1
- /*
2
- * @Descripttion: your project
3
- * @version: 1.0
4
- * @Author: lw
5
- * @Date: 2024-06-18 18:13:40
6
- * @LastEditors: lw
7
- * @LastEditTime: 2024-06-18 18:38:18
8
- */
9
- /* Automatically generated by './build/bin/build-entry.js' */
10
-
1
+ /* Automatically generated by './build/bin/build-entry.js' */
2
+
11
3
  import Container from '../packages/container/index.js';
12
4
  import MessageBox from '../packages/messageBox/index.js';
13
5
  import Tree from '../packages/tree/index.js';
@@ -24,10 +16,10 @@ import Editor from '../packages/editor/index.js';
24
16
  import InputNumber from '../packages/inputNumber/index.js';
25
17
  import Cascader from '../packages/cascader/index.js';
26
18
  import Autocomplete from '../packages/autocomplete/index.js';
27
- import FileUpload from '../packages/fileUpload/index.js';
28
- import locale from 'sone-ui-component/src/locale';
29
- import 'sone-ui-component/src/utils/directives.js';
30
- 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 = [
31
23
  Container,
32
24
  MessageBox,
33
25
  Tree,
@@ -43,30 +35,30 @@ const components = [
43
35
  InputNumber,
44
36
  Cascader,
45
37
  Autocomplete,
46
- FileUpload
47
- ];
48
-
49
- const install = function(Vue, opts = {}) {
50
- locale.use(opts.locale);
51
- locale.i18n(opts.i18n);
52
-
53
- components.forEach(component => {
54
- Vue.component(component.name, component);
55
- });
56
-
57
- Vue.prototype.$watermark = Watermark;
58
- };
59
-
60
- /* istanbul ignore if */
61
- if (typeof window !== 'undefined' && window.Vue) {
62
- install(window.Vue);
63
- }
64
-
65
- export default {
66
- version: '2.0.279',
67
- locale: locale.use,
68
- i18n: locale.i18n,
69
- 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.281',
59
+ locale: locale.use,
60
+ i18n: locale.i18n,
61
+ install,
70
62
  Container,
71
63
  MessageBox,
72
64
  Tree,
@@ -83,5 +75,5 @@ export default {
83
75
  InputNumber,
84
76
  Cascader,
85
77
  Autocomplete,
86
- FileUpload
87
- };
78
+ FileUpload
79
+ };