@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.
Files changed (45) hide show
  1. package/dist/cjs/index.cjs +210 -210
  2. package/dist/cjs/src/components/chartconfig/index.vue.cjs +9 -6
  3. package/dist/cjs/src/utils/coms/load.cjs +8 -8
  4. package/dist/es/index.js +213 -213
  5. package/dist/es/src/components/3dcloudwords/index.vue.js +1 -1
  6. package/dist/es/src/components/badge/index.vue.js +1 -1
  7. package/dist/es/src/components/basic/Finish.vue.js +1 -1
  8. package/dist/es/src/components/button/index.vue.js +1 -1
  9. package/dist/es/src/components/carousel/index.vue.js +1 -1
  10. package/dist/es/src/components/chartconfig/index.vue.js +10 -7
  11. package/dist/es/src/components/contextMenu/index.vue.js +1 -1
  12. package/dist/es/src/components/countup/index.vue.js +1 -1
  13. package/dist/es/src/components/empty/building.vue.js +1 -1
  14. package/dist/es/src/components/empty/empty.vue.js +1 -1
  15. package/dist/es/src/components/empty/invalid.vue.js +1 -1
  16. package/dist/es/src/components/error/Error.vue.js +1 -1
  17. package/dist/es/src/components/form/Form.vue.js +1 -1
  18. package/dist/es/src/components/form/FormItem.vue.js +2 -2
  19. package/dist/es/src/components/layout/bar.vue.js +1 -1
  20. package/dist/es/src/components/layout/layout1.vue.js +1 -1
  21. package/dist/es/src/components/layout/layout2.vue.js +2 -2
  22. package/dist/es/src/components/layout/layout3.vue.js +1 -1
  23. package/dist/es/src/components/layout/layout4.vue.js +1 -1
  24. package/dist/es/src/components/layout/nav.vue.js +1 -1
  25. package/dist/es/src/components/loading/index.vue.js +1 -1
  26. package/dist/es/src/components/notice/NoticeList.vue.js +1 -1
  27. package/dist/es/src/components/notice/NoticeListPaging.vue.js +1 -1
  28. package/dist/es/src/components/notice/NoticeView.vue.js +1 -1
  29. package/dist/es/src/components/pagination/index.vue.js +1 -1
  30. package/dist/es/src/components/progress/bar.vue.js +1 -1
  31. package/dist/es/src/components/progress/progress.vue.js +1 -1
  32. package/dist/es/src/components/statisticalCount/index.vue.js +1 -1
  33. package/dist/es/src/components/username/index.vue.js +1 -1
  34. package/dist/es/src/utils/coms/load.js +9 -9
  35. package/dist/es/src/utils/hookDialog.js +1 -1
  36. package/dist/es/src/utils/hookPage.js +1 -1
  37. package/dist/es/src/utils/message.js +4 -4
  38. package/dist/es/src/xm_components/HeadSearch/hook/hookSearch.js +1 -1
  39. package/dist/es/src/xm_components/HeadSearch/index.vue.js +1 -1
  40. package/dist/es/src/xm_components/Milestone/index.vue.js +1 -1
  41. package/dist/es/src/xm_components/MultiStatisticalCard/index.vue.js +1 -1
  42. package/dist/es/src/xm_components/StatisticalCard/index.vue.js +1 -1
  43. package/package.json +4 -2
  44. package/src/components/chartconfig/index.vue +8 -5
  45. package/src/utils/coms/load.jsx +22 -9
@@ -1,4 +1,4 @@
1
- const { ref: ref, reactive: reactive, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, unref: unref, isRef: isRef, withCtx: withCtx, createVNode: createVNode, createTextVNode: createTextVNode, createElementBlock: createElementBlock, Fragment: Fragment, renderList: renderList, createElementVNode: createElementVNode } = Vue;
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.sourceid = config.sourceid;
25
- chartColorForm.chartid = config.api.getId();
26
- chartColorForm.api = config.api;
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 = reactive({
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: chartColorForm,
97
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => chartColorForm = $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
- const { ref: ref, computed: computed, provide: provide, onMounted: onMounted, onUnmounted: onUnmounted, watch: watch, createElementBlock: createElementBlock, openBlock: openBlock, renderSlot: renderSlot, createBlock: createBlock, Teleport: Teleport, createVNode: createVNode, Transition: Transition, withCtx: withCtx, createCommentVNode: createCommentVNode, normalizeStyle: normalizeStyle, createElementVNode: createElementVNode, Fragment: Fragment, renderList: renderList, createTextVNode: createTextVNode, toDisplayString: toDisplayString, normalizeClass: normalizeClass } = Vue;
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
- const { ref: ref, watch: watch, onMounted: onMounted, nextTick: nextTick, createElementBlock: createElementBlock, openBlock: openBlock, createCommentVNode: createCommentVNode, createElementVNode: createElementVNode, renderSlot: renderSlot, toDisplayString: toDisplayString, normalizeStyle: normalizeStyle, normalizeClass: normalizeClass } = Vue;
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
- const { computed: computed, createElementBlock: createElementBlock, openBlock: openBlock, createElementVNode: createElementVNode, normalizeStyle: normalizeStyle, toDisplayString: toDisplayString } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, createVNode: createVNode, createElementVNode: createElementVNode, normalizeStyle: normalizeStyle, toDisplayString: toDisplayString } = Vue;
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
- const { createBlock: createBlock, openBlock: openBlock } = Vue;
1
+ import { createBlock, openBlock } from "vue";
2
2
  import BdEmpty from "./empty.vue.js";
3
3
  import "./invalid.vue2.js";
4
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- const { ref: ref, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, createElementVNode: createElementVNode, createVNode: createVNode, withCtx: withCtx, createTextVNode: createTextVNode } = Vue;
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
- const { ref: ref, reactive: reactive, watch: watch, onMounted: onMounted, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, createVNode: createVNode, withModifiers: withModifiers, withCtx: withCtx, Fragment: Fragment, renderList: renderList, createBlock: createBlock } = Vue;
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
- const { defineComponent: defineComponent, toRefs: toRefs, computed: computed, h: h } = Vue;
2
- const { ElTreeSelect: ElTreeSelect, ElInputNumber: ElInputNumber, ElDatePicker: ElDatePicker, ElCheckbox: ElCheckbox, ElOption: ElOption, ElButton: ElButton, ElSelect: ElSelect, ElInput: ElInput, ElFormItem: ElFormItem } = ElementPlus;
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
- const { useAttrs: useAttrs, createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, unref: unref, createElementVNode: createElementVNode, renderSlot: renderSlot } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, withCtx: withCtx, createVNode: createVNode, normalizeStyle: normalizeStyle, createElementBlock: createElementBlock, createCommentVNode: createCommentVNode, renderSlot: renderSlot, createElementVNode: createElementVNode, toDisplayString: toDisplayString } = Vue;
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
- const { ref: ref, computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, withCtx: withCtx, createVNode: createVNode, normalizeStyle: normalizeStyle, createElementBlock: createElementBlock, createCommentVNode: createCommentVNode, renderSlot: renderSlot, createElementVNode: createElementVNode, toDisplayString: toDisplayString, createTextVNode: createTextVNode, unref: unref, withKeys: withKeys } = Vue;
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
- const { Search: Search } = ElementPlusIconVue;
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
- const { computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, withCtx: withCtx, createVNode: createVNode, createElementVNode: createElementVNode, renderSlot: renderSlot, createCommentVNode: createCommentVNode, normalizeStyle: normalizeStyle, createElementBlock: createElementBlock, toDisplayString: toDisplayString } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, withCtx: withCtx, createVNode: createVNode, renderSlot: renderSlot, normalizeStyle: normalizeStyle, createElementVNode: createElementVNode } = Vue;
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
- const { ref: ref, computed: computed, watch: watch, createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, Fragment: Fragment, renderList: renderList, normalizeClass: normalizeClass, createElementVNode: createElementVNode, createCommentVNode: createCommentVNode, createTextVNode: createTextVNode, toDisplayString: toDisplayString } = Vue;
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
- const { createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, createStaticVNode: createStaticVNode } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, createVNode: createVNode, withCtx: withCtx, Fragment: Fragment, renderList: renderList, createBlock: createBlock, createElementVNode: createElementVNode, normalizeStyle: normalizeStyle, createTextVNode: createTextVNode, toDisplayString: toDisplayString, renderSlot: renderSlot, resolveDynamicComponent: resolveDynamicComponent } = Vue;
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
- const { ref: ref, computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, withCtx: withCtx, createVNode: createVNode, createElementVNode: createElementVNode, createCommentVNode: createCommentVNode, createTextVNode: createTextVNode, withKeys: withKeys, createElementBlock: createElementBlock, normalizeStyle: normalizeStyle, renderSlot: renderSlot, Fragment: Fragment, renderList: renderList, withModifiers: withModifiers, withDirectives: withDirectives, toDisplayString: toDisplayString, vShow: vShow, unref: unref, mergeProps: mergeProps } = Vue;
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
- const { computed: computed, watch: watch, onBeforeMount: onBeforeMount, onMounted: onMounted, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, createElementVNode: createElementVNode, createVNode: createVNode, toDisplayString: toDisplayString, withCtx: withCtx, createTextVNode: createTextVNode, createCommentVNode: createCommentVNode, unref: unref } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, normalizeClass: normalizeClass, createVNode: createVNode, mergeProps: mergeProps } = Vue;
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
- const { ref: ref, computed: computed, createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, Fragment: Fragment, renderList: renderList } = Vue;
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
- const { computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock } = Vue;
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
- const { resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, withCtx: withCtx, createVNode: createVNode, createElementVNode: createElementVNode, toDisplayString: toDisplayString } = Vue;
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
- const { createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, toDisplayString: toDisplayString } = Vue;
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
- const { createVNode: createVNode } = Vue;
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
- "class": "loadsvg",
9
- "style": "height:20px;width:20px;"
8
+ class: "loadsvg",
9
+ style: "height:20px;width:20px;"
10
10
  }, [createVNode("svg", {
11
- "viewBox": "0 0 1024 1024",
12
- "focusable": "false",
11
+ viewBox: "0 0 1024 1024",
12
+ focusable: "false",
13
13
  "data-icon": "loading",
14
- "width": "1em",
15
- "height": "1em",
16
- "fill": "currentColor",
14
+ width: "1em",
15
+ height: "1em",
16
+ fill: "currentColor",
17
17
  "aria-hidden": "true"
18
18
  }, [createVNode("path", {
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"
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,4 +1,4 @@
1
- const { ref: ref, nextTick: nextTick } = Vue;
1
+ import { ref, nextTick } from "vue";
2
2
  function useDialog(showFn) {
3
3
  const visible = ref(false);
4
4
  const openParms = ref({});
@@ -1,4 +1,4 @@
1
- const { reactive: reactive, toRefs: toRefs } = Vue;
1
+ import { reactive, toRefs } from "vue";
2
2
  function usePage(changeFn) {
3
3
  let page = reactive({
4
4
  // 数据服务分页参数值
@@ -1,7 +1,7 @@
1
- const { ElMessage: ElMessage, ElMessageBox: ElMessageBox, ElNotification: ElNotification, ElButton: ElButton, ElIcon: ElIcon, ElLoading: ElLoading } = ElementPlus;
2
- const { ElLoading: ElLoading2, ElMessage: ElMessage2, ElMessageBox: ElMessageBox2, ElNotification: ElNotification2 } = ElementPlus;
3
- const { Warning: Warning } = ElementPlusIconVue;
4
- const { h: h } = Vue;
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
- const { ref: ref, nextTick: nextTick } = Vue;
1
+ import { ref, nextTick } from "vue";
2
2
  function useSearrch(prefix = "") {
3
3
  const searchkeysArr = ref([]);
4
4
  const search_drop = ref(false);
@@ -1,4 +1,4 @@
1
- const { onMounted: onMounted, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, Fragment: Fragment, createElementVNode: createElementVNode, createCommentVNode: createCommentVNode, createVNode: createVNode, withDirectives: withDirectives, withKeys: withKeys, unref: unref, isRef: isRef, withCtx: withCtx, createTextVNode: createTextVNode, renderList: renderList, toDisplayString: toDisplayString, withModifiers: withModifiers, vShow: vShow } = Vue;
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
- const { useCssVars: useCssVars, computed: computed, createElementBlock: createElementBlock, openBlock: openBlock, createBlock: createBlock, createElementVNode: createElementVNode, Fragment: Fragment, renderList: renderList, normalizeStyle: normalizeStyle, normalizeClass: normalizeClass, toDisplayString: toDisplayString } = Vue;
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
- const { ref: ref, watch: watch, onMounted: onMounted, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, withCtx: withCtx, createElementBlock: createElementBlock, Fragment: Fragment, renderList: renderList, createVNode: createVNode } = Vue;
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
- const { ref: ref, watch: watch, resolveComponent: resolveComponent, createElementBlock: createElementBlock, createCommentVNode: createCommentVNode, openBlock: openBlock, normalizeStyle: normalizeStyle, createElementVNode: createElementVNode, createVNode: createVNode, createBlock: createBlock, toDisplayString: toDisplayString, withCtx: withCtx, createTextVNode: createTextVNode, normalizeClass: normalizeClass, resolveDynamicComponent: resolveDynamicComponent } = Vue;
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.27",
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="chartColorForm" label-suffix=":" label-width='80px' class="formconfig" style="padding: 10px 10px">
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.sourceid = config.sourceid
110
- chartColorForm.chartid = config.api.getId()
111
- chartColorForm.api = config.api
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 = reactive({
120
+ const chartColorForm = ref({
118
121
  sourceid: '',
119
122
  chartid: '', // 当前操作的图表对象
120
123
  api: null, // 当前操作的图表对象
@@ -1,10 +1,23 @@
1
- function LoadComponent(props, { slots, emit, attrs }) {
2
- return (
3
- <div class="loadsvg" style="height:20px;width:20px;">
4
- <svg viewBox="0 0 1024 1024" focusable="false" data-icon="loading" width="1em" height="1em" fill="currentColor" aria-hidden="true">
5
- <path 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"></path>
6
- </svg>
7
- </div>
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