@bdsoft/element 1.1.25 → 1.1.27

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 (183) hide show
  1. package/dist/BdElement.js +22921 -0
  2. package/dist/cjs/_virtual/_plugin-vue_export-helper.cjs +9 -0
  3. package/dist/cjs/global/index.cjs +14 -0
  4. package/dist/cjs/index.cjs +18276 -0
  5. package/dist/cjs/node_modules/.pnpm/splitpanes@4.0.4_vue@3.5.25_typescript@5.4.5_/node_modules/splitpanes/dist/splitpanes.css.cjs +1 -0
  6. package/dist/cjs/src/assets/css/element.scss.cjs +1 -0
  7. package/dist/cjs/src/assets/css/layout.scss.cjs +1 -0
  8. package/dist/cjs/src/assets/css/tailwind.scss.cjs +1 -0
  9. package/dist/cjs/src/assets/images/ff.png.cjs +3 -0
  10. package/dist/cjs/src/assets/images/menu/add.png.cjs +3 -0
  11. package/dist/cjs/src/assets/images/menu/del.png.cjs +3 -0
  12. package/dist/cjs/src/assets/images/menu/edit.png.cjs +3 -0
  13. package/dist/cjs/src/components/3dcloudwords/index.cjs +344 -0
  14. package/dist/cjs/src/components/3dcloudwords/index.vue.cjs +125 -0
  15. package/dist/cjs/src/components/badge/index.vue.cjs +96 -0
  16. package/dist/cjs/src/components/badge/index.vue2.cjs +1 -0
  17. package/dist/cjs/src/components/basic/Finish.vue.cjs +55 -0
  18. package/dist/cjs/src/components/basic/Finish.vue2.cjs +1 -0
  19. package/dist/cjs/src/components/button/index.vue.cjs +44 -0
  20. package/dist/cjs/src/components/carousel/index.vue.cjs +97 -0
  21. package/dist/cjs/src/components/carousel/index.vue2.cjs +1 -0
  22. package/dist/cjs/src/components/chartconfig/index.vue.cjs +327 -0
  23. package/dist/cjs/src/components/contextMenu/index.vue.cjs +152 -0
  24. package/dist/cjs/src/components/contextMenu/index.vue2.cjs +1 -0
  25. package/dist/cjs/src/components/countup/countUp.cjs +165 -0
  26. package/dist/cjs/src/components/countup/index.vue.cjs +116 -0
  27. package/dist/cjs/src/components/empty/assets/build.png.cjs +3 -0
  28. package/dist/cjs/src/components/empty/assets/emptybg.gif.cjs +3 -0
  29. package/dist/cjs/src/components/empty/assets/emptybg.png.cjs +3 -0
  30. package/dist/cjs/src/components/empty/assets/emptybg2.jpg.cjs +3 -0
  31. package/dist/cjs/src/components/empty/assets/emptybg3.jpg.cjs +3 -0
  32. package/dist/cjs/src/components/empty/assets/wuxiao.png.cjs +3 -0
  33. package/dist/cjs/src/components/empty/assets/wuxiao.webp.cjs +3 -0
  34. package/dist/cjs/src/components/empty/building.vue.cjs +95 -0
  35. package/dist/cjs/src/components/empty/building.vue2.cjs +1 -0
  36. package/dist/cjs/src/components/empty/empty.vue.cjs +108 -0
  37. package/dist/cjs/src/components/empty/empty.vue2.cjs +1 -0
  38. package/dist/cjs/src/components/empty/invalid.vue.cjs +20 -0
  39. package/dist/cjs/src/components/empty/invalid.vue2.cjs +1 -0
  40. package/dist/cjs/src/components/error/Error.vue.cjs +47 -0
  41. package/dist/cjs/src/components/error/Error.vue2.cjs +1 -0
  42. package/dist/cjs/src/components/form/Form.vue.cjs +92 -0
  43. package/dist/cjs/src/components/form/FormItem.vue.cjs +107 -0
  44. package/dist/cjs/src/components/form/FormItem.vue2.cjs +3 -0
  45. package/dist/cjs/src/components/layout/bar.vue.cjs +45 -0
  46. package/dist/cjs/src/components/layout/bar.vue2.cjs +1 -0
  47. package/dist/cjs/src/components/layout/layout1.vue.cjs +79 -0
  48. package/dist/cjs/src/components/layout/layout2.vue.cjs +174 -0
  49. package/dist/cjs/src/components/layout/layout2.vue2.cjs +1 -0
  50. package/dist/cjs/src/components/layout/layout3.vue.cjs +111 -0
  51. package/dist/cjs/src/components/layout/layout3.vue2.cjs +1 -0
  52. package/dist/cjs/src/components/layout/layout4.vue.cjs +70 -0
  53. package/dist/cjs/src/components/layout/layout4.vue2.cjs +1 -0
  54. package/dist/cjs/src/components/layout/nav.vue.cjs +222 -0
  55. package/dist/cjs/src/components/layout/nav.vue2.cjs +1 -0
  56. package/dist/cjs/src/components/layout/nav.vue3.cjs +1 -0
  57. package/dist/cjs/src/components/loading/index.vue.cjs +26 -0
  58. package/dist/cjs/src/components/loading/index.vue2.cjs +1 -0
  59. package/dist/cjs/src/components/notice/NoticeList.vue.cjs +202 -0
  60. package/dist/cjs/src/components/notice/NoticeList.vue2.cjs +1 -0
  61. package/dist/cjs/src/components/notice/NoticeListPaging.vue.cjs +343 -0
  62. package/dist/cjs/src/components/notice/NoticeListPaging.vue2.cjs +1 -0
  63. package/dist/cjs/src/components/notice/NoticeView.vue.cjs +134 -0
  64. package/dist/cjs/src/components/notice/NoticeView.vue2.cjs +1 -0
  65. package/dist/cjs/src/components/pagination/index.vue.cjs +97 -0
  66. package/dist/cjs/src/components/pagination/index.vue2.cjs +1 -0
  67. package/dist/cjs/src/components/pagination/scroll-to.cjs +40 -0
  68. package/dist/cjs/src/components/progress/bar.vue.cjs +64 -0
  69. package/dist/cjs/src/components/progress/bar.vue2.cjs +1 -0
  70. package/dist/cjs/src/components/progress/progress.vue.cjs +51 -0
  71. package/dist/cjs/src/components/progress/progress.vue2.cjs +1 -0
  72. package/dist/cjs/src/components/statisticalCount/index.vue.cjs +88 -0
  73. package/dist/cjs/src/components/statisticalCount/index.vue2.cjs +1 -0
  74. package/dist/cjs/src/components/username/index.vue.cjs +59 -0
  75. package/dist/cjs/src/components/username/index.vue2.cjs +1 -0
  76. package/dist/cjs/src/index.cjs +68 -0
  77. package/dist/cjs/src/utils/coms/load.cjs +23 -0
  78. package/dist/cjs/src/utils/func.cjs +48 -0
  79. package/dist/cjs/src/utils/hookDialog.cjs +27 -0
  80. package/dist/cjs/src/utils/hookPage.cjs +42 -0
  81. package/dist/cjs/src/utils/message.cjs +164 -0
  82. package/dist/cjs/src/xm_components/HeadSearch/hook/hookSearch.cjs +64 -0
  83. package/dist/cjs/src/xm_components/HeadSearch/index.vue.cjs +139 -0
  84. package/dist/cjs/src/xm_components/HeadSearch/index.vue2.cjs +1 -0
  85. package/dist/cjs/src/xm_components/Milestone/index.vue.cjs +88 -0
  86. package/dist/cjs/src/xm_components/Milestone/index.vue2.cjs +1 -0
  87. package/dist/cjs/src/xm_components/MultiStatisticalCard/index.vue.cjs +88 -0
  88. package/dist/cjs/src/xm_components/MultiStatisticalCard/index.vue2.cjs +1 -0
  89. package/dist/cjs/src/xm_components/StatisticalCard/index.vue.cjs +163 -0
  90. package/dist/cjs/src/xm_components/StatisticalCard/index.vue2.cjs +1 -0
  91. package/dist/es/_virtual/_plugin-vue_export-helper.js +10 -0
  92. package/dist/es/global/index.js +14 -0
  93. package/dist/es/index.js +18247 -0
  94. package/dist/es/node_modules/.pnpm/splitpanes@4.0.4_vue@3.5.25_typescript@5.4.5_/node_modules/splitpanes/dist/splitpanes.css.js +1 -0
  95. package/dist/es/src/assets/css/element.scss.js +1 -0
  96. package/dist/es/src/assets/css/layout.scss.js +1 -0
  97. package/dist/es/src/assets/css/tailwind.scss.js +1 -0
  98. package/dist/es/src/assets/images/ff.png.js +4 -0
  99. package/dist/es/src/assets/images/menu/add.png.js +4 -0
  100. package/dist/es/src/assets/images/menu/del.png.js +4 -0
  101. package/dist/es/src/assets/images/menu/edit.png.js +4 -0
  102. package/dist/es/src/components/3dcloudwords/index.js +345 -0
  103. package/dist/es/src/components/3dcloudwords/index.vue.js +126 -0
  104. package/dist/es/src/components/badge/index.vue.js +97 -0
  105. package/dist/es/src/components/badge/index.vue2.js +1 -0
  106. package/dist/es/src/components/basic/Finish.vue.js +56 -0
  107. package/dist/es/src/components/basic/Finish.vue2.js +1 -0
  108. package/dist/es/src/components/button/index.vue.js +45 -0
  109. package/dist/es/src/components/carousel/index.vue.js +98 -0
  110. package/dist/es/src/components/carousel/index.vue2.js +1 -0
  111. package/dist/es/src/components/chartconfig/index.vue.js +328 -0
  112. package/dist/es/src/components/contextMenu/index.vue.js +153 -0
  113. package/dist/es/src/components/contextMenu/index.vue2.js +1 -0
  114. package/dist/es/src/components/countup/countUp.js +165 -0
  115. package/dist/es/src/components/countup/index.vue.js +117 -0
  116. package/dist/es/src/components/empty/assets/build.png.js +4 -0
  117. package/dist/es/src/components/empty/assets/emptybg.gif.js +4 -0
  118. package/dist/es/src/components/empty/assets/emptybg.png.js +4 -0
  119. package/dist/es/src/components/empty/assets/emptybg2.jpg.js +4 -0
  120. package/dist/es/src/components/empty/assets/emptybg3.jpg.js +4 -0
  121. package/dist/es/src/components/empty/assets/wuxiao.png.js +4 -0
  122. package/dist/es/src/components/empty/assets/wuxiao.webp.js +4 -0
  123. package/dist/es/src/components/empty/building.vue.js +95 -0
  124. package/dist/es/src/components/empty/building.vue2.js +1 -0
  125. package/dist/es/src/components/empty/empty.vue.js +108 -0
  126. package/dist/es/src/components/empty/empty.vue2.js +1 -0
  127. package/dist/es/src/components/empty/invalid.vue.js +21 -0
  128. package/dist/es/src/components/empty/invalid.vue2.js +1 -0
  129. package/dist/es/src/components/error/Error.vue.js +48 -0
  130. package/dist/es/src/components/error/Error.vue2.js +1 -0
  131. package/dist/es/src/components/form/Form.vue.js +93 -0
  132. package/dist/es/src/components/form/FormItem.vue.js +108 -0
  133. package/dist/es/src/components/form/FormItem.vue2.js +4 -0
  134. package/dist/es/src/components/layout/bar.vue.js +46 -0
  135. package/dist/es/src/components/layout/bar.vue2.js +1 -0
  136. package/dist/es/src/components/layout/layout1.vue.js +80 -0
  137. package/dist/es/src/components/layout/layout2.vue.js +175 -0
  138. package/dist/es/src/components/layout/layout2.vue2.js +1 -0
  139. package/dist/es/src/components/layout/layout3.vue.js +112 -0
  140. package/dist/es/src/components/layout/layout3.vue2.js +1 -0
  141. package/dist/es/src/components/layout/layout4.vue.js +71 -0
  142. package/dist/es/src/components/layout/layout4.vue2.js +1 -0
  143. package/dist/es/src/components/layout/nav.vue.js +223 -0
  144. package/dist/es/src/components/layout/nav.vue2.js +1 -0
  145. package/dist/es/src/components/layout/nav.vue3.js +1 -0
  146. package/dist/es/src/components/loading/index.vue.js +27 -0
  147. package/dist/es/src/components/loading/index.vue2.js +1 -0
  148. package/dist/es/src/components/notice/NoticeList.vue.js +203 -0
  149. package/dist/es/src/components/notice/NoticeList.vue2.js +1 -0
  150. package/dist/es/src/components/notice/NoticeListPaging.vue.js +344 -0
  151. package/dist/es/src/components/notice/NoticeListPaging.vue2.js +1 -0
  152. package/dist/es/src/components/notice/NoticeView.vue.js +135 -0
  153. package/dist/es/src/components/notice/NoticeView.vue2.js +1 -0
  154. package/dist/es/src/components/pagination/index.vue.js +98 -0
  155. package/dist/es/src/components/pagination/index.vue2.js +1 -0
  156. package/dist/es/src/components/pagination/scroll-to.js +40 -0
  157. package/dist/es/src/components/progress/bar.vue.js +65 -0
  158. package/dist/es/src/components/progress/bar.vue2.js +1 -0
  159. package/dist/es/src/components/progress/progress.vue.js +52 -0
  160. package/dist/es/src/components/progress/progress.vue2.js +1 -0
  161. package/dist/es/src/components/statisticalCount/index.vue.js +89 -0
  162. package/dist/es/src/components/statisticalCount/index.vue2.js +1 -0
  163. package/dist/es/src/components/username/index.vue.js +60 -0
  164. package/dist/es/src/components/username/index.vue2.js +1 -0
  165. package/dist/es/src/index.js +68 -0
  166. package/dist/es/src/utils/coms/load.js +24 -0
  167. package/dist/es/src/utils/func.js +48 -0
  168. package/dist/es/src/utils/hookDialog.js +27 -0
  169. package/dist/es/src/utils/hookPage.js +42 -0
  170. package/dist/es/src/utils/message.js +153 -0
  171. package/dist/es/src/xm_components/HeadSearch/hook/hookSearch.js +65 -0
  172. package/dist/es/src/xm_components/HeadSearch/index.vue.js +140 -0
  173. package/dist/es/src/xm_components/HeadSearch/index.vue2.js +1 -0
  174. package/dist/es/src/xm_components/Milestone/index.vue.js +89 -0
  175. package/dist/es/src/xm_components/Milestone/index.vue2.js +1 -0
  176. package/dist/es/src/xm_components/MultiStatisticalCard/index.vue.js +89 -0
  177. package/dist/es/src/xm_components/MultiStatisticalCard/index.vue2.js +1 -0
  178. package/dist/es/src/xm_components/StatisticalCard/index.vue.js +164 -0
  179. package/dist/es/src/xm_components/StatisticalCard/index.vue2.js +1 -0
  180. package/global/index.js +1 -1
  181. package/package.json +26 -10
  182. package/index.html +0 -13
  183. package/vite.config.js +0 -51
@@ -0,0 +1,135 @@
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;
2
+ import "./NoticeView.vue2.js";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const _hoisted_1 = { class: "docview" };
5
+ const _hoisted_2 = { class: "noticeTitle" };
6
+ const _hoisted_3 = { style: { "padding": "20px 0 0px 0" } };
7
+ const _hoisted_4 = ["innerHTML"];
8
+ const _hoisted_5 = { key: 0 };
9
+ const _hoisted_6 = ["src"];
10
+ const _sfc_main = {
11
+ __name: "NoticeView",
12
+ props: {
13
+ bdsdk: {
14
+ type: Object
15
+ },
16
+ data: {
17
+ type: Object,
18
+ default: () => ({
19
+ title: "",
20
+ user_name: "",
21
+ date: "",
22
+ content: "",
23
+ visits: 0
24
+ })
25
+ }
26
+ },
27
+ emits: [],
28
+ setup(__props, { expose: __expose, emit: __emit }) {
29
+ const props = __props;
30
+ const bdsdk = props.bdsdk;
31
+ const loading = computed(() => {
32
+ return props.data.content == null;
33
+ });
34
+ watch(
35
+ () => props.data,
36
+ (pdata) => {
37
+ console.info(props.data, "props.data");
38
+ }
39
+ );
40
+ onBeforeMount(() => {
41
+ });
42
+ onMounted(() => {
43
+ });
44
+ __expose({});
45
+ return (_ctx, _cache) => {
46
+ const _component_el_text = resolveComponent("el-text");
47
+ const _component_el_divider = resolveComponent("el-divider");
48
+ const _component_el_skeleton_item = resolveComponent("el-skeleton-item");
49
+ const _component_el_skeleton = resolveComponent("el-skeleton");
50
+ return openBlock(), createElementBlock("div", _hoisted_1, [
51
+ createElementVNode("h1", _hoisted_2, toDisplayString(__props.data.title), 1),
52
+ createElementVNode("div", _hoisted_3, [
53
+ createVNode(_component_el_text, { style: { "color": "#999" } }, {
54
+ default: withCtx(() => [
55
+ createTextVNode(" 发布人: " + toDisplayString(__props.data.user_name), 1)
56
+ ]),
57
+ _: 1
58
+ }),
59
+ createVNode(_component_el_text, { style: { "margin-left": "14px", "color": "#999" } }, {
60
+ default: withCtx(() => [
61
+ createTextVNode(" 发布时间:" + toDisplayString(__props.data.create_date), 1)
62
+ ]),
63
+ _: 1
64
+ }),
65
+ createVNode(_component_el_text, { style: { "margin-left": "14px", "color": "#999" } }, {
66
+ default: withCtx(() => [
67
+ createTextVNode(" 查看:" + toDisplayString(__props.data.visits), 1)
68
+ ]),
69
+ _: 1
70
+ })
71
+ ]),
72
+ createVNode(_component_el_divider, { style: { "margin": "10px 0" } }),
73
+ createVNode(_component_el_skeleton, {
74
+ loading: loading.value,
75
+ rows: 6,
76
+ animated: ""
77
+ }, {
78
+ template: withCtx(() => [
79
+ createVNode(_component_el_skeleton_item, {
80
+ variant: "h1",
81
+ style: { "width": "20%", "height": "20px", "margin": "20px" }
82
+ }),
83
+ _cache[0] || (_cache[0] = createElementVNode("br", null, null, -1)),
84
+ createVNode(_component_el_skeleton_item, {
85
+ variant: "text",
86
+ style: { "width": "20%", "height": "20px", "margin": "20px" }
87
+ }),
88
+ _cache[1] || (_cache[1] = createElementVNode("br", null, null, -1)),
89
+ createVNode(_component_el_skeleton_item, {
90
+ variant: "h3",
91
+ style: { "width": "30%", "height": "20px", "margin": "20px" }
92
+ }),
93
+ _cache[2] || (_cache[2] = createElementVNode("br", null, null, -1)),
94
+ createVNode(_component_el_skeleton_item, {
95
+ variant: "caption",
96
+ style: { "width": "30%", "height": "20px", "margin": "20px" }
97
+ }),
98
+ _cache[3] || (_cache[3] = createElementVNode("br", null, null, -1)),
99
+ createVNode(_component_el_skeleton_item, {
100
+ variant: "button",
101
+ style: { "width": "30%", "height": "20px", "margin": "20px" }
102
+ }),
103
+ _cache[4] || (_cache[4] = createElementVNode("br", null, null, -1)),
104
+ createVNode(_component_el_skeleton_item, {
105
+ variant: "image",
106
+ style: { "width": "120px", "height": "120px", "margin": "20px" }
107
+ }),
108
+ _cache[5] || (_cache[5] = createElementVNode("br", null, null, -1)),
109
+ createVNode(_component_el_skeleton_item, {
110
+ variant: "rect",
111
+ style: { "width": "30%", "height": "20px", "margin": "20px" }
112
+ }),
113
+ _cache[6] || (_cache[6] = createElementVNode("br", null, null, -1))
114
+ ]),
115
+ default: withCtx(() => [
116
+ createElementVNode("div", {
117
+ innerHTML: __props.data.content
118
+ }, null, 8, _hoisted_4),
119
+ __props.data.imgurl ? (openBlock(), createElementBlock("div", _hoisted_5, [
120
+ createElementVNode("img", {
121
+ src: unref(bdsdk).getBaseImgUrl(__props.data.imgurl),
122
+ alt: ""
123
+ }, null, 8, _hoisted_6)
124
+ ])) : createCommentVNode("", true)
125
+ ]),
126
+ _: 1
127
+ }, 8, ["loading"])
128
+ ]);
129
+ };
130
+ }
131
+ };
132
+ const NoticeView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0efe49df"]]);
133
+ export {
134
+ NoticeView as default
135
+ };
@@ -0,0 +1,98 @@
1
+ const { computed: computed, resolveComponent: resolveComponent, createElementBlock: createElementBlock, openBlock: openBlock, normalizeClass: normalizeClass, createVNode: createVNode, mergeProps: mergeProps } = Vue;
2
+ import { scrollTo } from "./scroll-to.js";
3
+ import "./index.vue2.js";
4
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const _sfc_main = {
6
+ __name: "index",
7
+ props: {
8
+ total: {
9
+ required: true,
10
+ type: Number
11
+ },
12
+ page: {
13
+ type: Number,
14
+ default: 1
15
+ },
16
+ pageSize: {
17
+ type: Number,
18
+ default: 20
19
+ },
20
+ pageSizes: {
21
+ type: Array,
22
+ default() {
23
+ return [10, 20, 30, 50];
24
+ }
25
+ },
26
+ layout: {
27
+ type: String,
28
+ default: "prev, pager, next, jumper, ->, total"
29
+ },
30
+ background: {
31
+ type: Boolean,
32
+ default: true
33
+ },
34
+ autoScroll: {
35
+ type: Boolean,
36
+ default: true
37
+ },
38
+ hidden: {
39
+ type: Boolean,
40
+ default: false
41
+ }
42
+ },
43
+ emits: ["update:page", "update:pageSize", "pagination"],
44
+ setup(__props, { emit: __emit }) {
45
+ const emits = __emit;
46
+ const props = __props;
47
+ const currentPage = computed({
48
+ get: () => {
49
+ return props.page;
50
+ },
51
+ set: (val) => {
52
+ emits("update:page", val);
53
+ }
54
+ });
55
+ const pageSize = computed({
56
+ get: () => {
57
+ return props.pageSize;
58
+ },
59
+ set: (val) => {
60
+ emits("update:pageSize", val);
61
+ }
62
+ });
63
+ const handleSizeChange = (val) => {
64
+ emits("pagination", { page: currentPage.value, pageSize: val });
65
+ if (props.autoScroll) {
66
+ scrollTo(0, 800);
67
+ }
68
+ };
69
+ const handleCurrentChange = (val) => {
70
+ emits("pagination", { page: val, pageSize: pageSize.value });
71
+ if (props.autoScroll) {
72
+ scrollTo(0, 800);
73
+ }
74
+ };
75
+ return (_ctx, _cache) => {
76
+ const _component_el_pagination = resolveComponent("el-pagination");
77
+ return openBlock(), createElementBlock("div", {
78
+ class: normalizeClass([{ hidden: __props.hidden }, "pagination-container"])
79
+ }, [
80
+ createVNode(_component_el_pagination, mergeProps({
81
+ background: __props.background,
82
+ "current-page": currentPage.value,
83
+ "page-size": pageSize.value,
84
+ layout: __props.layout,
85
+ "page-sizes": __props.pageSizes,
86
+ total: __props.total
87
+ }, _ctx.$attrs, {
88
+ onSizeChange: handleSizeChange,
89
+ onCurrentChange: handleCurrentChange
90
+ }), null, 16, ["background", "current-page", "page-size", "layout", "page-sizes", "total"])
91
+ ], 2);
92
+ };
93
+ }
94
+ };
95
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fb0b6e71"]]);
96
+ export {
97
+ index as default
98
+ };
@@ -0,0 +1,40 @@
1
+ Math.easeInOutQuad = function(t, b, c, d) {
2
+ t /= d / 2;
3
+ if (t < 1) {
4
+ return c / 2 * t * t + b;
5
+ }
6
+ t--;
7
+ return -c / 2 * (t * (t - 2) - 1) + b;
8
+ };
9
+ var requestAnimFrame = function() {
10
+ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) {
11
+ window.setTimeout(callback, 1e3 / 60);
12
+ };
13
+ }();
14
+ function move(amount) {
15
+ document.documentElement.scrollTop = amount;
16
+ document.body.parentNode.scrollTop = amount;
17
+ document.body.scrollTop = amount;
18
+ }
19
+ function position() {
20
+ return document.documentElement.scrollTop || document.body.parentNode.scrollTop || document.body.scrollTop;
21
+ }
22
+ function scrollTo(to, duration, callback) {
23
+ const start = position();
24
+ const change = to - start;
25
+ const increment = 20;
26
+ let currentTime = 0;
27
+ duration = typeof duration === "undefined" ? 500 : duration;
28
+ var animateScroll = function() {
29
+ currentTime += increment;
30
+ var val = Math.easeInOutQuad(currentTime, start, change, duration);
31
+ move(val);
32
+ if (currentTime < duration) {
33
+ requestAnimFrame(animateScroll);
34
+ }
35
+ };
36
+ animateScroll();
37
+ }
38
+ export {
39
+ scrollTo
40
+ };
@@ -0,0 +1,65 @@
1
+ const { ref: ref, computed: computed, createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, Fragment: Fragment, renderList: renderList } = Vue;
2
+ import "./bar.vue2.js";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {
5
+ __name: "bar",
6
+ props: {
7
+ containerWidth: {
8
+ type: Number,
9
+ default: 80
10
+ },
11
+ bgcolor: {
12
+ type: String,
13
+ default: "#409eff"
14
+ },
15
+ barWidth: {
16
+ type: Number,
17
+ default: 3
18
+ },
19
+ barSpacing: {
20
+ type: Number,
21
+ default: 3
22
+ }
23
+ },
24
+ setup(__props) {
25
+ const props = __props;
26
+ const barWidth = ref(props.barWidth);
27
+ const barSpacing = ref(props.barSpacing);
28
+ const containerStyle = computed(() => ({
29
+ width: `100%`,
30
+ height: `100%`,
31
+ // backgroundColor: props.bgcolor, // 容器背景颜色,根据需要调整
32
+ display: "flex",
33
+ flexDirection: "row",
34
+ alignItems: "stretch"
35
+ }));
36
+ const barCount = computed(() => {
37
+ const totalBarWidth = barWidth.value + barSpacing.value;
38
+ return Math.floor(props.containerWidth / totalBarWidth);
39
+ });
40
+ const barStyle = computed(() => ({
41
+ width: `${barWidth.value}px`,
42
+ marginRight: `${barSpacing.value}px`,
43
+ backgroundColor: props.bgcolor
44
+ // 长条颜色,根据需要调整
45
+ }));
46
+ return (_ctx, _cache) => {
47
+ return openBlock(), createElementBlock("div", {
48
+ class: "status-bar-container",
49
+ style: normalizeStyle(containerStyle.value)
50
+ }, [
51
+ (openBlock(true), createElementBlock(Fragment, null, renderList(barCount.value, (index) => {
52
+ return openBlock(), createElementBlock("div", {
53
+ class: "bar",
54
+ key: index,
55
+ style: normalizeStyle(barStyle.value)
56
+ }, null, 4);
57
+ }), 128))
58
+ ], 4);
59
+ };
60
+ }
61
+ };
62
+ const bar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ad7a80a7"]]);
63
+ export {
64
+ bar as default
65
+ };
@@ -0,0 +1,52 @@
1
+ const { computed: computed, resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock } = Vue;
2
+ import "./progress.vue2.js";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {
5
+ __name: "progress",
6
+ props: {
7
+ width: {
8
+ type: Number,
9
+ default: 20
10
+ },
11
+ bgcolor: {
12
+ type: String,
13
+ default: "#409eff"
14
+ },
15
+ strokeWidth: {
16
+ type: Number,
17
+ default: 20
18
+ },
19
+ percentage: {
20
+ type: Number,
21
+ default: 50
22
+ }
23
+ },
24
+ setup(__props) {
25
+ const props = __props;
26
+ computed(() => {
27
+ let p = props.percentage;
28
+ if (p < 30) {
29
+ return "#67c23a";
30
+ } else if (p < 50) {
31
+ return "#ffa724";
32
+ } else if (p > 70) {
33
+ return "#f56c6c";
34
+ }
35
+ });
36
+ return (_ctx, _cache) => {
37
+ const _component_el_progress = resolveComponent("el-progress");
38
+ return openBlock(), createBlock(_component_el_progress, {
39
+ class: "bd-progress",
40
+ color: __props.bgcolor,
41
+ "text-inside": true,
42
+ striped: "",
43
+ "stroke-width": __props.strokeWidth,
44
+ percentage: __props.percentage
45
+ }, null, 8, ["color", "stroke-width", "percentage"]);
46
+ };
47
+ }
48
+ };
49
+ const progress = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c47dfdea"]]);
50
+ export {
51
+ progress as default
52
+ };
@@ -0,0 +1,89 @@
1
+ const { resolveComponent: resolveComponent, createBlock: createBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, withCtx: withCtx, createVNode: createVNode, createElementVNode: createElementVNode, toDisplayString: toDisplayString } = Vue;
2
+ import _sfc_main$1 from "../countup/index.vue.js";
3
+ import "./index.vue2.js";
4
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const _hoisted_1 = { style: { "width": "100%", "padding": "10px 0", "display": "flex", "align-items": "center", "justify-content": "center" } };
6
+ const _hoisted_2 = ["src"];
7
+ const _hoisted_3 = { style: { "height": "30px", "width": "100%", "display": "flex", "justify-content": "center", "line-height": "30px", "text-align": "center", "color": "#fff" } };
8
+ const _hoisted_4 = { class: "stepnum" };
9
+ const _hoisted_5 = { class: "dw" };
10
+ const _sfc_main = {
11
+ __name: "index",
12
+ props: {
13
+ idName: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ countTitle: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ countIcon: {
22
+ type: String,
23
+ default: ""
24
+ },
25
+ countNum: {
26
+ type: Number,
27
+ default: 0,
28
+ require: true
29
+ },
30
+ countDw: {
31
+ type: String,
32
+ default: ""
33
+ },
34
+ bgColor: {
35
+ type: String,
36
+ default: "#0b2f6a"
37
+ }
38
+ },
39
+ setup(__props) {
40
+ return (_ctx, _cache) => {
41
+ const _component_el_col = resolveComponent("el-col");
42
+ const _component_el_row = resolveComponent("el-row");
43
+ return openBlock(), createBlock(_component_el_row, {
44
+ style: normalizeStyle([{ "height": "100%", "width": "100%", "border-radius": "10px", "padding": "0 10px" }, { background: __props.bgColor }])
45
+ }, {
46
+ default: withCtx(() => [
47
+ createVNode(_component_el_col, { span: 10 }, {
48
+ default: withCtx(() => [
49
+ createElementVNode("div", _hoisted_1, [
50
+ createElementVNode("img", {
51
+ src: __props.countIcon,
52
+ alt: "",
53
+ height: "30px"
54
+ }, null, 8, _hoisted_2)
55
+ ]),
56
+ createElementVNode("div", _hoisted_3, [
57
+ createElementVNode("span", null, toDisplayString(__props.countTitle), 1)
58
+ ])
59
+ ]),
60
+ _: 1
61
+ }),
62
+ createVNode(_component_el_col, {
63
+ span: 14,
64
+ style: { "display": "flex", "align-items": "center", "justify-content": "center" }
65
+ }, {
66
+ default: withCtx(() => [
67
+ createElementVNode("div", _hoisted_4, [
68
+ createVNode(_sfc_main$1, {
69
+ "id-name": __props.idName,
70
+ class: "infor-intro-num user-created-count",
71
+ "end-val": __props.countNum,
72
+ countSize: 1033,
73
+ countWeight: 700
74
+ }, null, 8, ["id-name", "end-val"]),
75
+ createElementVNode("span", _hoisted_5, toDisplayString(__props.countDw), 1)
76
+ ])
77
+ ]),
78
+ _: 1
79
+ })
80
+ ]),
81
+ _: 1
82
+ }, 8, ["style"]);
83
+ };
84
+ }
85
+ };
86
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-62395cff"]]);
87
+ export {
88
+ index as default
89
+ };
@@ -0,0 +1,60 @@
1
+ const { createElementBlock: createElementBlock, openBlock: openBlock, normalizeStyle: normalizeStyle, toDisplayString: toDisplayString } = Vue;
2
+ import "./index.vue2.js";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {
5
+ props: {
6
+ name: {
7
+ type: String,
8
+ required: true
9
+ },
10
+ // 定义背景颜色 传递random则随机生成颜色
11
+ bgColor: {
12
+ type: String,
13
+ default: "#007BFF"
14
+ },
15
+ // 定义文字颜色
16
+ textColor: {
17
+ type: String,
18
+ default: "#FFFFFF"
19
+ },
20
+ // 定义组件的宽高
21
+ width: {
22
+ type: String,
23
+ default: "28px"
24
+ },
25
+ height: {
26
+ type: String,
27
+ default: "28px"
28
+ }
29
+ },
30
+ computed: {
31
+ displayName() {
32
+ return this.name.slice(-2);
33
+ }
34
+ },
35
+ methods: {
36
+ getRandomColor() {
37
+ const letters = "0123456789ABCDEF";
38
+ let color = "#";
39
+ for (let i = 0; i < 6; i++) {
40
+ color += letters[Math.floor(Math.random() * 16)];
41
+ }
42
+ return color;
43
+ }
44
+ }
45
+ };
46
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
47
+ return openBlock(), createElementBlock("div", {
48
+ class: "name-container",
49
+ style: normalizeStyle({
50
+ backgroundColor: $props.bgColor === "random" ? $options.getRandomColor() : $props.bgColor,
51
+ color: $props.textColor,
52
+ width: $props.width,
53
+ height: $props.height
54
+ })
55
+ }, toDisplayString($options.displayName), 5);
56
+ }
57
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6ab0e747"]]);
58
+ export {
59
+ index as default
60
+ };
@@ -0,0 +1,68 @@
1
+ import { default as default2 } from "./components/empty/empty.vue.js";
2
+ import { default as default3 } from "./components/empty/invalid.vue.js";
3
+ import { default as default4 } from "./components/empty/building.vue.js";
4
+ import { default as default5 } from "./components/layout/bar.vue.js";
5
+ import { default as default6 } from "./components/layout/nav.vue.js";
6
+ import { default as default7 } from "./components/badge/index.vue.js";
7
+ import { default as default8 } from "./components/layout/layout1.vue.js";
8
+ import { default as default9 } from "./components/layout/layout2.vue.js";
9
+ import { default as default10 } from "./components/layout/layout3.vue.js";
10
+ import { default as default11 } from "./components/layout/layout4.vue.js";
11
+ import { default as default12 } from "./xm_components/HeadSearch/index.vue.js";
12
+ import { default as default13 } from "./xm_components/Milestone/index.vue.js";
13
+ import { default as default14 } from "./xm_components/StatisticalCard/index.vue.js";
14
+ import { default as default15 } from "./xm_components/MultiStatisticalCard/index.vue.js";
15
+ import { default as default16 } from "./components/carousel/index.vue.js";
16
+ import { default as default17 } from "./components/form/FormItem.vue.js";
17
+ import { default as default18 } from "./components/form/Form.vue.js";
18
+ import { default as default19 } from "./components/notice/NoticeList.vue.js";
19
+ import { default as default20 } from "./components/notice/NoticeListPaging.vue.js";
20
+ import { default as default21 } from "./components/notice/NoticeView.vue.js";
21
+ import { default as default22 } from "./components/basic/Finish.vue.js";
22
+ import { default as default23 } from "./components/countup/index.vue.js";
23
+ import { default as default24 } from "./components/button/index.vue.js";
24
+ import { default as default25 } from "./components/progress/progress.vue.js";
25
+ import { default as default26 } from "./components/progress/bar.vue.js";
26
+ import { default as default27 } from "./components/pagination/index.vue.js";
27
+ import { default as default28 } from "./components/3dcloudwords/index.vue.js";
28
+ import { default as default29 } from "./components/contextMenu/index.vue.js";
29
+ import { default as default30 } from "./components/loading/index.vue.js";
30
+ import { default as default31 } from "./components/error/Error.vue.js";
31
+ import { default as default32 } from "./components/username/index.vue.js";
32
+ import { default as default33 } from "./components/chartconfig/index.vue.js";
33
+ import { default as default34 } from "./components/statisticalCount/index.vue.js";
34
+ export {
35
+ default16 as BDCarousel,
36
+ default25 as BDProgress,
37
+ default26 as BDProgressBar,
38
+ default7 as BdBadge,
39
+ default5 as BdBar,
40
+ default4 as BdBuilding,
41
+ default24 as BdButton,
42
+ default33 as BdChartConfig,
43
+ default29 as BdContextMenu,
44
+ default23 as BdCountUp,
45
+ default2 as BdEmpty,
46
+ default31 as BdError,
47
+ default22 as BdFinish,
48
+ default18 as BdForm,
49
+ default17 as BdFormItem,
50
+ default3 as BdInvalid,
51
+ default8 as BdLayout1,
52
+ default9 as BdLayout2,
53
+ default10 as BdLayout3,
54
+ default11 as BdLayout4,
55
+ default30 as BdLoading,
56
+ default6 as BdNav,
57
+ default27 as BdPagination,
58
+ default34 as BdStatisticalCount,
59
+ default32 as BdUserName,
60
+ default28 as BdWordsCloud,
61
+ default12 as HeadSearch,
62
+ default13 as Milestone,
63
+ default15 as MultiStatisticalCard,
64
+ default19 as Notice,
65
+ default20 as NoticePage,
66
+ default21 as NoticeView,
67
+ default14 as StatisticalCard
68
+ };
@@ -0,0 +1,24 @@
1
+ const { createVNode: createVNode } = Vue;
2
+ function LoadComponent(props, {
3
+ slots,
4
+ emit,
5
+ attrs
6
+ }) {
7
+ return createVNode("div", {
8
+ "class": "loadsvg",
9
+ "style": "height:20px;width:20px;"
10
+ }, [createVNode("svg", {
11
+ "viewBox": "0 0 1024 1024",
12
+ "focusable": "false",
13
+ "data-icon": "loading",
14
+ "width": "1em",
15
+ "height": "1em",
16
+ "fill": "currentColor",
17
+ "aria-hidden": "true"
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"
20
+ }, null)])]);
21
+ }
22
+ export {
23
+ LoadComponent as default
24
+ };