xt-element-ui 1.1.9 → 1.1.91
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/index.common.js +128921 -6218
- package/lib/index.css +1 -1
- package/lib/index.umd.js +128926 -6224
- package/lib/index.umd.min.js +34 -1
- package/package.json +1 -1
- package/src/components/ex-chart/index.vue +11 -5
- package/src/index.js +9 -8
- package/lib/css/2.9f53fb10.css +0 -1
- package/lib/css/3.f955b130.css +0 -1
- package/lib/css/4.04feac2c.css +0 -1
- package/lib/css/5.6a8558e0.css +0 -1
- package/lib/css/6.e474b334.css +0 -1
- package/lib/index.common.0.js +0 -120960
- package/lib/index.common.2.js +0 -1081
- package/lib/index.common.3.js +0 -1024
- package/lib/index.common.4.js +0 -1138
- package/lib/index.common.5.js +0 -1037
- package/lib/index.common.6.js +0 -1001
- package/lib/index.umd.0.js +0 -120960
- package/lib/index.umd.2.js +0 -1081
- package/lib/index.umd.3.js +0 -1024
- package/lib/index.umd.4.js +0 -1138
- package/lib/index.umd.5.js +0 -1037
- package/lib/index.umd.6.js +0 -1001
- package/lib/index.umd.min.0.js +0 -34
- package/lib/index.umd.min.2.js +0 -1
- package/lib/index.umd.min.3.js +0 -1
- package/lib/index.umd.min.4.js +0 -1
- package/lib/index.umd.min.5.js +0 -1
- package/lib/index.umd.min.6.js +0 -1
package/package.json
CHANGED
|
@@ -6,14 +6,20 @@
|
|
|
6
6
|
<ex-trend v-else-if="type=='trend'" v-bind="$attrs" :theme="myTheme" :size="mySize"></ex-trend>
|
|
7
7
|
</template>
|
|
8
8
|
<script>
|
|
9
|
+
import ExBar from "./ExBar.vue"
|
|
10
|
+
import ExLine from "./ExLine.vue"
|
|
11
|
+
import ExPie from "./ExPie.vue"
|
|
12
|
+
import ExMulti from "./ExMulti.vue"
|
|
13
|
+
import ExTrend from "./ExTrend.vue"
|
|
14
|
+
|
|
9
15
|
export default {
|
|
10
16
|
name: "ExChart",
|
|
11
17
|
components: {
|
|
12
|
-
ExBar
|
|
13
|
-
ExLine
|
|
14
|
-
ExPie
|
|
15
|
-
ExMulti
|
|
16
|
-
ExTrend
|
|
18
|
+
ExBar,
|
|
19
|
+
ExLine,
|
|
20
|
+
ExPie,
|
|
21
|
+
ExMulti,
|
|
22
|
+
ExTrend
|
|
17
23
|
},
|
|
18
24
|
props: {
|
|
19
25
|
theme: {
|
package/src/index.js
CHANGED
|
@@ -96,17 +96,18 @@ const install = function (Vue, options = {}) {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
//
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
// 仅在开发环境下尝试注册 ElementUI 组件为 Ex 开头(方便文档和示例使用)
|
|
100
|
+
// 生产环境发布时不需要,避免不必要的依赖
|
|
101
|
+
if (process.env.NODE_ENV === 'development') {
|
|
102
|
+
try {
|
|
103
|
+
const ElementUI = require('element-ui')
|
|
104
|
+
registerElementExComponents(Vue, ElementUI)
|
|
105
|
+
} catch (e) {
|
|
106
|
+
console.warn('[XT-UI] ElementUI not found, skipping Ex- prefix registration for Element components')
|
|
107
|
+
}
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
// 调用统一的注册函数
|
|
109
|
-
registerElementExComponents(Vue, ElementUI)
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
// 支持全局 script 标签引入
|
package/lib/css/2.9f53fb10.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.bar-box[data-v-10acd2fc]{position:relative;height:100%;width:100%}
|
package/lib/css/3.f955b130.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.line-box[data-v-386a9c5d]{position:relative;height:100%;width:100%}
|
package/lib/css/4.04feac2c.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.multiline-box[data-v-18661424]{height:100%;width:100%}
|
package/lib/css/5.6a8558e0.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pie-box[data-v-5100b648]{position:relative;height:100%;width:100%}
|
package/lib/css/6.e474b334.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.bar-box[data-v-36cddc14]{position:relative}
|