@bdsoft/element 1.1.27 → 1.1.28
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/dist/cjs/index.cjs +210 -210
- package/dist/cjs/src/components/chartconfig/index.vue.cjs +9 -6
- package/dist/cjs/src/utils/coms/load.cjs +8 -8
- package/dist/es/index.js +213 -213
- package/dist/es/src/components/3dcloudwords/index.vue.js +1 -1
- package/dist/es/src/components/badge/index.vue.js +1 -1
- package/dist/es/src/components/basic/Finish.vue.js +1 -1
- package/dist/es/src/components/button/index.vue.js +1 -1
- package/dist/es/src/components/carousel/index.vue.js +1 -1
- package/dist/es/src/components/chartconfig/index.vue.js +10 -7
- package/dist/es/src/components/contextMenu/index.vue.js +1 -1
- package/dist/es/src/components/countup/index.vue.js +1 -1
- package/dist/es/src/components/empty/building.vue.js +1 -1
- package/dist/es/src/components/empty/empty.vue.js +1 -1
- package/dist/es/src/components/empty/invalid.vue.js +1 -1
- package/dist/es/src/components/error/Error.vue.js +1 -1
- package/dist/es/src/components/form/Form.vue.js +1 -1
- package/dist/es/src/components/form/FormItem.vue.js +2 -2
- package/dist/es/src/components/layout/bar.vue.js +1 -1
- package/dist/es/src/components/layout/layout1.vue.js +1 -1
- package/dist/es/src/components/layout/layout2.vue.js +2 -2
- package/dist/es/src/components/layout/layout3.vue.js +1 -1
- package/dist/es/src/components/layout/layout4.vue.js +1 -1
- package/dist/es/src/components/layout/nav.vue.js +1 -1
- package/dist/es/src/components/loading/index.vue.js +1 -1
- package/dist/es/src/components/notice/NoticeList.vue.js +1 -1
- package/dist/es/src/components/notice/NoticeListPaging.vue.js +1 -1
- package/dist/es/src/components/notice/NoticeView.vue.js +1 -1
- package/dist/es/src/components/pagination/index.vue.js +1 -1
- package/dist/es/src/components/progress/bar.vue.js +1 -1
- package/dist/es/src/components/progress/progress.vue.js +1 -1
- package/dist/es/src/components/statisticalCount/index.vue.js +1 -1
- package/dist/es/src/components/username/index.vue.js +1 -1
- package/dist/es/src/utils/coms/load.js +9 -9
- package/dist/es/src/utils/hookDialog.js +1 -1
- package/dist/es/src/utils/hookPage.js +1 -1
- package/dist/es/src/utils/message.js +4 -4
- package/dist/es/src/xm_components/HeadSearch/hook/hookSearch.js +1 -1
- package/dist/es/src/xm_components/HeadSearch/index.vue.js +1 -1
- package/dist/es/src/xm_components/Milestone/index.vue.js +1 -1
- package/dist/es/src/xm_components/MultiStatisticalCard/index.vue.js +1 -1
- package/dist/es/src/xm_components/StatisticalCard/index.vue.js +1 -1
- package/package.json +4 -2
- package/src/components/chartconfig/index.vue +8 -5
- package/src/utils/coms/load.jsx +22 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, resolveComponent, createBlock, openBlock, unref, isRef, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList, createElementVNode } from "vue";
|
|
2
2
|
import { useDialog } from "../../utils/hookDialog.js";
|
|
3
3
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
4
4
|
const _sfc_main = {
|
|
@@ -21,13 +21,16 @@ const _sfc_main = {
|
|
|
21
21
|
});
|
|
22
22
|
const callShowDialog = () => {
|
|
23
23
|
let config = openParms.value;
|
|
24
|
-
chartColorForm.
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
chartColorForm.value = {
|
|
25
|
+
sourceid: config.sourceid,
|
|
26
|
+
chartid: config.api.getId(),
|
|
27
|
+
api: config.api,
|
|
28
|
+
visiable: false
|
|
29
|
+
};
|
|
27
30
|
chartForm.value = Object.assign({}, chartForm.value, extParms.value);
|
|
28
31
|
};
|
|
29
32
|
const { visible, showDialog, openParms, extParms, hideDialog } = useDialog(callShowDialog);
|
|
30
|
-
const chartColorForm =
|
|
33
|
+
const chartColorForm = ref({
|
|
31
34
|
sourceid: "",
|
|
32
35
|
chartid: "",
|
|
33
36
|
// 当前操作的图表对象
|
|
@@ -93,8 +96,8 @@ const _sfc_main = {
|
|
|
93
96
|
]),
|
|
94
97
|
default: withCtx(() => [
|
|
95
98
|
createVNode(_component_el_form, {
|
|
96
|
-
modelValue:
|
|
97
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) =>
|
|
99
|
+
modelValue: chartForm.value,
|
|
100
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => chartForm.value = $event),
|
|
98
101
|
"label-suffix": ":",
|
|
99
102
|
"label-width": "80px",
|
|
100
103
|
class: "formconfig",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, computed, provide, onMounted, onUnmounted, watch, createElementBlock, openBlock, renderSlot, createBlock, Teleport, createVNode, Transition, withCtx, createCommentVNode, normalizeStyle, createElementVNode, Fragment, renderList, createTextVNode, toDisplayString, normalizeClass } from "vue";
|
|
2
2
|
import "./index.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = { class: "context-menu-container" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, watch, onMounted, nextTick, createElementBlock, openBlock, createCommentVNode, createElementVNode, renderSlot, toDisplayString, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { CountUp } from "./countUp.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -5,7 +5,7 @@ import __vite_glob_0_3 from "./assets/emptybg2.jpg.js";
|
|
|
5
5
|
import __vite_glob_0_4 from "./assets/emptybg3.jpg.js";
|
|
6
6
|
import __vite_glob_0_5 from "./assets/wuxiao.png.js";
|
|
7
7
|
import __vite_glob_0_6 from "./assets/wuxiao.webp.js";
|
|
8
|
-
|
|
8
|
+
import { computed, createElementBlock, openBlock, createElementVNode, normalizeStyle, toDisplayString } from "vue";
|
|
9
9
|
import "./building.vue2.js";
|
|
10
10
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
11
11
|
const _hoisted_1 = {
|
|
@@ -5,7 +5,7 @@ import __vite_glob_0_3 from "./assets/emptybg2.jpg.js";
|
|
|
5
5
|
import __vite_glob_0_4 from "./assets/emptybg3.jpg.js";
|
|
6
6
|
import __vite_glob_0_5 from "./assets/wuxiao.png.js";
|
|
7
7
|
import __vite_glob_0_6 from "./assets/wuxiao.webp.js";
|
|
8
|
-
|
|
8
|
+
import { computed, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, normalizeStyle, toDisplayString } from "vue";
|
|
9
9
|
import "./empty.vue2.js";
|
|
10
10
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
11
11
|
const _hoisted_1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import _imports_0 from "../../assets/images/ff.png.js";
|
|
3
3
|
import "./Error.vue2.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, reactive, watch, onMounted, resolveComponent, createElementBlock, openBlock, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./FormItem.vue.js";
|
|
3
3
|
const _sfc_main = {
|
|
4
4
|
__name: "Form",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { defineComponent, toRefs, computed, h } from "vue";
|
|
2
|
+
import { ElTreeSelect, ElInputNumber, ElDatePicker, ElCheckbox, ElOption, ElButton, ElSelect, ElInput, ElFormItem } from "element-plus";
|
|
3
3
|
const componentMap = {
|
|
4
4
|
"el-input": ElInput,
|
|
5
5
|
"el-select": ElSelect,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { useAttrs, createElementBlock, openBlock, normalizeStyle, unref, createElementVNode, renderSlot } from "vue";
|
|
2
2
|
import "./bar.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, withCtx, createVNode, normalizeStyle, createElementBlock, createCommentVNode, renderSlot, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "top"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, computed, resolveComponent, createBlock, openBlock, withCtx, createVNode, normalizeStyle, createElementBlock, createCommentVNode, renderSlot, createElementVNode, toDisplayString, createTextVNode, unref, withKeys } from "vue";
|
|
2
2
|
import _imports_0 from "../../assets/images/menu/add.png.js";
|
|
3
3
|
import _imports_1 from "../../assets/images/menu/edit.png.js";
|
|
4
4
|
import _imports_2 from "../../assets/images/menu/del.png.js";
|
|
5
|
-
|
|
5
|
+
import { Search } from "@element-plus/icons-vue";
|
|
6
6
|
import "./layout2.vue2.js";
|
|
7
7
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
8
|
const _hoisted_1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, renderSlot, createCommentVNode, normalizeStyle, createElementBlock, toDisplayString } from "vue";
|
|
2
2
|
import "./layout3.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, withCtx, createVNode, renderSlot, normalizeStyle, createElementVNode } from "vue";
|
|
2
2
|
import "./layout4.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, computed, watch, createElementBlock, openBlock, normalizeStyle, Fragment, renderList, normalizeClass, createElementVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import "./nav.vue2.js";
|
|
3
3
|
import "./nav.vue3.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { createElementBlock, openBlock, normalizeStyle, createStaticVNode } from "vue";
|
|
2
2
|
import "./index.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, normalizeStyle, createTextVNode, toDisplayString, renderSlot, resolveDynamicComponent } from "vue";
|
|
2
2
|
import "./NoticeList.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = { id: "noticespan" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, computed, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, withKeys, createElementBlock, normalizeStyle, renderSlot, Fragment, renderList, withModifiers, withDirectives, toDisplayString, vShow, unref, mergeProps } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import "@element-plus/icons-vue";
|
|
4
4
|
import { parseTime } from "../../utils/func.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, watch, onBeforeMount, onMounted, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode, createCommentVNode, unref } from "vue";
|
|
2
2
|
import "./NoticeView.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = { class: "docview" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createElementBlock, openBlock, normalizeClass, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { scrollTo } from "./scroll-to.js";
|
|
3
3
|
import "./index.vue2.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, computed, createElementBlock, openBlock, normalizeStyle, Fragment, renderList } from "vue";
|
|
2
2
|
import "./bar.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock } from "vue";
|
|
2
2
|
import "./progress.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { resolveComponent, createBlock, openBlock, normalizeStyle, withCtx, createVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../countup/index.vue.js";
|
|
3
3
|
import "./index.vue2.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { createElementBlock, openBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
2
|
import "./index.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import { createVNode } from "vue";
|
|
2
2
|
function LoadComponent(props, {
|
|
3
3
|
slots,
|
|
4
4
|
emit,
|
|
5
5
|
attrs
|
|
6
6
|
}) {
|
|
7
7
|
return createVNode("div", {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
class: "loadsvg",
|
|
9
|
+
style: "height:20px;width:20px;"
|
|
10
10
|
}, [createVNode("svg", {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
viewBox: "0 0 1024 1024",
|
|
12
|
+
focusable: "false",
|
|
13
13
|
"data-icon": "loading",
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
width: "1em",
|
|
15
|
+
height: "1em",
|
|
16
|
+
fill: "currentColor",
|
|
17
17
|
"aria-hidden": "true"
|
|
18
18
|
}, [createVNode("path", {
|
|
19
|
-
|
|
19
|
+
d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
20
20
|
}, null)])]);
|
|
21
21
|
}
|
|
22
22
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ElMessage, ElMessageBox, ElNotification, ElButton, ElIcon, ElLoading } from "element-plus";
|
|
2
|
+
import { ElLoading as ElLoading2, ElMessage as ElMessage2, ElMessageBox as ElMessageBox2, ElNotification as ElNotification2 } from "element-plus";
|
|
3
|
+
import { Warning } from "@element-plus/icons-vue";
|
|
4
|
+
import { h } from "vue";
|
|
5
5
|
function showsuccess(msg, duration = 3e3, showClose = true) {
|
|
6
6
|
ElMessage({
|
|
7
7
|
message: msg || "保存成功",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, createVNode, withDirectives, withKeys, unref, isRef, withCtx, createTextVNode, renderList, toDisplayString, withModifiers, vShow } from "vue";
|
|
2
2
|
import { getUrlKey, debounce } from "../../utils/func.js";
|
|
3
3
|
import useSearrch from "./hook/hookSearch.js";
|
|
4
4
|
import "./index.vue2.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { useCssVars, computed, createElementBlock, openBlock, createBlock, createElementVNode, Fragment, renderList, normalizeStyle, normalizeClass, toDisplayString } from "vue";
|
|
2
2
|
import BdEmpty from "../../components/empty/empty.vue.js";
|
|
3
3
|
import "./index.vue2.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, watch, onMounted, resolveComponent, createBlock, openBlock, normalizeStyle, withCtx, createElementBlock, Fragment, renderList, createVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../components/countup/index.vue.js";
|
|
3
3
|
import "./index.vue2.js";
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ref, watch, resolveComponent, createElementBlock, createCommentVNode, openBlock, normalizeStyle, createElementVNode, createVNode, createBlock, toDisplayString, withCtx, createTextVNode, normalizeClass, resolveDynamicComponent } from "vue";
|
|
2
2
|
import "./index.vue2.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = { class: "data-item" };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bdsoft/element",
|
|
3
3
|
"description": "内部UI组件",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.28",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.cjs",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/es/index.js",
|
|
11
11
|
"require": "./dist/cjs/index.cjs"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"./dist/es/index.js": "./dist/es/index.js",
|
|
14
|
+
"./dist/cjs/index.cjs": "./dist/cjs/index.cjs"
|
|
13
15
|
},
|
|
14
16
|
"files": [
|
|
15
17
|
"dist",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
-->
|
|
8
8
|
<template>
|
|
9
9
|
<el-dialog v-model="visible" :width="600" title="图表配置" class="bdDialog chartConfig" :style="{ borderRadius: '10px' }" draggable>
|
|
10
|
-
<el-form v-model="
|
|
10
|
+
<el-form v-model="chartForm" label-suffix=":" label-width='80px' class="formconfig" style="padding: 10px 10px">
|
|
11
11
|
<el-tabs type="border-card" class="chart-tabs" style="height: 100%">
|
|
12
12
|
<el-tab-pane label="坐标轴配置">
|
|
13
13
|
<el-divider content-position="left">X坐标轴</el-divider>
|
|
@@ -106,15 +106,18 @@ const chartForm = ref({
|
|
|
106
106
|
// 打开回调
|
|
107
107
|
const callShowDialog = () => {
|
|
108
108
|
let config = openParms.value
|
|
109
|
-
chartColorForm.
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
chartColorForm.value = {
|
|
110
|
+
sourceid:config.sourceid,
|
|
111
|
+
chartid:config.api.getId(),
|
|
112
|
+
api: config.api,
|
|
113
|
+
visiable:false
|
|
114
|
+
}
|
|
112
115
|
chartForm.value = Object.assign({}, chartForm.value, extParms.value)
|
|
113
116
|
}
|
|
114
117
|
const { visible, showDialog, openParms, extParms, hideDialog } = useDialog(callShowDialog)
|
|
115
118
|
|
|
116
119
|
// 颜色配置
|
|
117
|
-
const chartColorForm =
|
|
120
|
+
const chartColorForm = ref({
|
|
118
121
|
sourceid: '',
|
|
119
122
|
chartid: '', // 当前操作的图表对象
|
|
120
123
|
api: null, // 当前操作的图表对象
|
package/src/utils/coms/load.jsx
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { createVNode } from 'vue'
|
|
2
|
+
|
|
3
|
+
function LoadComponent(props, { slots, emit, attrs }) {
|
|
4
|
+
return createVNode('div', {
|
|
5
|
+
class: 'loadsvg',
|
|
6
|
+
style: 'height:20px;width:20px;'
|
|
7
|
+
}, [
|
|
8
|
+
createVNode('svg', {
|
|
9
|
+
viewBox: '0 0 1024 1024',
|
|
10
|
+
focusable: 'false',
|
|
11
|
+
'data-icon': 'loading',
|
|
12
|
+
width: '1em',
|
|
13
|
+
height: '1em',
|
|
14
|
+
fill: 'currentColor',
|
|
15
|
+
'aria-hidden': 'true'
|
|
16
|
+
}, [
|
|
17
|
+
createVNode('path', {
|
|
18
|
+
d: 'M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z'
|
|
19
|
+
}, null)
|
|
20
|
+
])
|
|
21
|
+
])
|
|
22
|
+
}
|
|
10
23
|
export default LoadComponent
|