cnhis-design-vue 3.1.38-beta.1 → 3.1.38-beta.3

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 (31) hide show
  1. package/es/components/annotation-edit/index.d.ts +3 -3
  2. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +5 -3
  3. package/es/components/annotation-edit/src/AnnotationEdit.js +66 -25
  4. package/es/components/annotation-edit/src/type.d.ts +5 -0
  5. package/es/components/annotation-edit/src/type.js +1 -0
  6. package/es/components/annotation-edit/style/index.css +1 -1
  7. package/es/components/big-table/style/index.css +1 -1
  8. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +126 -46
  9. package/es/components/fabric-chart/src/hooks/useCenter.js +7 -10
  10. package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
  11. package/es/components/form-config/index.d.ts +8 -4
  12. package/es/components/form-config/src/FormConfig.vue.d.ts +8 -4
  13. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -2
  14. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -2
  15. package/es/components/form-render/index.d.ts +4 -2
  16. package/es/components/form-render/src/FormRender.vue.d.ts +4 -2
  17. package/es/components/form-render/src/FormRender.vue.js +3 -1
  18. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -2
  19. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  20. package/es/components/form-render/src/components/renderer/select.js +1 -1
  21. package/es/components/form-render/src/constants/index.d.ts +2 -1
  22. package/es/components/form-render/src/hooks/useFormContext.d.ts +2 -1
  23. package/es/components/form-render/src/hooks/useFormContext.js +5 -3
  24. package/es/components/form-render/style/index.css +1 -1
  25. package/es/components/index.css +1 -1
  26. package/es/components/info-header/index.d.ts +9 -0
  27. package/es/components/info-header/src/InfoHeader.vue.d.ts +9 -0
  28. package/es/components/info-header/src/InfoHeader.vue.js +21 -6
  29. package/es/components/shortcut-setter/index.d.ts +4 -2
  30. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -2
  31. package/package.json +2 -2
@@ -1,17 +1,17 @@
1
1
  import { SFCWithInstall } from '../../../es/shared/types';
2
2
  declare const Annotation: SFCWithInstall<import("vue").DefineComponent<{
3
3
  modelValue: {
4
- type: StringConstructor;
4
+ type: import("vue").PropType<import("./src/type").AnnotationItem>;
5
5
  default: string;
6
6
  };
7
7
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  modelValue: {
9
- type: StringConstructor;
9
+ type: import("vue").PropType<import("./src/type").AnnotationItem>;
10
10
  default: string;
11
11
  };
12
12
  }>> & {
13
13
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
14
  }, {
15
- modelValue: string;
15
+ modelValue: import("./src/type").AnnotationItem;
16
16
  }>>;
17
17
  export default Annotation;
@@ -1,16 +1,18 @@
1
+ import { PropType } from 'vue';
2
+ import { AnnotationItem } from '../../../../es/components/annotation-edit/src/type';
1
3
  declare const _default: import("vue").DefineComponent<{
2
4
  modelValue: {
3
- type: StringConstructor;
5
+ type: PropType<AnnotationItem>;
4
6
  default: string;
5
7
  };
6
8
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
9
  modelValue: {
8
- type: StringConstructor;
10
+ type: PropType<AnnotationItem>;
9
11
  default: string;
10
12
  };
11
13
  }>> & {
12
14
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
15
  }, {
14
- modelValue: string;
16
+ modelValue: AnnotationItem;
15
17
  }>;
16
18
  export default _default;
@@ -1,11 +1,12 @@
1
- import { defineComponent, computed, ref, onDeactivated, createVNode, unref } from 'vue';
1
+ import { defineComponent, computed, ref, onDeactivated, createVNode, unref, createTextVNode } from 'vue';
2
2
  import { FileTrayFull, FileTray } from '@vicons/ionicons5';
3
- import { NPopover, NIcon, NInput } from 'naive-ui';
3
+ import { isString, isObject } from 'lodash-es';
4
+ import { NPopover, NDivider, NEllipsis, NIcon, NInput } from 'naive-ui';
4
5
 
5
6
  var script = defineComponent({
6
7
  props: {
7
8
  modelValue: {
8
- type: String,
9
+ type: [String, Object],
9
10
  default: ""
10
11
  }
11
12
  },
@@ -13,12 +14,23 @@ var script = defineComponent({
13
14
  setup(props, {
14
15
  emit
15
16
  }) {
16
- const modelValue = computed({
17
+ const modelValueText = computed({
17
18
  get() {
18
- return props.modelValue;
19
+ if (isString(props.modelValue))
20
+ return props.modelValue;
21
+ if (isObject(props.modelValue))
22
+ return props.modelValue.content || "";
23
+ return "";
19
24
  },
20
25
  set(value) {
21
- emit("update:modelValue", value);
26
+ let content = value;
27
+ if (isObject(props.modelValue)) {
28
+ content = {
29
+ ...props.modelValue,
30
+ content: value
31
+ };
32
+ }
33
+ emit("update:modelValue", content);
22
34
  }
23
35
  });
24
36
  const __showPopper = ref(false);
@@ -35,7 +47,7 @@ var script = defineComponent({
35
47
  }
36
48
  });
37
49
  const isEdit = ref(false);
38
- let clickTimer;
50
+ let clickTimer, mouseTimer;
39
51
  function iconClick(evt) {
40
52
  evt.stopPropagation();
41
53
  clearTimeout(clickTimer);
@@ -43,41 +55,49 @@ var script = defineComponent({
43
55
  showPopper.value = false;
44
56
  return;
45
57
  }
58
+ if (unref(modelValueText))
59
+ return;
46
60
  clickTimer = setTimeout(() => {
47
- if (!unref(modelValue)) {
48
- isEdit.value = showPopper.value = true;
49
- }
61
+ isEdit.value = showPopper.value = true;
50
62
  }, 200);
51
63
  }
52
- function iconDbClick() {
64
+ function iconDbClick(evt) {
65
+ evt.stopPropagation();
53
66
  clearTimeout(clickTimer);
54
- if (!unref(modelValue))
67
+ if (!unref(modelValueText))
55
68
  return;
56
69
  showPopper.value = true;
57
70
  isEdit.value = true;
58
71
  }
59
- function iconMouseenter() {
60
- if (!unref(modelValue))
72
+ function iconMouseenter(evt) {
73
+ evt.stopPropagation();
74
+ clearTimeout(mouseTimer);
75
+ if (!unref(modelValueText))
61
76
  return;
62
77
  showPopper.value = true;
63
78
  }
64
- function iconMouseleave() {
65
- if (!unref(modelValue) || isEdit.value)
79
+ function iconMouseleave(evt) {
80
+ evt.stopPropagation();
81
+ clearTimeout(mouseTimer);
82
+ if (!unref(modelValueText) || isEdit.value)
66
83
  return;
67
- showPopper.value = false;
84
+ mouseTimer = setTimeout(() => {
85
+ showPopper.value = false;
86
+ }, 300);
68
87
  }
69
88
  function renderAnnotation() {
70
89
  return createVNode("section", {
71
90
  "class": ["annotation-edit", {
72
- "is-active": !!unref(modelValue)
91
+ "is-active": !!unref(modelValueText)
73
92
  }],
74
93
  "style": {
75
94
  "--icon-right": "-5"
76
95
  },
77
- "annotation-hover-show": !unref(modelValue) && !isEdit.value
96
+ "annotation-hover-show": !unref(modelValueText) && !isEdit.value
78
97
  }, [createVNode(NPopover, {
98
+ "keep-alive-on-hover": true,
79
99
  "style": {
80
- maxWidth: "200px",
100
+ maxWidth: "360px",
81
101
  wordBreak: "break-all"
82
102
  },
83
103
  "show": showPopper.value,
@@ -89,17 +109,38 @@ var script = defineComponent({
89
109
  trigger: renderTrigger
90
110
  })]);
91
111
  function renderText() {
92
- return createVNode("span", null, [unref(modelValue)]);
112
+ return createVNode("span", null, [unref(modelValueText)]);
93
113
  }
94
114
  function renderTextarea() {
95
115
  return createVNode(NInput, {
116
+ "resizable": false,
117
+ "autosize": {
118
+ minRows: 3,
119
+ maxRows: 5
120
+ },
121
+ "show-count": true,
122
+ "class": "annotation-edit__textarea",
96
123
  "type": "textarea",
97
- "value": modelValue.value,
98
- "onUpdate:value": ($event) => modelValue.value = $event
124
+ "value": modelValueText.value,
125
+ "onUpdate:value": ($event) => modelValueText.value = $event
99
126
  }, null);
100
127
  }
101
128
  function renderDefault() {
102
- return createVNode("div", null, [isEdit.value ? renderTextarea() : renderText()]);
129
+ return createVNode("section", {
130
+ "onMouseleave": iconMouseleave,
131
+ "onMouseenter": iconMouseenter
132
+ }, [createVNode("div", null, [isEdit.value ? renderTextarea() : renderText()]), isObject(props.modelValue) ? [createVNode(NDivider, {
133
+ "style": {
134
+ margin: "4px 0",
135
+ minWidth: "360px"
136
+ }
137
+ }, null), createVNode("section", {
138
+ "class": "annotation-edit__footer"
139
+ }, [createVNode(NEllipsis, null, {
140
+ default: () => [createTextVNode("\u8D28\u63A7\u4EBA: "), props.modelValue.author]
141
+ }), createVNode(NEllipsis, null, {
142
+ default: () => [createTextVNode("\u8D28\u63A7\u65F6\u95F4: "), props.modelValue.date]
143
+ })])] : null]);
103
144
  }
104
145
  function renderTrigger() {
105
146
  return createVNode("div", {
@@ -109,7 +150,7 @@ var script = defineComponent({
109
150
  "onDblclick": iconDbClick,
110
151
  "onClick": iconClick
111
152
  }, [createVNode(NIcon, {
112
- "component": unref(modelValue) ? FileTrayFull : FileTray
153
+ "component": unref(modelValueText) ? FileTrayFull : FileTray
113
154
  }, null)]);
114
155
  }
115
156
  }
@@ -0,0 +1,5 @@
1
+ export declare type AnnotationItem = string | Partial<{
2
+ content: string;
3
+ author: string;
4
+ date: string;
5
+ }>;
@@ -1 +1 @@
1
- .annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}
1
+ .annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.annotation-edit__textarea{min-width:200px}.annotation-edit__footer{align-items:center;display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between;opacity:.5}.annotation-edit__footer>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation-edit__footer>div:first-of-type{min-width:30%}
@@ -1 +1 @@
1
- .big-table-filter-wrap{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-flow:column wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;background:#f7f7f7;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:5px 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding:0 3px 0 13px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{color:#35393c;height:100%;line-height:unset}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .is-edit{margin-top:-3px;vertical-align:middle}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .header-title-span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--table-image-height);width:var(--table-image-width)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);border-radius:50%;box-shadow:0 2px 4px 0 var(--table-icon-shadow);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,0,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,0,255,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,128,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;border-radius:50%;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,255,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;border-radius:50%;box-shadow:0 2px 4px 0 rgba(54,190,140,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;border-radius:50%;box-shadow:0 2px 4px 0 rgba(66,208,246,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;border-radius:50%;box-shadow:0 2px 4px 0 rgba(113,131,145,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;border-radius:50%;box-shadow:0 2px 4px 0 rgba(244,186,50,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;border-radius:50%;box-shadow:0 2px 4px 0 rgba(146,124,225,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;border-radius:50%;box-shadow:0 2px 4px 0 rgba(78,176,239,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default.size--mini{font-size:14px}.custom-big-table .vxe-table--render-default .vxe-body--expanded-column,.custom-big-table .vxe-table--render-default .vxe-table--border-line{border-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-table--footer-wrapper{border-top-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-body--column,.custom-big-table .vxe-table--render-default.border--default .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--default .vxe-header--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-body--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-body--column,.custom-big-table .vxe-table--render-default.border--full .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--full .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599),linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-table--fixed-left-wrapper .vxe-body--column{border-right-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-table--header-border-line{border-bottom-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon{color:#d5d5d5;font-weight:400}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentcolor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}.big-table__annotationWrapper .is-active{position:relative;top:3px}.big-table__boldCell{font-weight:700}.big-table-total{border:1px solid #e8eaec;display:flex;margin-top:-1px;width:100%}.big-table-total-item{background-color:#e8f8f1;border-right:1px solid #e8eaec;box-sizing:border-box;display:flex;flex:1;padding:5px}.big-table-total-item:first-child{background-color:#fff4e5}.big-table-total-item:last-child{background-color:#e9f1ff}.big-table-total-item .left{font-weight:600;margin-right:20px}.big-table-total-item .right{column-gap:25px;display:flex;flex:1;flex-flow:row wrap}.big-table-total-item .right-item span{color:red;font-weight:600}.big-table .n-time-picker.hide-suffix .n-time-picker-icon{display:none}
1
+ .big-table-filter-wrap{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-flow:column wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;background:#f7f7f7;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:5px 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding:0 3px 0 13px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{color:#35393c;height:100%;line-height:unset}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .is-edit{margin-top:-3px;vertical-align:middle}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .header-title-span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--table-image-height);width:var(--table-image-width)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);border-radius:50%;box-shadow:0 2px 4px 0 var(--table-icon-shadow);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,0,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,0,255,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,128,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;border-radius:50%;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,255,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;border-radius:50%;box-shadow:0 2px 4px 0 rgba(54,190,140,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;border-radius:50%;box-shadow:0 2px 4px 0 rgba(66,208,246,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;border-radius:50%;box-shadow:0 2px 4px 0 rgba(113,131,145,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;border-radius:50%;box-shadow:0 2px 4px 0 rgba(244,186,50,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;border-radius:50%;box-shadow:0 2px 4px 0 rgba(146,124,225,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;border-radius:50%;box-shadow:0 2px 4px 0 rgba(78,176,239,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default.size--mini{font-size:14px}.custom-big-table .vxe-table--render-default .vxe-body--expanded-column,.custom-big-table .vxe-table--render-default .vxe-table--border-line{border-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-table--footer-wrapper{border-top-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-body--column,.custom-big-table .vxe-table--render-default.border--default .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--default .vxe-header--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-body--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-body--column,.custom-big-table .vxe-table--render-default.border--full .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--full .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599),linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-table--fixed-left-wrapper .vxe-body--column{border-right-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-table--header-border-line{border-bottom-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon{color:#d5d5d5;font-weight:400}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.annotation-edit__textarea{min-width:200px}.annotation-edit__footer{align-items:center;display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between;opacity:.5}.annotation-edit__footer>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation-edit__footer>div:first-of-type{min-width:30%}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentcolor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}.big-table__annotationWrapper .is-active{position:relative;top:3px}.big-table__boldCell{font-weight:700}.big-table-total{border:1px solid #e8eaec;display:flex;margin-top:-1px;width:100%}.big-table-total-item{background-color:#e8f8f1;border-right:1px solid #e8eaec;box-sizing:border-box;display:flex;flex:1;padding:5px}.big-table-total-item:first-child{background-color:#fff4e5}.big-table-total-item:last-child{background-color:#e9f1ff}.big-table-total-item .left{font-weight:600;margin-right:20px}.big-table-total-item .right{column-gap:25px;display:flex;flex:1;flex-flow:row wrap}.big-table-total-item .right-item span{color:red;font-weight:600}.big-table .n-time-picker.hide-suffix .n-time-picker-icon{display:none}
@@ -1,6 +1,6 @@
1
1
  import { useBirthProcessCumputedPoint } from './useCumputedPoint.js';
2
2
  import useGrid from './useGrid.js';
3
- import { drawLine, drawPoint, defaultTextStyle, drawText, defaultRectStyle } from './useDraw.js';
3
+ import { drawLine, drawArrow, drawText, defaultTextStyle, drawPoint, defaultRectStyle } from './useDraw.js';
4
4
  import { fabric } from '../utils/index.js';
5
5
  import { getIndex, isEffectiveNode } from '../utils/utils.js';
6
6
  import { cloneDeep } from 'lodash-es';
@@ -48,6 +48,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
48
48
  var _a;
49
49
  const pointList = [];
50
50
  const lineList = [];
51
+ const otherList = [];
51
52
  (_a = item.data) == null ? void 0 : _a.forEach((v, index) => {
52
53
  const points = getPointer(v, item);
53
54
  drawPointLine(points, v, index);
@@ -61,18 +62,19 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
61
62
  v.prevPoint = prevPoint;
62
63
  }
63
64
  prevPoint = v || prevPoint;
64
- v == null ? void 0 : v.bringToFront();
65
65
  return v;
66
66
  });
67
- canvas.value.add(...lineListFilter, ...res);
68
- res.forEach((v) => {
69
- v == null ? void 0 : v.bringToFront();
67
+ Promise.all(otherList).then((r) => {
68
+ canvas.value.add(...lineListFilter, ...res, ...r);
69
+ res.forEach((point) => {
70
+ point == null ? void 0 : point.bringToFront();
71
+ });
70
72
  });
71
73
  });
72
74
  function drawPointLine(points, v, index) {
73
75
  let point;
74
76
  let line;
75
- const { pointAttr = {}, lineAttr = {}, title = "", key, type: pointType = "circle" } = item;
77
+ const { pointAttr = {}, lineAttr = {}, title = "", key, type: pointType = "circle", childbirth = {} } = item;
76
78
  const nextV = item.data[index + 1];
77
79
  const nextPoint = getPointer(nextV, item);
78
80
  if (points && nextPoint && !v.breakpoint) {
@@ -85,6 +87,25 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
85
87
  ...lineAttr
86
88
  }) : null;
87
89
  }
90
+ let arrowGroup;
91
+ let arrowGroupText;
92
+ if (v.childbirth) {
93
+ const top = points[1] + yCellHeight;
94
+ arrowGroup = drawArrow([points[0], points[1], top], childbirth.style || {});
95
+ otherList.push(arrowGroup);
96
+ if (childbirth.text) {
97
+ arrowGroupText = drawText([points[0] + xCellWidth / 2, top - yCellHeight / 2], {
98
+ value: String(childbirth.text),
99
+ ...defaultTextStyle,
100
+ ...{
101
+ originX: "left",
102
+ originY: "center"
103
+ },
104
+ ...childbirth.style || {}
105
+ });
106
+ otherList.push(arrowGroupText);
107
+ }
108
+ }
88
109
  const previousLine = lineList[index - 1];
89
110
  const pointAttrNew = {
90
111
  origin: {
@@ -96,6 +117,8 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
96
117
  },
97
118
  leftLine: previousLine,
98
119
  rightLine: line,
120
+ arrowGroup,
121
+ arrowGroupText,
99
122
  ...pointAttr,
100
123
  ...propItems.event
101
124
  };
@@ -168,7 +191,6 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
168
191
  break;
169
192
  default: {
170
193
  const index2 = getIndex(data.time, item.data);
171
- console.log("index :>> ", index2);
172
194
  item.data.splice(index2, 0, data);
173
195
  break;
174
196
  }
@@ -181,6 +203,8 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
181
203
  point && removePoints.push(point);
182
204
  (point == null ? void 0 : point.leftLine) && removePoints.push(point == null ? void 0 : point.leftLine);
183
205
  (point == null ? void 0 : point.rightLine) && removePoints.push(point == null ? void 0 : point.rightLine);
206
+ (point == null ? void 0 : point.arrowGroup) && removePoints.push(point == null ? void 0 : point.arrowGroup);
207
+ (point == null ? void 0 : point.arrowGroupText) && removePoints.push(point == null ? void 0 : point.arrowGroupText);
184
208
  });
185
209
  return removePoints;
186
210
  }
@@ -191,9 +215,11 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
191
215
  drawPolyLine();
192
216
  }
193
217
  function updateLine(point) {
194
- var _a, _b;
218
+ var _a, _b, _c, _d;
195
219
  (_a = point.leftLine) == null ? void 0 : _a.setCoords().set({ x2: point.left, y2: point.top });
196
220
  (_b = point.rightLine) == null ? void 0 : _b.setCoords().set({ x1: point.left, y1: point.top });
221
+ (_c = point.arrowGroup) == null ? void 0 : _c.setCoords().set({ left: point.left, top: point.top });
222
+ (_d = point.arrowGroupText) == null ? void 0 : _d.setCoords().set({ left: point.left + xCellWidth / 2, top: point.top + yCellHeight / 2 });
197
223
  }
198
224
  function moveLimit(point) {
199
225
  const limitLeft = point.prevPoint ? point.prevPoint.left : originX;
@@ -282,7 +308,6 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
282
308
  }
283
309
  }
284
310
  function clickMenu({ item, target }) {
285
- console.log("item :>> ", item);
286
311
  const params = {
287
312
  ...item.origin
288
313
  };
@@ -303,54 +328,109 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
303
328
  function drawOther() {
304
329
  const lineData = Object.values(other);
305
330
  const lines = [];
331
+ const alertData = {};
332
+ const alertItem = yScaleValue.find((item) => item.key === "cervix");
333
+ const alertStartPoint = alertItem.data.find((_data) => +_data.value === 3);
306
334
  lineData.forEach((line) => {
307
335
  if (!line.show)
308
336
  return;
309
337
  const { key } = line;
310
- if (key === "fetalPresentation") {
311
- const { range } = yScaleValue.find((item) => item.key === key);
312
- const y = cumputedY(key, range, 0);
313
- lines.push(
314
- drawLine([originX, y, endX, y], {
315
- ...line
316
- })
317
- );
318
- }
319
- if (key === "alert") {
320
- const item = yScaleValue.find((item2) => item2.key === "cervix");
321
- const { data = [], key: key2, range } = item || {};
322
- const startPoint = data.find((_data) => +_data.value === 3);
323
- if (startPoint) {
324
- const _time = 6 * 60 * 60 * 1e3;
325
- const endPoint = {
326
- time: format(new Date(new Date(startPoint.time).getTime() + _time), "yyyy-MM-dd HH:mm"),
327
- value: 10
328
- };
329
- const [x1, y1] = [cumputedX(startPoint.time) - originX, endY - cumputedY(key2, range, startPoint.value)];
330
- const [x2, y2] = [cumputedX(endPoint.time) - originX, endY - cumputedY(key2, range, endPoint.value)];
331
- const k = (y2 - y1) / (x1 + x2);
332
- const b = y1 - x1 * k;
333
- let pointer1 = [-(b / k), 0];
334
- if (pointer1[0] < 0) {
335
- pointer1 = [originX, endY - b];
336
- } else {
337
- pointer1 = [originX + b / k, endY];
338
- }
339
- const _originY = cumputedY(key2, range, 10);
340
- let pointer2 = [(endY - _originY - b) / k, endY - _originY];
341
- if (pointer2[0] > endX - originX) {
342
- pointer2 = [endX, endY - (k * (endX - originX) + b)];
343
- } else {
344
- pointer2 = [originX + (endY - _originY - b) / k, _originY];
345
- }
338
+ switch (key) {
339
+ case "fetalPresentation": {
340
+ const { range } = yScaleValue.find((item) => item.key === key);
341
+ const y = cumputedY(key, range, 0);
346
342
  lines.push(
347
- drawLine([...pointer1, ...pointer2], {
343
+ drawLine([originX, y, endX, y], {
348
344
  ...line
349
345
  })
350
346
  );
347
+ break;
348
+ }
349
+ case "alert": {
350
+ if (alertStartPoint) {
351
+ const { key: key2, range } = alertItem || {};
352
+ const _time = 6 * 60 * 60 * 1e3;
353
+ const endPoint = {
354
+ time: format(new Date(new Date(alertStartPoint.time).getTime() + _time), "yyyy-MM-dd HH:mm"),
355
+ value: 10
356
+ };
357
+ const [x1, y1] = [
358
+ cumputedX(alertStartPoint.time) - originX,
359
+ endY - cumputedY(key2, range, alertStartPoint.value)
360
+ ];
361
+ const [x2, y2] = [cumputedX(endPoint.time) - originX, endY - cumputedY(key2, range, endPoint.value)];
362
+ const k = (y2 - y1) / (x2 - x1);
363
+ const b = y1 - x1 * k;
364
+ const pointer = computePointer(k, b);
365
+ if (pointer.length > 0) {
366
+ lines.push(
367
+ drawLine(pointer, {
368
+ ...line
369
+ })
370
+ );
371
+ Object.assign(alertData, {
372
+ k,
373
+ b
374
+ });
375
+ }
376
+ }
377
+ break;
378
+ }
379
+ case "handling": {
380
+ if (alertStartPoint) {
381
+ const { k, b } = alertData;
382
+ const _time = 4 * 60 * 60 * 1e3;
383
+ const endTime = cumputedX(
384
+ format(new Date(new Date(alertStartPoint.time).getTime() + _time), "yyyy-MM-dd HH:mm")
385
+ );
386
+ const a = endTime - cumputedX(alertStartPoint.time);
387
+ const _b = b - a * k;
388
+ const pointer = computePointer(k, _b);
389
+ if (pointer.length > 0) {
390
+ lines.push(
391
+ drawLine(pointer, {
392
+ ...line
393
+ })
394
+ );
395
+ }
396
+ }
397
+ break;
351
398
  }
352
399
  }
353
400
  });
401
+ function computePointer(k, b) {
402
+ const { key, range } = alertItem || {};
403
+ const _originY = cumputedY(key, range, 10);
404
+ const startPointer1 = [0, b];
405
+ const startPointer2 = [-(b / k), 0];
406
+ const endPointer1 = [(endY - _originY - b) / k, endY - _originY];
407
+ const endPointer2 = [endX - originX, k * (endX - originX) + b];
408
+ let startPointer = [];
409
+ let endPointer = [];
410
+ if (isLinePointer(startPointer1) && isLimit2(startPointer1)) {
411
+ startPointer = getActualValue(startPointer1);
412
+ }
413
+ if (isLinePointer(startPointer2) && isLimit2(startPointer2)) {
414
+ startPointer = getActualValue(startPointer2);
415
+ }
416
+ if (isLinePointer(endPointer1) && isLimit2(endPointer1)) {
417
+ endPointer = getActualValue(endPointer1);
418
+ }
419
+ if (isLinePointer(endPointer2) && isLimit2(endPointer2)) {
420
+ endPointer = getActualValue(endPointer2);
421
+ }
422
+ function isLinePointer([x, y]) {
423
+ return Math.abs(y - k * x - b) <= 1;
424
+ }
425
+ function isLimit2([x, y]) {
426
+ const [_x, _y] = [...getActualValue([x, y])];
427
+ return _x >= originX && _x <= endX && _y >= _originY && _y <= endY;
428
+ }
429
+ function getActualValue([x, y]) {
430
+ return [originX + x, endY - y];
431
+ }
432
+ return [...startPointer, ...endPointer];
433
+ }
354
434
  canvas.value.add(...lines);
355
435
  }
356
436
  function drawIcons() {
@@ -358,28 +358,25 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
358
358
  const { value } = otherObj;
359
359
  let reduceLine, reducePoint, noRiseText, arrowGroup, riseText, verifiedText;
360
360
  if (v.noRise && noRiseStyle.show) {
361
- if (typeof v.noRise === "string") {
361
+ if (noRiseStyle.text) {
362
362
  noRiseText = drawText([points[0], points[1] + 5], {
363
- value: v.noRise.split("").join("\n"),
363
+ value: noRiseStyle.text.split("").join("\n"),
364
364
  originY: "top",
365
- ...noRiseStyle
365
+ ...noRiseStyle.style || {}
366
366
  });
367
367
  otherList.push(noRiseText);
368
368
  } else {
369
369
  const top = points[1] + yCellHeight * 2;
370
- arrowGroup = drawArrow([points[0], points[1], top], noRiseStyle);
370
+ arrowGroup = drawArrow([points[0], points[1], top], noRiseStyle.style || {});
371
371
  otherList.push(arrowGroup);
372
372
  }
373
373
  }
374
374
  if (v.rise && riseStyle.show) {
375
- if (typeof v.rise === "boolean") {
376
- v.rise = "\u5347\u6E29";
377
- }
378
- if (typeof v.rise === "string") {
375
+ if (riseStyle.text) {
379
376
  riseText = drawText([points[0], points[1] - (value ? yCellHeight : 0) - 5], {
380
- value: v.rise.split("").join("\n"),
377
+ value: riseStyle.text.split("").join("\n"),
381
378
  originY: "bottom",
382
- ...riseStyle
379
+ ...riseStyle.style || {}
383
380
  });
384
381
  otherList.push(riseText);
385
382
  }
@@ -155,7 +155,7 @@ function useTemperatureChart(canvas, props, emits, canvasRef) {
155
155
  const itemList = computed(() => {
156
156
  const { left } = props.data;
157
157
  return left.yScaleValue.map((item) => {
158
- return item.dataList.map((v, dataIndex) => {
158
+ return item.dataList.filter((v) => v.show).map((v, dataIndex) => {
159
159
  return {
160
160
  ...v,
161
161
  bigType: setOtherType(v.title, item.type),