zzz-pc-view 0.0.118 → 0.0.120
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/package.json +1 -1
- package/src/decorators/CurdKey/index.d.ts +1 -0
- package/src/index.es.js +17 -5
- package/src/index.umd.js +2 -2
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
|
5
5
|
import CryptoJS from "crypto-js";
|
|
6
6
|
import qs from "qs";
|
|
7
7
|
import axios, { CanceledError } from "axios";
|
|
8
|
-
import { openBlock, createElementBlock, createElementVNode, ref, computed, shallowRef, nextTick, watch, onBeforeUnmount, onDeactivated, onActivated, defineComponent, onMounted, reactive, h, Fragment, renderList, mergeProps, unref, toDisplayString, createCommentVNode, createBlock, resolveDynamicComponent, toHandlers, resolveComponent, renderSlot, createVNode, withCtx, createTextVNode, resolveDirective, withDirectives, withModifiers, isRef,
|
|
8
|
+
import { openBlock, createElementBlock, createElementVNode, ref, computed, shallowRef, nextTick, watch, onBeforeUnmount, onDeactivated, onActivated, defineComponent, onMounted, reactive, h, Fragment, renderList, mergeProps, unref, toDisplayString, createCommentVNode, createBlock, resolveDynamicComponent, toHandlers, resolveComponent, renderSlot, createVNode, withCtx, createTextVNode, createSlots, resolveDirective, withDirectives, withModifiers, isRef, withKeys, normalizeStyle, normalizeClass, normalizeProps, guardReactiveProps, Transition, KeepAlive } from "vue";
|
|
9
9
|
import { useRoute, useRouter } from "vue-router";
|
|
10
10
|
import * as ECharts from "echarts";
|
|
11
11
|
import Mock from "mockjs";
|
|
@@ -2976,8 +2976,8 @@ const useChartStyleConfig = (param) => {
|
|
|
2976
2976
|
// 设置图例的水平对齐位置或偏移量。如果传入的 param.legendLeft 有值,则使用该值;
|
|
2977
2977
|
// 否则,使用默认值 'center',表示图例水平居中对齐。
|
|
2978
2978
|
legendLeft: param.legendLeft ?? "center",
|
|
2979
|
-
// 图例的宽度,如果未提供则使用默认值
|
|
2980
|
-
legendWidth: param.legendWidth || 80 / 100,
|
|
2979
|
+
// 图例的宽度,如果未提供则使用默认值 80
|
|
2980
|
+
legendWidth: (param.legendWidth || 80) / 100,
|
|
2981
2981
|
// 图例的字体大小,如果未提供则使用默认值 12
|
|
2982
2982
|
legendFontSize: param.legendFontSize ?? 12,
|
|
2983
2983
|
// 图例的字体族,如果未提供则使用默认的文本字体族
|
|
@@ -12405,7 +12405,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12405
12405
|
prop: column.propertyKey,
|
|
12406
12406
|
label: column.label,
|
|
12407
12407
|
ref_for: true
|
|
12408
|
-
}, column.colProps || unref(emptyObject2)), {
|
|
12408
|
+
}, column.colProps || unref(emptyObject2)), createSlots({
|
|
12409
12409
|
default: withCtx(({ row }) => [
|
|
12410
12410
|
(openBlock(), createBlock(resolveDynamicComponent(column.component || _sfc_main$j), mergeProps({
|
|
12411
12411
|
viewHandler: _ctx.viewHandler,
|
|
@@ -12415,7 +12415,19 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12415
12415
|
}, column.componentProps || unref(emptyObject2), toHandlers(column.componentOn || unref(emptyObject2))), null, 16, ["viewHandler", "model", "prop"]))
|
|
12416
12416
|
]),
|
|
12417
12417
|
_: 2
|
|
12418
|
-
},
|
|
12418
|
+
}, [
|
|
12419
|
+
column.headerComponent ? {
|
|
12420
|
+
name: "header",
|
|
12421
|
+
fn: withCtx(() => [
|
|
12422
|
+
(openBlock(), createBlock(resolveDynamicComponent(column.headerComponent), mergeProps({
|
|
12423
|
+
viewHandler: _ctx.viewHandler,
|
|
12424
|
+
prop: column.propertyKey,
|
|
12425
|
+
ref_for: true
|
|
12426
|
+
}, column.headerComponentProps || unref(emptyObject2), toHandlers(column.headerComponentOn || unref(emptyObject2))), null, 16, ["viewHandler", "prop"]))
|
|
12427
|
+
]),
|
|
12428
|
+
key: "0"
|
|
12429
|
+
} : void 0
|
|
12430
|
+
]), 1040, ["prop", "label"]);
|
|
12419
12431
|
}), 128))
|
|
12420
12432
|
]),
|
|
12421
12433
|
_: 1
|