xt-element-ui 1.3.2 → 1.3.4

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 (112) hide show
  1. package/CHANGELOG.md +72 -72
  2. package/LICENSE +21 -21
  3. package/README.md +240 -240
  4. package/docs/README.md +100 -100
  5. package/docs/components/base/xt-button.md +114 -114
  6. package/docs/components/base/xt-card-item.md +104 -104
  7. package/docs/components/base/xt-card.md +108 -108
  8. package/docs/components/base/xt-config-provider.md +199 -199
  9. package/docs/components/base/xt-flex-box.md +115 -115
  10. package/docs/components/base/xt-grid-box.md +302 -302
  11. package/docs/components/base/xt-input.md +150 -150
  12. package/docs/components/base/xt-map-provider.md +23 -0
  13. package/docs/components/base/xt-map.md +331 -331
  14. package/docs/components/base/xt-step-price.md +165 -165
  15. package/docs/components/base/xt-text.md +212 -212
  16. package/docs/components/base/xt-time.md +165 -165
  17. package/docs/components/extend/ex-bar.md +67 -67
  18. package/docs/components/extend/ex-button.md +62 -62
  19. package/docs/components/extend/ex-card.md +86 -86
  20. package/docs/components/extend/ex-chart.md +463 -463
  21. package/docs/components/extend/ex-icon.md +189 -189
  22. package/docs/components/extend/ex-line.md +70 -70
  23. package/docs/components/extend/ex-multi.md +155 -155
  24. package/docs/components/extend/ex-pie.md +69 -69
  25. package/docs/components/extend/ex-select-tree.md +210 -210
  26. package/docs/components/extend/ex-table.md +590 -590
  27. package/docs/components/extend/ex-upload.md +134 -134
  28. package/docs/components/utils/size.md +147 -147
  29. package/docs/components/utils/theme.md +182 -182
  30. package/lib/index.common.js +4131 -4162
  31. package/lib/index.css +1 -1
  32. package/lib/index.umd.js +4099 -4129
  33. package/lib/index.umd.min.js +3 -3
  34. package/package.json +80 -81
  35. package/src/components/ex-button/index.js +7 -7
  36. package/src/components/ex-button/index.vue +66 -66
  37. package/src/components/ex-button/style/index.scss +67 -67
  38. package/src/components/ex-card/index.js +7 -7
  39. package/src/components/ex-card/index.vue +68 -68
  40. package/src/components/ex-card/style/index.scss +73 -73
  41. package/src/components/ex-chart/index.js +7 -7
  42. package/src/components/ex-chart/index.vue +136 -136
  43. package/src/components/ex-date-picker/index.js +7 -7
  44. package/src/components/ex-icon/index.js +7 -7
  45. package/src/components/ex-icon/index.vue +168 -168
  46. package/src/components/ex-icon/style/index.scss +7 -7
  47. package/src/components/ex-page/index.js +7 -7
  48. package/src/components/ex-select-tree/index.js +7 -7
  49. package/src/components/ex-table/ExTableCell.vue +22 -22
  50. package/src/components/ex-table/index.js +7 -7
  51. package/src/components/ex-table/virtualScrollData.js +35 -35
  52. package/src/components/ex-upload/index.js +7 -7
  53. package/src/components/index.scss +39 -39
  54. package/src/components/xt-button/index.js +7 -7
  55. package/src/components/xt-button/index.vue +97 -97
  56. package/src/components/xt-card/index.js +7 -7
  57. package/src/components/xt-card/style/index.scss +48 -48
  58. package/src/components/xt-card-item/index.js +7 -7
  59. package/src/components/xt-card-item/style/index copy.scss +71 -71
  60. package/src/components/xt-card-item/style/index.scss +82 -82
  61. package/src/components/xt-config-provider/index.js +7 -7
  62. package/src/components/xt-config-provider/index.vue +362 -362
  63. package/src/components/xt-config-provider/style/index.scss +11 -11
  64. package/src/components/xt-flex-box/index.js +7 -7
  65. package/src/components/xt-flex-box/style/index.scss +81 -81
  66. package/src/components/xt-grid-box/index.js +7 -7
  67. package/src/components/xt-grid-box/style/index.scss +92 -92
  68. package/src/components/xt-grid-item/index.js +7 -7
  69. package/src/components/xt-grid-item/index.vue +106 -106
  70. package/src/components/xt-input/index.js +7 -7
  71. package/src/components/xt-input/index.vue +66 -66
  72. package/src/components/xt-input/style/index.scss +84 -84
  73. package/src/components/xt-map/adapters/amap.js +235 -235
  74. package/src/components/xt-map/adapters/baidu.js +254 -254
  75. package/src/components/xt-map/adapters/base.js +267 -267
  76. package/src/components/xt-map/adapters/index.js +29 -29
  77. package/src/components/xt-map/adapters/tianditu.js +242 -242
  78. package/src/components/xt-map/config/xt-map-config.js +197 -197
  79. package/src/components/xt-map/index.js +8 -30
  80. package/src/components/xt-map/index.vue +351 -351
  81. package/src/components/xt-map/loaders/script-loader.js +114 -114
  82. package/src/components/xt-map/provider.vue +200 -200
  83. package/src/components/xt-map/style/index.scss +77 -77
  84. package/src/components/xt-map-provider/index.js +8 -0
  85. package/src/components/xt-step-price/index.js +10 -10
  86. package/src/components/xt-step-price/index.vue +272 -272
  87. package/src/components/xt-step-price/style/index.scss +123 -123
  88. package/src/components/xt-step-price-item/index.js +7 -7
  89. package/src/components/xt-step-price-item/index.vue +187 -187
  90. package/src/components/xt-text/index.js +7 -7
  91. package/src/components/xt-text/index.vue +1 -1
  92. package/src/components/xt-text/style/index.scss +92 -92
  93. package/src/components/xt-time/index.js +7 -7
  94. package/src/components/xt-time/index.vue +313 -313
  95. package/src/components/xt-time/style/index.scss +23 -23
  96. package/src/config/element-registry.js +135 -135
  97. package/src/index.js +162 -178
  98. package/src/styles/css-variables.scss +257 -257
  99. package/src/styles/theme/background.scss +5 -5
  100. package/src/styles/theme/border-radius.scss +3 -3
  101. package/src/styles/theme/borders.scss +3 -3
  102. package/src/styles/theme/colors.scss +101 -101
  103. package/src/styles/theme/component-variables.scss +69 -69
  104. package/src/styles/theme/dark-variables.scss +28 -28
  105. package/src/styles/theme/font.scss +12 -12
  106. package/src/styles/theme/index.scss +11 -11
  107. package/src/styles/theme/shadows.scss +2 -2
  108. package/src/styles/theme/spacing.scss +4 -4
  109. package/src/styles/theme/transitions.scss +2 -2
  110. package/src/styles/theme/typography.scss +4 -4
  111. package/src/styles/variables-export.scss +85 -85
  112. package/src/utils/index.js +191 -202
@@ -1,12 +1,12 @@
1
- @import '../../../styles/variables.scss';
2
-
3
- .xt-config-provider {
4
- }
5
-
6
- .xt-config-provider--dark {
7
- }
8
-
9
- .xt-config-provider--dark {
10
- background-color: var(--xt-color-bg-primary, #0b141d);
11
- color: var(--xt-color-text-primary, rgba(255, 255, 255, 0.95));
1
+ @import '../../../styles/variables.scss';
2
+
3
+ .xt-config-provider {
4
+ }
5
+
6
+ .xt-config-provider--dark {
7
+ }
8
+
9
+ .xt-config-provider--dark {
10
+ background-color: var(--xt-color-bg-primary, #0b141d);
11
+ color: var(--xt-color-text-primary, rgba(255, 255, 255, 0.95));
12
12
  }
@@ -1,8 +1,8 @@
1
- import XtFlexBox from './index.vue'
2
-
3
- XtFlexBox.install = function (Vue) {
4
- Vue.component(XtFlexBox.name, XtFlexBox)
5
- }
6
-
7
- export default XtFlexBox
1
+ import XtFlexBox from './index.vue'
2
+
3
+ XtFlexBox.install = function (Vue) {
4
+ Vue.component(XtFlexBox.name, XtFlexBox)
5
+ }
6
+
7
+ export default XtFlexBox
8
8
  export { XtFlexBox }
@@ -1,82 +1,82 @@
1
- @import '../../../styles/variables.scss';
2
-
3
- .xt-flex-box.flex {
4
- display: flex;
5
- }
6
-
7
-
8
- .xt-flex-box.is-inline {
9
- display: inline-flex;
10
- }
11
-
12
- .direction-row {
13
- flex-direction: row;
14
- }
15
-
16
- .direction-row-reverse {
17
- flex-direction: row-reverse;
18
- }
19
-
20
- .direction-column {
21
- flex-direction: column;
22
- }
23
-
24
- .direction-column-reverse {
25
- flex-direction: column-reverse;
26
- }
27
-
28
- .align-center {
29
- align-items: center;
30
- }
31
-
32
- .align-start {
33
- align-items: flex-start;
34
- }
35
-
36
- .align-end {
37
- align-items: flex-end;
38
- }
39
-
40
- .align-baseline {
41
- align-items: baseline;
42
- }
43
-
44
- .align-stretch {
45
- align-items: stretch;
46
- }
47
-
48
- .content-center {
49
- justify-content: center;
50
- }
51
-
52
- .content-around {
53
- justify-content: space-around;
54
- }
55
-
56
- .content-between {
57
- justify-content: space-between;
58
- }
59
-
60
- .content-start {
61
- justify-content: flex-start;
62
- }
63
-
64
- .content-end {
65
- justify-content: flex-end;
66
- }
67
-
68
- .content-evenly {
69
- justify-content: space-evenly;
70
- }
71
-
72
- .wrap-wrap {
73
- flex-wrap: wrap;
74
- }
75
-
76
- .wrap-nowrap {
77
- flex-wrap: nowrap;
78
- }
79
-
80
- .wrap-unset {
81
- flex-wrap: wrap;
1
+ @import '../../../styles/variables.scss';
2
+
3
+ .xt-flex-box.flex {
4
+ display: flex;
5
+ }
6
+
7
+
8
+ .xt-flex-box.is-inline {
9
+ display: inline-flex;
10
+ }
11
+
12
+ .direction-row {
13
+ flex-direction: row;
14
+ }
15
+
16
+ .direction-row-reverse {
17
+ flex-direction: row-reverse;
18
+ }
19
+
20
+ .direction-column {
21
+ flex-direction: column;
22
+ }
23
+
24
+ .direction-column-reverse {
25
+ flex-direction: column-reverse;
26
+ }
27
+
28
+ .align-center {
29
+ align-items: center;
30
+ }
31
+
32
+ .align-start {
33
+ align-items: flex-start;
34
+ }
35
+
36
+ .align-end {
37
+ align-items: flex-end;
38
+ }
39
+
40
+ .align-baseline {
41
+ align-items: baseline;
42
+ }
43
+
44
+ .align-stretch {
45
+ align-items: stretch;
46
+ }
47
+
48
+ .content-center {
49
+ justify-content: center;
50
+ }
51
+
52
+ .content-around {
53
+ justify-content: space-around;
54
+ }
55
+
56
+ .content-between {
57
+ justify-content: space-between;
58
+ }
59
+
60
+ .content-start {
61
+ justify-content: flex-start;
62
+ }
63
+
64
+ .content-end {
65
+ justify-content: flex-end;
66
+ }
67
+
68
+ .content-evenly {
69
+ justify-content: space-evenly;
70
+ }
71
+
72
+ .wrap-wrap {
73
+ flex-wrap: wrap;
74
+ }
75
+
76
+ .wrap-nowrap {
77
+ flex-wrap: nowrap;
78
+ }
79
+
80
+ .wrap-unset {
81
+ flex-wrap: wrap;
82
82
  }
@@ -1,8 +1,8 @@
1
- import XtGridBox from './index.vue'
2
-
3
- XtGridBox.install = function (Vue) {
4
- Vue.component(XtGridBox.name, XtGridBox)
5
- }
6
-
7
- export default XtGridBox
1
+ import XtGridBox from './index.vue'
2
+
3
+ XtGridBox.install = function (Vue) {
4
+ Vue.component(XtGridBox.name, XtGridBox)
5
+ }
6
+
7
+ export default XtGridBox
8
8
  export { XtGridBox }
@@ -1,93 +1,93 @@
1
- @import '../../../styles/variables.scss';
2
-
3
- .xt-grid-box {
4
- display: grid;
5
- box-sizing: border-box;
6
- min-height: 0;
7
- }
8
-
9
- // 默认间距变量
10
- :root {
11
- --xt-grid-box-gap: 8px;
12
- }
13
-
14
- // 响应式网格类
15
- .xt-grid-box--auto-fill {
16
- grid-template-columns: repeat(auto-fill, minmax(var(--xt-grid-item-min-width, 200px), 1fr));
17
- }
18
-
19
- .xt-grid-box--auto-fit {
20
- grid-template-columns: repeat(auto-fit, minmax(var(--xt-grid-item-min-width, 200px), 1fr));
21
- }
22
-
23
- // 常见列数快捷类
24
- .xt-grid-box--cols-2 {
25
- grid-template-columns: repeat(2, 1fr);
26
- }
27
-
28
- .xt-grid-box--cols-3 {
29
- grid-template-columns: repeat(3, 1fr);
30
- }
31
-
32
- .xt-grid-box--cols-4 {
33
- grid-template-columns: repeat(4, 1fr);
34
- }
35
-
36
- .xt-grid-box--cols-6 {
37
- grid-template-columns: repeat(6, 1fr);
38
- }
39
-
40
- .xt-grid-box--cols-12 {
41
- grid-template-columns: repeat(12, 1fr);
42
- }
43
-
44
- // 子项默认样式
45
- .xt-grid-item {
46
- box-sizing: border-box;
47
- }
48
-
49
- // 响应式断点
50
- @media (min-width: 576px) {
51
- .xt-grid-box--sm-cols-2 {
52
- grid-template-columns: repeat(2, 1fr);
53
- }
54
- .xt-grid-box--sm-cols-3 {
55
- grid-template-columns: repeat(3, 1fr);
56
- }
57
- }
58
-
59
- @media (min-width: 768px) {
60
- .xt-grid-box--md-cols-2 {
61
- grid-template-columns: repeat(2, 1fr);
62
- }
63
- .xt-grid-box--md-cols-3 {
64
- grid-template-columns: repeat(3, 1fr);
65
- }
66
- .xt-grid-box--md-cols-4 {
67
- grid-template-columns: repeat(4, 1fr);
68
- }
69
- }
70
-
71
- @media (min-width: 992px) {
72
- .xt-grid-box--lg-cols-3 {
73
- grid-template-columns: repeat(3, 1fr);
74
- }
75
- .xt-grid-box--lg-cols-4 {
76
- grid-template-columns: repeat(4, 1fr);
77
- }
78
- .xt-grid-box--lg-cols-6 {
79
- grid-template-columns: repeat(6, 1fr);
80
- }
81
- }
82
-
83
- @media (min-width: 1200px) {
84
- .xt-grid-box--xl-cols-4 {
85
- grid-template-columns: repeat(4, 1fr);
86
- }
87
- .xt-grid-box--xl-cols-6 {
88
- grid-template-columns: repeat(6, 1fr);
89
- }
90
- .xt-grid-box--xl-cols-12 {
91
- grid-template-columns: repeat(12, 1fr);
92
- }
1
+ @import '../../../styles/variables.scss';
2
+
3
+ .xt-grid-box {
4
+ display: grid;
5
+ box-sizing: border-box;
6
+ min-height: 0;
7
+ }
8
+
9
+ // 默认间距变量
10
+ :root {
11
+ --xt-grid-box-gap: 8px;
12
+ }
13
+
14
+ // 响应式网格类
15
+ .xt-grid-box--auto-fill {
16
+ grid-template-columns: repeat(auto-fill, minmax(var(--xt-grid-item-min-width, 200px), 1fr));
17
+ }
18
+
19
+ .xt-grid-box--auto-fit {
20
+ grid-template-columns: repeat(auto-fit, minmax(var(--xt-grid-item-min-width, 200px), 1fr));
21
+ }
22
+
23
+ // 常见列数快捷类
24
+ .xt-grid-box--cols-2 {
25
+ grid-template-columns: repeat(2, 1fr);
26
+ }
27
+
28
+ .xt-grid-box--cols-3 {
29
+ grid-template-columns: repeat(3, 1fr);
30
+ }
31
+
32
+ .xt-grid-box--cols-4 {
33
+ grid-template-columns: repeat(4, 1fr);
34
+ }
35
+
36
+ .xt-grid-box--cols-6 {
37
+ grid-template-columns: repeat(6, 1fr);
38
+ }
39
+
40
+ .xt-grid-box--cols-12 {
41
+ grid-template-columns: repeat(12, 1fr);
42
+ }
43
+
44
+ // 子项默认样式
45
+ .xt-grid-item {
46
+ box-sizing: border-box;
47
+ }
48
+
49
+ // 响应式断点
50
+ @media (min-width: 576px) {
51
+ .xt-grid-box--sm-cols-2 {
52
+ grid-template-columns: repeat(2, 1fr);
53
+ }
54
+ .xt-grid-box--sm-cols-3 {
55
+ grid-template-columns: repeat(3, 1fr);
56
+ }
57
+ }
58
+
59
+ @media (min-width: 768px) {
60
+ .xt-grid-box--md-cols-2 {
61
+ grid-template-columns: repeat(2, 1fr);
62
+ }
63
+ .xt-grid-box--md-cols-3 {
64
+ grid-template-columns: repeat(3, 1fr);
65
+ }
66
+ .xt-grid-box--md-cols-4 {
67
+ grid-template-columns: repeat(4, 1fr);
68
+ }
69
+ }
70
+
71
+ @media (min-width: 992px) {
72
+ .xt-grid-box--lg-cols-3 {
73
+ grid-template-columns: repeat(3, 1fr);
74
+ }
75
+ .xt-grid-box--lg-cols-4 {
76
+ grid-template-columns: repeat(4, 1fr);
77
+ }
78
+ .xt-grid-box--lg-cols-6 {
79
+ grid-template-columns: repeat(6, 1fr);
80
+ }
81
+ }
82
+
83
+ @media (min-width: 1200px) {
84
+ .xt-grid-box--xl-cols-4 {
85
+ grid-template-columns: repeat(4, 1fr);
86
+ }
87
+ .xt-grid-box--xl-cols-6 {
88
+ grid-template-columns: repeat(6, 1fr);
89
+ }
90
+ .xt-grid-box--xl-cols-12 {
91
+ grid-template-columns: repeat(12, 1fr);
92
+ }
93
93
  }
@@ -1,8 +1,8 @@
1
- import XtGridItem from './index.vue'
2
-
3
- XtGridItem.install = function (Vue) {
4
- Vue.component(XtGridItem.name, XtGridItem)
5
- }
6
-
7
- export default XtGridItem
1
+ import XtGridItem from './index.vue'
2
+
3
+ XtGridItem.install = function (Vue) {
4
+ Vue.component(XtGridItem.name, XtGridItem)
5
+ }
6
+
7
+ export default XtGridItem
8
8
  export { XtGridItem }
@@ -1,107 +1,107 @@
1
- <template>
2
- <div class="xt-grid-item" :style="styleAttrs">
3
- <slot></slot>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- export default {
9
- name: "XtGridItem",
10
- props: {
11
- // 跨列数
12
- span: {
13
- type: Number,
14
- default: 1,
15
- validator: (val) => val > 0
16
- },
17
- // 跨行数
18
- rowSpan: {
19
- type: Number,
20
- default: 1,
21
- validator: (val) => val > 0
22
- },
23
- // 起始列
24
- start: {
25
- type: Number,
26
- default: 0,
27
- validator: (val) => val >= 0
28
- },
29
- // 起始行
30
- rowStart: {
31
- type: Number,
32
- default: 0,
33
- validator: (val) => val >= 0
34
- },
35
- // 命名区域
36
- area: {
37
- type: String,
38
- default: ""
39
- },
40
- // 对齐方式(justify-self)
41
- justifySelf: {
42
- type: String,
43
- default: "auto",
44
- validator: (val) => ['auto', 'start', 'end', 'center', 'stretch'].includes(val)
45
- },
46
- // 对齐方式(align-self)
47
- alignSelf: {
48
- type: String,
49
- default: "auto",
50
- validator: (val) => ['auto', 'start', 'end', 'center', 'stretch', 'baseline'].includes(val)
51
- },
52
- // 自定义样式类
53
- customClass: {
54
- type: String,
55
- default: ""
56
- }
57
- },
58
- computed: {
59
- styleAttrs() {
60
- const styles = {};
61
-
62
- // 处理跨列
63
- if (this.span > 1) {
64
- styles.gridColumnEnd = `span ${this.span}`;
65
- }
66
-
67
- // 处理跨行
68
- if (this.rowSpan > 1) {
69
- styles.gridRowEnd = `span ${this.rowSpan}`;
70
- }
71
-
72
- // 处理起始列
73
- if (this.start > 0) {
74
- styles.gridColumnStart = this.start;
75
- }
76
-
77
- // 处理起始行
78
- if (this.rowStart > 0) {
79
- styles.gridRowStart = this.rowStart;
80
- }
81
-
82
- // 处理命名区域
83
- if (this.area) {
84
- styles.gridArea = this.area;
85
- }
86
-
87
- // 处理 justify-self
88
- if (this.justifySelf && this.justifySelf !== 'auto') {
89
- styles.justifySelf = this.justifySelf;
90
- }
91
-
92
- // 处理 align-self
93
- if (this.alignSelf && this.alignSelf !== 'auto') {
94
- styles.alignSelf = this.alignSelf;
95
- }
96
-
97
- return styles;
98
- }
99
- }
100
- };
101
- </script>
102
-
103
- <style lang="scss" scoped>
104
- .xt-grid-item {
105
- box-sizing: border-box;
106
- }
1
+ <template>
2
+ <div class="xt-grid-item" :style="styleAttrs">
3
+ <slot></slot>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ name: "XtGridItem",
10
+ props: {
11
+ // 跨列数
12
+ span: {
13
+ type: Number,
14
+ default: 1,
15
+ validator: (val) => val > 0
16
+ },
17
+ // 跨行数
18
+ rowSpan: {
19
+ type: Number,
20
+ default: 1,
21
+ validator: (val) => val > 0
22
+ },
23
+ // 起始列
24
+ start: {
25
+ type: Number,
26
+ default: 0,
27
+ validator: (val) => val >= 0
28
+ },
29
+ // 起始行
30
+ rowStart: {
31
+ type: Number,
32
+ default: 0,
33
+ validator: (val) => val >= 0
34
+ },
35
+ // 命名区域
36
+ area: {
37
+ type: String,
38
+ default: ""
39
+ },
40
+ // 对齐方式(justify-self)
41
+ justifySelf: {
42
+ type: String,
43
+ default: "auto",
44
+ validator: (val) => ['auto', 'start', 'end', 'center', 'stretch'].includes(val)
45
+ },
46
+ // 对齐方式(align-self)
47
+ alignSelf: {
48
+ type: String,
49
+ default: "auto",
50
+ validator: (val) => ['auto', 'start', 'end', 'center', 'stretch', 'baseline'].includes(val)
51
+ },
52
+ // 自定义样式类
53
+ customClass: {
54
+ type: String,
55
+ default: ""
56
+ }
57
+ },
58
+ computed: {
59
+ styleAttrs() {
60
+ const styles = {};
61
+
62
+ // 处理跨列
63
+ if (this.span > 1) {
64
+ styles.gridColumnEnd = `span ${this.span}`;
65
+ }
66
+
67
+ // 处理跨行
68
+ if (this.rowSpan > 1) {
69
+ styles.gridRowEnd = `span ${this.rowSpan}`;
70
+ }
71
+
72
+ // 处理起始列
73
+ if (this.start > 0) {
74
+ styles.gridColumnStart = this.start;
75
+ }
76
+
77
+ // 处理起始行
78
+ if (this.rowStart > 0) {
79
+ styles.gridRowStart = this.rowStart;
80
+ }
81
+
82
+ // 处理命名区域
83
+ if (this.area) {
84
+ styles.gridArea = this.area;
85
+ }
86
+
87
+ // 处理 justify-self
88
+ if (this.justifySelf && this.justifySelf !== 'auto') {
89
+ styles.justifySelf = this.justifySelf;
90
+ }
91
+
92
+ // 处理 align-self
93
+ if (this.alignSelf && this.alignSelf !== 'auto') {
94
+ styles.alignSelf = this.alignSelf;
95
+ }
96
+
97
+ return styles;
98
+ }
99
+ }
100
+ };
101
+ </script>
102
+
103
+ <style lang="scss" scoped>
104
+ .xt-grid-item {
105
+ box-sizing: border-box;
106
+ }
107
107
  </style>
@@ -1,8 +1,8 @@
1
- import XtInput from './index.vue'
2
-
3
- XtInput.install = function (Vue) {
4
- Vue.component(XtInput.name, XtInput)
5
- }
6
-
7
- export default XtInput
1
+ import XtInput from './index.vue'
2
+
3
+ XtInput.install = function (Vue) {
4
+ Vue.component(XtInput.name, XtInput)
5
+ }
6
+
7
+ export default XtInput
8
8
  export { XtInput }