cnhis-design-vue 3.1.16-beta.6 → 3.1.16-beta.9
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/es/packages/big-table/index.d.ts +1 -1
- package/es/packages/big-table/src/BigTable.vue.d.ts +2 -23
- package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/packages/big-table/src/hooks/useAnchor.d.ts +1 -1
- package/es/packages/big-table/src/hooks/useAnchor.js +20 -12
- package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +2 -1
- package/es/packages/fabric-chart/src/hooks/constant.js +4 -4
- package/es/packages/fabric-chart/src/hooks/useCenter.js +20 -23
- package/es/packages/fabric-chart/src/hooks/useDraw.js +11 -4
- package/es/packages/fabric-chart/src/hooks/useEvent.js +11 -3
- package/es/packages/fabric-chart/src/hooks/useTop.js +5 -8
- package/es/packages/form-config/index.d.ts +100 -3335
- package/es/packages/form-config/src/FormConfig.js +42 -34
- package/es/packages/form-config/src/FormConfig.vue.d.ts +137 -3372
- package/es/packages/form-config/src/components/FormConfigCreator.js +13 -11
- package/es/packages/form-config/src/components/FormConfigCreator.vue.d.ts +19 -7
- package/es/packages/form-config/src/components/FormConfigEdit.js +1 -1
- package/es/packages/form-config/src/components/FormConfigEdit.vue.d.ts +69 -32
- package/es/packages/form-config/src/constants/index.d.ts +20 -20
- package/es/packages/form-config/src/constants/index.js +27 -36
- package/es/packages/form-config/src/hooks/useConfigurationField.d.ts +2 -1
- package/es/packages/form-config/src/hooks/useConfigurationField.js +28 -42
- package/es/packages/form-config/src/hooks/usePresetRenderer.d.ts +2 -3
- package/es/packages/form-config/src/hooks/usePresetRenderer.js +16 -19
- package/es/packages/form-config/src/hooks/useSortable.js +1 -1
- package/es/packages/form-config/src/types/index.d.ts +21 -4
- package/es/packages/form-config/src/utils/index.d.ts +2 -0
- package/es/packages/form-config/src/utils/index.js +15 -0
- package/es/packages/form-config/style/index.css +26 -2
- package/es/packages/form-render/index.d.ts +9 -0
- package/es/packages/form-render/src/FormRender.js +1 -0
- package/es/packages/form-render/src/FormRender.vue.d.ts +10 -1
- package/es/packages/form-render/src/components/renderer/cascader.d.ts +2 -14
- package/es/packages/form-render/src/components/renderer/select.d.ts +1 -10
- package/es/packages/form-render/src/components/renderer/select.js +7 -4
- package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -2
- package/es/packages/form-render/src/hooks/useBusinessBinding.js +9 -5
- package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/packages/form-render/src/hooks/useFormContext.js +1 -1
- package/es/packages/form-render/src/types/fieldItem.d.ts +11 -12
- package/es/packages/form-render/src/types/index.d.ts +7 -0
- package/es/packages/index.css +26 -2
- package/es/packages/shortcut-setter/index.d.ts +14 -5
- package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -5
- package/package.json +1 -1
|
@@ -2868,7 +2868,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2868
2868
|
loadExpandMethod: ({ row, rowIndex }: any) => Promise<void>;
|
|
2869
2869
|
nestHandleClickRow: (table: any, data: any) => void;
|
|
2870
2870
|
initAnchor: () => void;
|
|
2871
|
-
updateAnchor: (field: string) => void
|
|
2871
|
+
updateAnchor: (field: string) => Promise<void>;
|
|
2872
2872
|
anchorEvent: ({ scrollLeft }: {
|
|
2873
2873
|
scrollLeft: number;
|
|
2874
2874
|
}) => void;
|
|
@@ -1127,12 +1127,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1127
1127
|
textColorGhostPressedWarning: string;
|
|
1128
1128
|
textColorGhostFocusWarning: string;
|
|
1129
1129
|
textColorGhostDisabledWarning: string;
|
|
1130
|
-
/**
|
|
1131
|
-
* 判断是否渲染EditForm
|
|
1132
|
-
* @param {*} row
|
|
1133
|
-
* @param {*} column
|
|
1134
|
-
* @returns
|
|
1135
|
-
*/
|
|
1136
1130
|
borderWarning: string;
|
|
1137
1131
|
borderHoverWarning: string;
|
|
1138
1132
|
borderPressedWarning: string;
|
|
@@ -1684,22 +1678,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1684
1678
|
onClick: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
|
|
1685
1679
|
onChange: import("vue").PropType<import("naive-ui/es/input/src/interface").OnUpdateValue>;
|
|
1686
1680
|
onClear: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(e: MouseEvent) => void>>;
|
|
1687
|
-
status: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
1688
|
-
* 针对 bigTable 的设置列
|
|
1689
|
-
* type: 列的类型
|
|
1690
|
-
* field: 列字段名(注:属性层级越深,渲染性能将直线下降)
|
|
1691
|
-
* title: 列标题(支持开启国际化)
|
|
1692
|
-
* width: 列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 "%" 或者 "min-width" 布局)
|
|
1693
|
-
* minWidth: 最小列宽度;会自动将剩余空间按比例分配
|
|
1694
|
-
* resizable: 列是否允许拖动列宽调整大小
|
|
1695
|
-
* visible: 列是否显示
|
|
1696
|
-
* fixed: 将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)
|
|
1697
|
-
* align: 列对齐方式
|
|
1698
|
-
* headerAlign: 表头列的对齐方式
|
|
1699
|
-
* footerAlign: 表尾列的对齐方式
|
|
1700
|
-
* formatter: 格式化显示内容 Function({cellValue, row, column})
|
|
1701
|
-
* sortable: 是否允许列排序
|
|
1702
|
-
*/
|
|
1681
|
+
status: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
1703
1682
|
'onUpdate:value': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/input/src/interface").OnUpdateValue>>;
|
|
1704
1683
|
onUpdateValue: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/input/src/interface").OnUpdateValue>>;
|
|
1705
1684
|
textDecoration: import("vue").PropType<string | [string, string]>;
|
|
@@ -2888,7 +2867,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2888
2867
|
loadExpandMethod: ({ row, rowIndex }: any) => Promise<void>;
|
|
2889
2868
|
nestHandleClickRow: (table: any, data: any) => void;
|
|
2890
2869
|
initAnchor: () => void;
|
|
2891
|
-
updateAnchor: (field: string) => void
|
|
2870
|
+
updateAnchor: (field: string) => Promise<void>;
|
|
2892
2871
|
anchorEvent: ({ scrollLeft }: {
|
|
2893
2872
|
scrollLeft: number;
|
|
2894
2873
|
}) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, reactive, useAttrs, computed, onMounted, onUnmounted, onActivated, createVNode, h, resolveComponent, Teleport, createTextVNode,
|
|
1
|
+
import { defineComponent, ref, reactive, useAttrs, computed, onMounted, onUnmounted, onActivated, nextTick, createVNode, h, resolveComponent, Teleport, createTextVNode, watch, openBlock, createElementBlock, Fragment, createBlock, unref, withCtx, renderList, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, mergeProps, renderSlot, toDisplayString, withDirectives, vShow, isVNode } from 'vue';
|
|
2
2
|
import { isArray, isFunction } from 'lodash-es';
|
|
3
3
|
import bigTableState from './bigTableState.js';
|
|
4
4
|
import bigTableProps from './bigTableProps.js';
|
|
@@ -243,7 +243,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
243
|
let columns = formatColumns(config);
|
|
244
244
|
columns = handleGroupColums(columns, props);
|
|
245
245
|
xGrid.value && xGrid.value.reloadColumn(columns);
|
|
246
|
-
|
|
246
|
+
nextTick(() => {
|
|
247
|
+
initAnchor();
|
|
248
|
+
});
|
|
247
249
|
setGroupTreeExpand();
|
|
248
250
|
resetTableInlineEditStatus();
|
|
249
251
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useAnchor: (props: any, state: any, emit: any, xGrid: any) => {
|
|
2
2
|
initAnchor: () => void;
|
|
3
|
-
updateAnchor: (field: string) => void
|
|
3
|
+
updateAnchor: (field: string) => Promise<void>;
|
|
4
4
|
anchorEvent: ({ scrollLeft }: {
|
|
5
5
|
scrollLeft: number;
|
|
6
6
|
}) => void;
|
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
import { useThrottleFn } from '@vueuse/core';
|
|
2
2
|
|
|
3
3
|
const useAnchor = (props, state, emit, xGrid) => {
|
|
4
|
+
let setAnchorStatus = true;
|
|
4
5
|
function initAnchor() {
|
|
5
|
-
var _a;
|
|
6
|
+
var _a, _b, _c;
|
|
6
7
|
if ((_a = props.anchor) == null ? void 0 : _a.length) {
|
|
7
8
|
const columns = xGrid.value.getColumns();
|
|
8
9
|
let left = 0;
|
|
9
10
|
columns.forEach((column) => {
|
|
10
|
-
const { field, minWidth, width } = column;
|
|
11
|
+
const { field, minWidth, width, fixed } = column;
|
|
11
12
|
const colWidth = +(minWidth || width);
|
|
12
|
-
left
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
if (fixed == "left") ; else {
|
|
14
|
+
left += colWidth;
|
|
15
|
+
const anchorObj = props.anchor.find((v) => v.field === field);
|
|
16
|
+
anchorObj && state.anchorList.push({
|
|
17
|
+
...anchorObj,
|
|
18
|
+
left: left - colWidth
|
|
19
|
+
});
|
|
20
|
+
}
|
|
18
21
|
});
|
|
19
|
-
state.anchorValue = state.anchorList[0].field;
|
|
22
|
+
state.anchorValue = ((_c = (_b = state.anchorList) == null ? void 0 : _b[0]) == null ? void 0 : _c.field) || "";
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
|
-
function updateAnchor(field) {
|
|
23
|
-
|
|
25
|
+
async function updateAnchor(field) {
|
|
26
|
+
setAnchorStatus = false;
|
|
27
|
+
const anchorObj = state.anchorList.find((v) => v.field === field);
|
|
28
|
+
await xGrid.value.scrollTo(anchorObj.left);
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
setAnchorStatus = true;
|
|
31
|
+
});
|
|
24
32
|
}
|
|
25
33
|
function setAnchorValue({ scrollLeft }) {
|
|
26
|
-
if (state.anchorList.length) {
|
|
34
|
+
if (state.anchorList.length && setAnchorStatus) {
|
|
27
35
|
const anchorObj = state.anchorList.find((v) => scrollLeft < v.left);
|
|
28
36
|
if (anchorObj) {
|
|
29
37
|
state.anchorValue = anchorObj.field;
|
|
@@ -7,12 +7,12 @@ const TEMPERATURE_MENU = [
|
|
|
7
7
|
{
|
|
8
8
|
label: "\u836F\u7269\u964D\u6E29",
|
|
9
9
|
value: void 0,
|
|
10
|
-
type: "
|
|
10
|
+
type: "drugReduce"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
label: "\u7269\u7406\u964D\u6E29",
|
|
14
14
|
value: void 0,
|
|
15
|
-
type: "
|
|
15
|
+
type: "physicsReduce"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
label: "\u4E0D\u5347",
|
|
@@ -24,12 +24,12 @@ const PAIN_MENU = [
|
|
|
24
24
|
{
|
|
25
25
|
label: "\u836F\u7269\u964D\u75DB",
|
|
26
26
|
value: void 0,
|
|
27
|
-
type: "
|
|
27
|
+
type: "drugReduce"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
label: "\u7269\u7406\u964D\u75DB",
|
|
31
31
|
value: void 0,
|
|
32
|
-
type: "
|
|
32
|
+
type: "physicsReduce"
|
|
33
33
|
}
|
|
34
34
|
];
|
|
35
35
|
|
|
@@ -234,19 +234,19 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
234
234
|
lineAttr = {},
|
|
235
235
|
noRiseStyle = {},
|
|
236
236
|
verifiedStyle = {},
|
|
237
|
-
|
|
237
|
+
reduceStyle = {},
|
|
238
238
|
type = "circle"
|
|
239
239
|
} = item;
|
|
240
240
|
const pointList = [];
|
|
241
241
|
const lineList = [];
|
|
242
242
|
const otherList = [];
|
|
243
243
|
item.list.forEach((v, index) => {
|
|
244
|
-
var _a;
|
|
244
|
+
var _a, _b;
|
|
245
245
|
const points = getPointer(v, scaleValue);
|
|
246
246
|
const nextV = item.list[index + 1];
|
|
247
247
|
const nextPoint = getPointer(nextV, scaleValue);
|
|
248
|
-
let
|
|
249
|
-
if (points && scaleValue.type === "temperature") {
|
|
248
|
+
let reduceLine, reducePoint, noRiseText, arrowGroup, verifiedText;
|
|
249
|
+
if ((points == null ? void 0 : points.length) && (scaleValue.type === "temperature" || scaleValue.type === "pain")) {
|
|
250
250
|
if (v.noRise) {
|
|
251
251
|
if (typeof v.noRise === "string") {
|
|
252
252
|
noRiseText = drawText([points[0], points[1] + 5], {
|
|
@@ -285,24 +285,21 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
285
285
|
});
|
|
286
286
|
otherList.push(verifiedText);
|
|
287
287
|
}
|
|
288
|
-
if (v.
|
|
289
|
-
const
|
|
288
|
+
if (v.physicsReduce || v.drugReduce) {
|
|
289
|
+
const reduceY = cumputedY(scaleValue.type, scaleValue.list, v.physicsReduce || v.drugReduce);
|
|
290
|
+
reduceLine = drawLine([...points, points[0], reduceY], {
|
|
290
291
|
...lineAttr,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
};
|
|
294
|
-
const coolY = cumputedY(scaleValue.type, scaleValue.list, v.physicalCooling || v.drugCooling);
|
|
295
|
-
coolLine = drawLine([...points, points[0], coolY], {
|
|
296
|
-
...coolingLineStyle
|
|
292
|
+
...reduceStyle.line,
|
|
293
|
+
...defaultStyle
|
|
297
294
|
});
|
|
298
|
-
|
|
295
|
+
reducePoint = drawPoint(((_a = reduceStyle == null ? void 0 : reduceStyle.point) == null ? void 0 : _a.type) || "circle", {
|
|
299
296
|
left: points[0],
|
|
300
|
-
top:
|
|
301
|
-
...
|
|
297
|
+
top: reduceY,
|
|
298
|
+
...reduceStyle.point,
|
|
302
299
|
...defaultStyle
|
|
303
300
|
});
|
|
304
|
-
|
|
305
|
-
|
|
301
|
+
reduceLine && otherList.push(reduceLine);
|
|
302
|
+
reducePoint && otherList.push(reducePoint);
|
|
306
303
|
}
|
|
307
304
|
}
|
|
308
305
|
let point;
|
|
@@ -312,7 +309,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
312
309
|
...lineAttr
|
|
313
310
|
});
|
|
314
311
|
} else if (points && !nextPoint && !v.breakpoint && scaleValue.type === "temperature" && dataIndex < scaleValue.dataList.length - 1 && index === item.list.length - 1) {
|
|
315
|
-
const nextV2 = (
|
|
312
|
+
const nextV2 = (_b = scaleValue.dataList[dataIndex + 1].list) == null ? void 0 : _b[0];
|
|
316
313
|
const nextLinePoint = getPointer(nextV2, scaleValue);
|
|
317
314
|
line = nextLinePoint ? drawLine([...points, ...nextLinePoint], {
|
|
318
315
|
...lineAttr
|
|
@@ -338,8 +335,8 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
338
335
|
verifiedText,
|
|
339
336
|
leftLine: previousLine,
|
|
340
337
|
rightLine: line,
|
|
341
|
-
|
|
342
|
-
|
|
338
|
+
reduceLine,
|
|
339
|
+
reducePoint,
|
|
343
340
|
lockMovementX: true,
|
|
344
341
|
...pointAttr,
|
|
345
342
|
...propItems.event
|
|
@@ -456,9 +453,9 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
456
453
|
point.rightLine.setCoords();
|
|
457
454
|
point.rightLine.set({ x1: point.left, y1: point.top });
|
|
458
455
|
}
|
|
459
|
-
if (point.
|
|
460
|
-
point.
|
|
461
|
-
point.
|
|
456
|
+
if (point.reduceLine) {
|
|
457
|
+
point.reduceLine.setCoords();
|
|
458
|
+
point.reduceLine.set({ x1: point.left, y1: point.top });
|
|
462
459
|
}
|
|
463
460
|
if (point.noRiseText) {
|
|
464
461
|
point.noRiseText.setCoords();
|
|
@@ -44,12 +44,19 @@ function drawTextGroup(rectStyle, fontStyle, groupStyle) {
|
|
|
44
44
|
...defaultRectStyle,
|
|
45
45
|
...rectStyle
|
|
46
46
|
});
|
|
47
|
-
const
|
|
47
|
+
const { value = "\u6807\u9898", textAlign = "center", verticalAlign = "center" } = fontStyle;
|
|
48
|
+
const textLeft = rectStyle.width / 2;
|
|
49
|
+
const textTop = rectStyle.height / 2;
|
|
50
|
+
const texts = new fabric.Text(String(value), {
|
|
48
51
|
...defaultTextStyle,
|
|
49
52
|
...fontStyle,
|
|
50
|
-
...
|
|
51
|
-
originX:
|
|
52
|
-
left: -
|
|
53
|
+
...textAlign == "left" || textAlign == "right" ? {
|
|
54
|
+
originX: textAlign,
|
|
55
|
+
left: textAlign == "left" ? -textLeft : textLeft
|
|
56
|
+
} : {},
|
|
57
|
+
...verticalAlign == "top" || verticalAlign == "bottom" ? {
|
|
58
|
+
originY: verticalAlign,
|
|
59
|
+
top: verticalAlign == "top" ? -textTop : textTop
|
|
53
60
|
} : {}
|
|
54
61
|
});
|
|
55
62
|
return new fabric.Group([rect, texts], {
|
|
@@ -47,12 +47,20 @@ function useCanvasEvent(canvas, propItems, emits) {
|
|
|
47
47
|
if (index > 0) {
|
|
48
48
|
topY += propItems[`${topList[index - 1].key}Height`];
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
left: iconsWidth,
|
|
50
|
+
const commonOptions = {
|
|
52
51
|
top: topY + 1,
|
|
53
|
-
width: endX - iconsWidth,
|
|
54
52
|
height: propItems[`${item.key}Height`] - 1
|
|
53
|
+
};
|
|
54
|
+
selections2.push(drawRect({
|
|
55
|
+
left: iconsWidth,
|
|
56
|
+
width: originX - iconsWidth,
|
|
57
|
+
...commonOptions
|
|
55
58
|
}, item.key));
|
|
59
|
+
selections2.push(drawRect({
|
|
60
|
+
left: originX,
|
|
61
|
+
width: endX - originX,
|
|
62
|
+
...commonOptions
|
|
63
|
+
}, item.key + "Title"));
|
|
56
64
|
});
|
|
57
65
|
selections2.push(drawRect({
|
|
58
66
|
left: originX,
|
|
@@ -24,7 +24,7 @@ function useTop(canvas, propItems) {
|
|
|
24
24
|
topY += propItems[`${topList[index - 1].key}Height`];
|
|
25
25
|
}
|
|
26
26
|
if (item.key == "xScalevalue") {
|
|
27
|
-
drawDay(list, topY);
|
|
27
|
+
drawDay(item, list, topY);
|
|
28
28
|
drawTime(item, list, topY);
|
|
29
29
|
} else {
|
|
30
30
|
propItems[`${item.key}Height`] && drawDate(item, list, topY);
|
|
@@ -35,7 +35,6 @@ function useTop(canvas, propItems) {
|
|
|
35
35
|
group && canvas.value.add(group);
|
|
36
36
|
}
|
|
37
37
|
function drawTime(item, list, topY) {
|
|
38
|
-
var _a;
|
|
39
38
|
const dayHeight = top.xScalevalue.show ? top.dayHeight || 0 : 0;
|
|
40
39
|
const height = xScalevalueHeight - dayHeight;
|
|
41
40
|
const title = drawTextGroup({
|
|
@@ -45,7 +44,7 @@ function useTop(canvas, propItems) {
|
|
|
45
44
|
}, {
|
|
46
45
|
value: top.xScalevalue.title,
|
|
47
46
|
...defaultTextStyle,
|
|
48
|
-
...
|
|
47
|
+
...item.style || {},
|
|
49
48
|
...item.titleStyle || {}
|
|
50
49
|
}, {
|
|
51
50
|
left: iconsWidth,
|
|
@@ -57,7 +56,6 @@ function useTop(canvas, propItems) {
|
|
|
57
56
|
timeList.push(top.xScalevalue.list);
|
|
58
57
|
}
|
|
59
58
|
timeList.flat().forEach((v, i) => {
|
|
60
|
-
var _a2;
|
|
61
59
|
const left = originX + i * xCellWidth;
|
|
62
60
|
const textGroup = drawTextGroup({
|
|
63
61
|
width: xCellWidth,
|
|
@@ -65,7 +63,7 @@ function useTop(canvas, propItems) {
|
|
|
65
63
|
}, {
|
|
66
64
|
value: v,
|
|
67
65
|
...defaultTextStyle,
|
|
68
|
-
...
|
|
66
|
+
...item.style || {}
|
|
69
67
|
}, {
|
|
70
68
|
left,
|
|
71
69
|
top: topY + dayHeight
|
|
@@ -73,8 +71,7 @@ function useTop(canvas, propItems) {
|
|
|
73
71
|
list.push(textGroup);
|
|
74
72
|
});
|
|
75
73
|
}
|
|
76
|
-
function drawDay(list, topY) {
|
|
77
|
-
var _a;
|
|
74
|
+
function drawDay(item, list, topY) {
|
|
78
75
|
if (!top.dayHeight)
|
|
79
76
|
return false;
|
|
80
77
|
const height = top.dayHeight;
|
|
@@ -89,7 +86,7 @@ function useTop(canvas, propItems) {
|
|
|
89
86
|
}, {
|
|
90
87
|
value,
|
|
91
88
|
...defaultTextStyle,
|
|
92
|
-
...
|
|
89
|
+
...item.style || {}
|
|
93
90
|
}, {
|
|
94
91
|
left,
|
|
95
92
|
top: topY
|