cnhis-design-vue 3.1.31-beta.1 → 3.1.31-beta.11
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/README.md +123 -123
- package/es/components/big-table/index.js +1 -1
- package/es/components/big-table/src/{BigTable.js → BigTable.vue.js} +1 -1
- package/es/components/big-table/src/{BigTable.vue_vue_type_script_setup_true_lang.js → BigTable.vue2.js} +6 -6
- package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js} +4 -4
- package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js} +1 -1
- package/es/components/big-table/src/components/{input-button.js → input-button.vue.js} +0 -0
- package/es/components/big-table/src/components/{separate.js → separate.vue.js} +0 -0
- package/es/components/big-table/src/hooks/useEdit.js +1 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/bpmn-workflow/index.js +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +65 -45
- package/es/components/button-print/index.js +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +65 -45
- package/es/components/button-print/src/{ButtonPrint.js → ButtonPrint.vue.js} +1 -1
- package/es/components/button-print/src/{ButtonPrint.vue_vue_type_script_setup_true_lang.js → ButtonPrint.vue2.js} +1 -1
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +66 -46
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +65 -45
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +9 -6
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/components/Preview.vue.js +6 -0
- package/es/components/button-print/src/components/Preview.vue2.js +67 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +1 -1
- package/es/components/button-print/src/utils/browserPrint.js +1 -2
- package/es/components/button-print/src/utils/dialog.d.ts +5 -1
- package/es/components/button-print/src/utils/dialog.js +65 -23
- package/es/components/button-print/src/utils/print.d.ts +4 -1
- package/es/components/button-print/src/utils/print.js +13 -3
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/drag-layout/index.js +1 -1
- package/es/components/drag-layout/src/{DragFormLeftItem.js → DragFormLeftItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragFormRightItem.js → DragFormRightItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragLayout.js → DragLayout.vue.js} +2 -2
- package/es/components/fabric-chart/index.js +1 -1
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -4
- package/es/components/fabric-chart/src/{FabricChart.js → FabricChart.vue.js} +1 -1
- package/es/components/fabric-chart/src/components/{PopupTip.js → PopupTip.vue.js} +0 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/fabric-chart/src/utils/index.js +0 -1
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/{FieldSet.js → FieldSet.vue.js} +0 -0
- package/es/components/form-config/index.js +1 -1
- package/es/components/form-config/src/{FormConfig.js → FormConfig.vue.js} +3 -3
- package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigDragDisplay.js → FormConfigDragDisplay.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js} +0 -0
- package/es/components/form-config/src/components/index.js +6 -6
- package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js} +0 -0
- package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js} +2 -2
- package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js} +1 -1
- package/es/components/form-config/src/components/renderer/index.js +3 -3
- package/es/components/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/components/form-render/index.js +2 -2
- package/es/components/form-render/src/{FormRender.js → FormRender.vue.js} +0 -0
- package/es/components/form-render/src/{FormRenderWrapper.js → FormRenderWrapper.vue.js} +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +3 -5
- package/es/components/form-render/src/components/renderer/index.js +2 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/{FormCollapse.js → FormCollapse.vue.js} +0 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -1
- package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +131 -0
- package/es/components/form-render/src/components/renderer/recommendSelect.js +213 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +0 -1
- package/es/components/form-render/src/components/renderer/select.js +3 -5
- package/es/components/form-render/src/hooks/useAsyncQueue.js +2 -1
- package/es/components/form-render/src/hooks/useAutographOptions.js +5 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +7 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +8 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +24 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +27 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +124 -66
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +124 -66
- package/es/components/iho-table/src/{IhoTable.js → IhoTable.vue.js} +2 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +14 -11
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +5 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +64 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +17 -9
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -3
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +3 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/{filter.js → filter.vue.js} +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +14 -12
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +32 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/{editDate.js → editDate.vue.js} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +10 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +11 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +17 -24
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +11 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{editSeparate.js → editSeparate.vue.js} +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +9 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +13 -17
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -1
- package/es/components/iho-table/src/utils/index.d.ts +12 -2
- package/es/components/iho-table/src/utils/index.js +33 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +5 -2
- package/es/components/info-header/index.js +1 -1
- package/es/components/info-header/src/{HiddenContent.js → HiddenContent.vue.js} +1 -1
- package/es/components/info-header/src/{InfoEllipsis.js → InfoEllipsis.vue.js} +0 -0
- package/es/components/info-header/src/{InfoHeader.js → InfoHeader.vue.js} +2 -2
- package/es/components/keyboard/index.d.ts +146 -78
- package/es/components/keyboard/index.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +155 -78
- package/es/components/keyboard/src/Keyboard.vue.js +149 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +6 -4
- package/es/components/keyboard/src/components/{InputNumber.js → InputNumber.vue.js} +0 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +118 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +206 -0
- package/es/components/map/index.js +1 -1
- package/es/components/map/src/{Map.js → Map.vue.js} +0 -0
- package/es/components/recommend-search/index.d.ts +813 -0
- package/es/components/recommend-search/index.js +10 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +62 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +119 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +148 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +303 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +103 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +104 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +350 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +156 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/constant/index.js +7 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/recommend-search/src/types/index.js +1 -0
- package/es/components/recommend-search/style/index.css +1 -0
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/{ScaleView.js → ScaleView.vue.js} +5 -5
- package/es/components/scale-view/src/components/{AnswerParse.js → AnswerParse.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluateCountdown.js → EvaluateCountdown.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluatePage.js → EvaluatePage.vue.js} +0 -0
- package/es/components/scale-view/src/components/{LoadingCom.js → LoadingCom.vue.js} +0 -0
- package/es/components/{big-table/src/components/NoData.js → scale-view/src/components/NoData.vue.js} +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.js +1 -1
- package/es/components/search-cascader/index.js +1 -1
- package/es/components/search-cascader/src/{SearchCascader.js → SearchCascader.vue.js} +0 -0
- package/es/components/search-cascader/src/components/SearchMenu.js +3 -3
- package/es/components/select-label/index.js +2 -2
- package/es/components/select-label/src/{LabelFormContent.js → LabelFormContent.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.js → SelectLabel.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.vue_vue_type_script_setup_true_lang.js → SelectLabel.vue2.js} +2 -2
- package/es/components/select-label/src/components/{label-classify.js → label-classify.vue.js} +0 -0
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/{SelectPerson.js → SelectPerson.vue.js} +1 -1
- package/es/components/select-person/src/{SelectPerson.vue_vue_type_script_setup_true_lang.js → SelectPerson.vue2.js} +0 -0
- package/es/components/shortcut-provider/index.js +1 -1
- package/es/components/shortcut-provider/src/{ShortcutProvider.js → ShortcutProvider.vue.js} +0 -0
- package/es/components/shortcut-setter/index.js +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetter.js → ShortcutSetter.vue.js} +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetterItem.js → ShortcutSetterItem.vue.js} +0 -0
- package/es/components/steps-wheel/index.d.ts +3 -0
- package/es/components/steps-wheel/index.js +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +3 -0
- package/es/components/steps-wheel/src/{StepsWheel.js → StepsWheel.vue.js} +38 -9
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -1
- package/es/components/time-line/src/{TimeLine.js → TimeLine.vue.js} +0 -0
- package/es/components/vod-chunk-upload/index.js +1 -1
- package/es/components/vod-chunk-upload/src/{chunk-upload-new.js → chunk-upload-new.vue.js} +0 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/{vod-chunk-upload.js → vod-chunk-upload.vue.js} +3 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/shared/assets/img/failure.js +1 -3
- package/es/shared/assets/img/failure.png.js +3 -0
- package/es/shared/assets/img/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- package/es/shared/assets/img/no-permission.js +1 -3
- package/es/shared/assets/img/no-permission.png.js +3 -0
- package/es/shared/assets/img/nodata.js +1 -3
- package/es/shared/assets/img/nodata.png.js +3 -0
- package/es/shared/assets/img/notfound.js +1 -3
- package/es/shared/assets/img/notfound.png.js +3 -0
- package/es/shared/assets/img/qr.js +1 -3
- package/es/shared/assets/img/qr.png.js +3 -0
- package/es/shared/assets/img/success.js +1 -3
- package/es/shared/assets/img/success.png.js +3 -0
- package/es/shared/assets/img/video.js +1 -3
- package/es/shared/assets/img/video.png.js +3 -0
- package/es/shared/assets/img/video_default_cover.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +3 -0
- package/es/shared/assets/img/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- package/es/shared/assets/img/xb_big.js +1 -3
- package/es/shared/assets/img/xb_big.png.js +3 -0
- package/es/shared/assets/img/xb_small.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +3 -0
- package/es/shared/components/SelectPage/{SelectPage.js → SelectPage.vue.js} +0 -0
- package/es/shared/components/SelectPage/index.js +2 -2
- package/es/shared/components/SvgIcon/{SvgIcon.js → SvgIcon.vue.js} +0 -0
- package/es/shared/components/SvgIcon/index.js +2 -2
- package/es/shared/components/TextOverTooltip/{TextOverTooltip.js → TextOverTooltip.vue.js} +0 -0
- package/es/shared/components/TextOverTooltip/index.js +2 -2
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/components/no-data/{NoData.js → NoData.vue.js} +4 -4
- package/es/shared/components/no-data/index.js +2 -2
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +3 -3
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -152
- package/es/components/keyboard/src/Keyboard.js +0 -285
package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createVNode,
|
|
1
|
+
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import { NInput } from 'naive-ui';
|
|
3
3
|
import '../../../../index.js';
|
|
4
|
-
import { EDITABLE_WIDGET_TYPE
|
|
4
|
+
import { EDITABLE_WIDGET_TYPE } from '../../../constants/index.js';
|
|
5
|
+
import { useIhoTableFormEvent } from '../../../utils/index.js';
|
|
5
6
|
import { defineTablePlugin } from '../../../hooks/useTablePlugin.js';
|
|
6
7
|
|
|
7
8
|
function inputRendererPlugin() {
|
|
@@ -23,24 +24,19 @@ function inputRendererPlugin() {
|
|
|
23
24
|
column,
|
|
24
25
|
$rowIndex
|
|
25
26
|
}) {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
const {
|
|
28
|
+
emitFormClick,
|
|
29
|
+
emitFormChange
|
|
30
|
+
} = useIhoTableFormEvent({
|
|
29
31
|
row,
|
|
30
32
|
column,
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
function onBlur() {
|
|
34
|
-
emit("formChange", common);
|
|
35
|
-
}
|
|
36
|
-
function onClick() {
|
|
37
|
-
emit("formClick", common);
|
|
38
|
-
}
|
|
33
|
+
$rowIndex
|
|
34
|
+
});
|
|
39
35
|
return [createVNode(NInput, mergeProps({
|
|
40
36
|
"value": row[column.field],
|
|
41
37
|
"onUpdate:value": ($event) => row[column.field] = $event,
|
|
42
|
-
"onBlur":
|
|
43
|
-
"onClick":
|
|
38
|
+
"onBlur": emitFormChange,
|
|
39
|
+
"onClick": emitFormClick
|
|
44
40
|
}, props == null ? void 0 : props.componentProps), null)];
|
|
45
41
|
}
|
|
46
42
|
});
|
package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createVNode,
|
|
1
|
+
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import { NInputNumber } from 'naive-ui';
|
|
3
3
|
import '../../../../index.js';
|
|
4
|
-
import { EDITABLE_WIDGET_TYPE
|
|
4
|
+
import { EDITABLE_WIDGET_TYPE } from '../../../constants/index.js';
|
|
5
|
+
import { useIhoTableFormEvent } from '../../../utils/index.js';
|
|
5
6
|
import { defineTablePlugin } from '../../../hooks/useTablePlugin.js';
|
|
6
7
|
|
|
7
8
|
function numberRendererPlugin() {
|
|
@@ -23,7 +24,15 @@ function numberRendererPlugin() {
|
|
|
23
24
|
column,
|
|
24
25
|
$rowIndex
|
|
25
26
|
}) {
|
|
26
|
-
const
|
|
27
|
+
const {
|
|
28
|
+
emitFormClick,
|
|
29
|
+
emitFormChange,
|
|
30
|
+
createCustomEvent
|
|
31
|
+
} = useIhoTableFormEvent({
|
|
32
|
+
row,
|
|
33
|
+
column,
|
|
34
|
+
$rowIndex
|
|
35
|
+
});
|
|
27
36
|
const {
|
|
28
37
|
placeholder = "\u8BF7\u8F93\u5165"
|
|
29
38
|
} = (props == null ? void 0 : props.componentProps) || {};
|
|
@@ -31,28 +40,12 @@ function numberRendererPlugin() {
|
|
|
31
40
|
...(props == null ? void 0 : props.componentProps) || {},
|
|
32
41
|
clearable: true,
|
|
33
42
|
placeholder,
|
|
34
|
-
onBlur,
|
|
35
|
-
onUpdateValue,
|
|
36
|
-
onClick
|
|
37
|
-
};
|
|
38
|
-
const common = {
|
|
39
|
-
value: row[column.field],
|
|
40
|
-
row,
|
|
41
|
-
column,
|
|
42
|
-
index: $rowIndex
|
|
43
|
-
};
|
|
44
|
-
function onBlur() {
|
|
45
|
-
emit("formChange", {
|
|
46
|
-
...common,
|
|
43
|
+
onBlur: createCustomEvent("formChange", {
|
|
47
44
|
type: "blur"
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
function onClick() {
|
|
54
|
-
emit("formClick", common);
|
|
55
|
-
}
|
|
45
|
+
}),
|
|
46
|
+
onUpdateValue: emitFormChange,
|
|
47
|
+
onClick: emitFormClick
|
|
48
|
+
};
|
|
56
49
|
return [createVNode(NInputNumber, mergeProps({
|
|
57
50
|
"value": row[column.field],
|
|
58
51
|
"onUpdate:value": ($event) => row[column.field] = $event
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createVNode,
|
|
1
|
+
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import '../../../../../index.js';
|
|
3
|
-
import { EDITABLE_WIDGET_TYPE
|
|
3
|
+
import { EDITABLE_WIDGET_TYPE } from '../../../../constants/index.js';
|
|
4
|
+
import { useIhoTableFormEvent } from '../../../../utils/index.js';
|
|
4
5
|
import EditSelect from './editSelect.js';
|
|
5
6
|
import { getDefaultValue } from './selectUtils.js';
|
|
6
7
|
import { defineTablePlugin } from '../../../../hooks/useTablePlugin.js';
|
|
@@ -26,23 +27,20 @@ function selectRendererPlugin() {
|
|
|
26
27
|
column,
|
|
27
28
|
$rowIndex
|
|
28
29
|
}) {
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
emit("formClick", common);
|
|
38
|
-
}
|
|
30
|
+
const {
|
|
31
|
+
emitFormClick
|
|
32
|
+
} = useIhoTableFormEvent({
|
|
33
|
+
row,
|
|
34
|
+
column,
|
|
35
|
+
$rowIndex
|
|
36
|
+
});
|
|
39
37
|
return [createVNode(EditSelect, mergeProps((props == null ? void 0 : props.componentProps) || {}, {
|
|
40
38
|
"column": column,
|
|
41
39
|
"row": row,
|
|
42
40
|
"index": $rowIndex,
|
|
43
41
|
"value": row[column.field],
|
|
44
42
|
"onUpdate:value": ($event) => row[column.field] = $event,
|
|
45
|
-
"onClick":
|
|
43
|
+
"onClick": emitFormClick
|
|
46
44
|
}), null)];
|
|
47
45
|
}
|
|
48
46
|
});
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
}>> & {
|
|
50
50
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}>>;
|
|
52
|
-
globEmit:
|
|
52
|
+
globEmit: import("../../../../../../../../es/components/iho-table").IhoTableEmits;
|
|
53
53
|
tableHandler: import("../../../../../../../../es/components/iho-table").IhoTableHandler;
|
|
54
54
|
popoverRef: import("vue").Ref<any>;
|
|
55
55
|
editContent: import("vue").Ref<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, watch, computed, onDeactivated, openBlock, createBlock, unref, withCtx, createElementVNode, withModifiers, normalizeStyle, toDisplayString, renderSlot, createVNode } from 'vue';
|
|
1
|
+
import { defineComponent, inject, ref, watch, computed, onMounted, onDeactivated, openBlock, createBlock, unref, withCtx, createElementVNode, withModifiers, normalizeStyle, toDisplayString, renderSlot, createVNode } from 'vue';
|
|
2
2
|
import { cloneDeep, isObject, isArray } from 'lodash-es';
|
|
3
3
|
import { NPopover, NInput } from 'naive-ui';
|
|
4
4
|
import { InjectionIhoTableEmits, InjectionIhoTableHandler } from '../../../../constants/index.js';
|
|
@@ -62,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
boxSizing: "border-box",
|
|
63
63
|
"border-radius": "4px"
|
|
64
64
|
}));
|
|
65
|
+
onMounted(() => setShow(true));
|
|
65
66
|
onDeactivated(onClose);
|
|
66
67
|
return (_ctx, _cache) => {
|
|
67
68
|
return openBlock(), createBlock(unref(NPopover), {
|
|
@@ -2,10 +2,10 @@ import { reactive, inject, createVNode, toRaw, h, onBeforeUnmount } from 'vue';
|
|
|
2
2
|
import { traverse } from '../../../../../../../shared/utils/index.js';
|
|
3
3
|
import { isFunction, isObject } from 'lodash-es';
|
|
4
4
|
import '../../../../../index.js';
|
|
5
|
-
import { EDITABLE_WIDGET_TYPE, InjectionIhoTableUUID
|
|
6
|
-
import { getRowHeight, getColumnRenderWidth } from '../../../../utils/index.js';
|
|
5
|
+
import { EDITABLE_WIDGET_TYPE, InjectionIhoTableUUID } from '../../../../constants/index.js';
|
|
6
|
+
import { getRowHeight, useIhoTableFormEvent, getColumnRenderWidth } from '../../../../utils/index.js';
|
|
7
7
|
import { isSeparateColumn, contentSeparate, getColumnInfoMaxLength, generateSeparateRowData } from './separateUtils.js';
|
|
8
|
-
import EditSeparate from './editSeparate.js';
|
|
8
|
+
import EditSeparate from './editSeparate.vue.js';
|
|
9
9
|
import { defineTablePlugin } from '../../../../hooks/useTablePlugin.js';
|
|
10
10
|
|
|
11
11
|
function separateRendererPlugins() {
|
|
@@ -42,7 +42,6 @@ function separateRendererPlugins() {
|
|
|
42
42
|
}) {
|
|
43
43
|
var _a, _b;
|
|
44
44
|
const uuid = inject(InjectionIhoTableUUID);
|
|
45
|
-
const emit = inject(InjectionIhoTableEmits);
|
|
46
45
|
const separateRow = getSeparateRowData(uuid, row);
|
|
47
46
|
const height = getRowHeight();
|
|
48
47
|
const slots = {};
|
|
@@ -50,15 +49,13 @@ function separateRendererPlugins() {
|
|
|
50
49
|
const separate = toRaw(renderOpts.props.separateSlot);
|
|
51
50
|
slots.menu = isFunction(separate) ? separate : isObject(separate) ? (props) => h(separate, props) : void 0;
|
|
52
51
|
}
|
|
53
|
-
const
|
|
54
|
-
|
|
52
|
+
const {
|
|
53
|
+
emitFormClick
|
|
54
|
+
} = useIhoTableFormEvent({
|
|
55
55
|
row,
|
|
56
56
|
column,
|
|
57
|
-
|
|
58
|
-
};
|
|
59
|
-
function onClick() {
|
|
60
|
-
emit("formClick", common);
|
|
61
|
-
}
|
|
57
|
+
$rowIndex
|
|
58
|
+
});
|
|
62
59
|
return [createVNode(EditSeparate, {
|
|
63
60
|
"value": row[column.field],
|
|
64
61
|
"onUpdate:value": ($event) => row[column.field] = $event,
|
|
@@ -67,7 +64,7 @@ function separateRendererPlugins() {
|
|
|
67
64
|
"column": column,
|
|
68
65
|
"row": row,
|
|
69
66
|
"displayContent": (_b = separateRow == null ? void 0 : separateRow.separateData) == null ? void 0 : _b[column.field],
|
|
70
|
-
"onClick":
|
|
67
|
+
"onClick": emitFormClick
|
|
71
68
|
}, slots)];
|
|
72
69
|
}
|
|
73
70
|
});
|
package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createVNode,
|
|
1
|
+
import { createVNode, mergeProps } from 'vue';
|
|
2
2
|
import '../../../../index.js';
|
|
3
|
-
import { EDITABLE_WIDGET_TYPE
|
|
3
|
+
import { EDITABLE_WIDGET_TYPE } from '../../../constants/index.js';
|
|
4
4
|
import { NTimePicker } from 'naive-ui';
|
|
5
|
+
import { useIhoTableFormEvent } from '../../../utils/index.js';
|
|
5
6
|
import { defineTablePlugin } from '../../../hooks/useTablePlugin.js';
|
|
6
7
|
|
|
7
8
|
function timeRendererPlugin() {
|
|
@@ -23,7 +24,14 @@ function timeRendererPlugin() {
|
|
|
23
24
|
column,
|
|
24
25
|
$rowIndex
|
|
25
26
|
}) {
|
|
26
|
-
const
|
|
27
|
+
const {
|
|
28
|
+
emitFormClick,
|
|
29
|
+
emitFormChange
|
|
30
|
+
} = useIhoTableFormEvent({
|
|
31
|
+
row,
|
|
32
|
+
column,
|
|
33
|
+
$rowIndex
|
|
34
|
+
});
|
|
27
35
|
const {
|
|
28
36
|
placeholder = "\u8BF7\u9009\u62E9",
|
|
29
37
|
valueFormat = "HH:mm"
|
|
@@ -33,21 +41,9 @@ function timeRendererPlugin() {
|
|
|
33
41
|
placeholder,
|
|
34
42
|
valueFormat,
|
|
35
43
|
format: valueFormat || "yyyy-MM-dd HH:mm:ss",
|
|
36
|
-
onUpdateFormattedValue:
|
|
37
|
-
onClick
|
|
38
|
-
};
|
|
39
|
-
const common = {
|
|
40
|
-
value: row[column.field],
|
|
41
|
-
row,
|
|
42
|
-
column,
|
|
43
|
-
index: $rowIndex
|
|
44
|
+
onUpdateFormattedValue: emitFormChange,
|
|
45
|
+
onClick: emitFormClick
|
|
44
46
|
};
|
|
45
|
-
function onUpdateValue() {
|
|
46
|
-
emit("formChange", common);
|
|
47
|
-
}
|
|
48
|
-
function onClick() {
|
|
49
|
-
emit("formClick", common);
|
|
50
|
-
}
|
|
51
47
|
return [createVNode(NTimePicker, mergeProps({
|
|
52
48
|
"formattedValue": row[column.field],
|
|
53
49
|
"onUpdate:formattedValue": ($event) => row[column.field] = $event
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject, TupleToUnion } from '../../../../../es/shared/types';
|
|
2
2
|
import { VxeTableProps, VxeTableDefines, VxeTableInstance, VxeColumnPropTypes } from 'vxe-table';
|
|
3
3
|
import { VxeTableEventProps } from 'vxe-table/types/table';
|
|
4
|
-
import { IHO_TABLE_STRING_STATUS, IhoTableEventNameTuple, IhoTableRowGroupSequence, VxeEventListenerNameList } from '../../../../../es/components/iho-table/src/constants';
|
|
4
|
+
import { IHO_TABLE_STRING_STATUS, IhoTableCustomEventNameTuple, IhoTableEventNameTuple, IhoTableRowGroupSequence, VxeEventListenerNameList } from '../../../../../es/components/iho-table/src/constants';
|
|
5
5
|
import { IHO_TABLE_FILTER_STATUS } from '../../../../../es/components/iho-table/src/plugins/filterPlugin/types';
|
|
6
6
|
export * from './pluginType';
|
|
7
7
|
export interface IhoTableRowGroupItem {
|
|
@@ -24,10 +24,6 @@ export declare type IhoTableConfig = VxeTableProps & Partial<{
|
|
|
24
24
|
}>;
|
|
25
25
|
export declare type IhoTableFieldItem = {
|
|
26
26
|
[K in keyof VxeTableDefines.ColumnInfo]?: K extends 'children' ? IhoTableFieldItem[] : K extends keyof VxeTableDefines.ColumnInfo ? VxeTableDefines.ColumnInfo[K] : never;
|
|
27
|
-
} & Partial<{
|
|
28
|
-
annotation: boolean;
|
|
29
|
-
}> & {
|
|
30
|
-
[K: string]: unknown;
|
|
31
27
|
};
|
|
32
28
|
export declare namespace IhoTableLowCodeField {
|
|
33
29
|
type FieldSetting = {
|
|
@@ -62,6 +58,7 @@ export declare type LowCodeTableFieldItem = {
|
|
|
62
58
|
componentProps: AnyObject;
|
|
63
59
|
showOverflow: VxeTableDefines.ColumnInfo['showOverflow'];
|
|
64
60
|
options: AnyObject[];
|
|
61
|
+
annotation: boolean;
|
|
65
62
|
}> & Partial<Pick<VxeTableDefines.ColumnInfo, 'resizable'>>;
|
|
66
63
|
export declare type IhoTableFormChangePayload = {
|
|
67
64
|
column: IhoTableFieldItem;
|
|
@@ -70,6 +67,7 @@ export declare type IhoTableFormChangePayload = {
|
|
|
70
67
|
index: number;
|
|
71
68
|
type?: string;
|
|
72
69
|
};
|
|
70
|
+
export declare type IhoTableEmits = <T extends typeof IhoTableEventNameTuple[number]>(event: T, ...args: IhoTableEmitPayload<T>) => void;
|
|
73
71
|
export declare type EventListenerToEventName<T extends string> = T extends `on${infer R}` ? R extends `${infer F}${infer L}` ? `${Lowercase<F>}${L}` : never : never;
|
|
74
72
|
export declare type EventNameToEventListener<T extends string> = T extends `${infer L}${infer R}` ? `on${Uppercase<L>}${R}` : never;
|
|
75
73
|
export declare type IhoTableHandler = Record<'updateConfigRef' | 'updateFieldListRef' | 'updateTableDataRef', () => void>;
|
|
@@ -81,7 +79,9 @@ export declare type IhoTableFilterPayload = {
|
|
|
81
79
|
type: 'filter';
|
|
82
80
|
value: string[];
|
|
83
81
|
};
|
|
84
|
-
export declare type IhoTableEmitPayload<T extends typeof IhoTableEventNameTuple[number]> = T extends 'formChange' | 'formClick' ? [IhoTableFormChangePayload] : T extends '
|
|
82
|
+
export declare type IhoTableEmitPayload<T extends typeof IhoTableEventNameTuple[number]> = T extends 'formChange' | 'formClick' ? [IhoTableFormChangePayload] : T extends 'keyboard' ? [IhoTableFormChangePayload & {
|
|
83
|
+
key: string;
|
|
84
|
+
}] : T extends 'settingClick' ? [] : T extends 'sortChange' ? [IhoTableFilterPayload] : Parameters<NonNullable<VxeTableEventProps[EventNameToEventListener<Exclude<T, typeof IhoTableCustomEventNameTuple[number]>>]>>;
|
|
85
85
|
export declare type IhoTableAnchorItem = {
|
|
86
86
|
field: string;
|
|
87
87
|
title: string;
|
|
@@ -5,7 +5,7 @@ import { Ref, VNode } from 'vue';
|
|
|
5
5
|
import { VxeGlobalCommands, VxeGlobalFormats, VxeGlobalHooks, VxeGlobalMenus, VxeGlobalRenderer, VxeTableInstance } from 'vxe-table';
|
|
6
6
|
import { VxeTableEventProps, VxeTableEvents } from 'vxe-table/types/table';
|
|
7
7
|
import { VxeGlobalInterceptor } from 'vxe-table/types/v-x-e-table';
|
|
8
|
-
import { IhoTableConfig, IhoTableFieldItem, IhoTableHandler } from '.';
|
|
8
|
+
import { IhoTableConfig, IhoTableEmits, IhoTableFieldItem, IhoTableHandler } from '.';
|
|
9
9
|
export declare type IhoTableInstance = {
|
|
10
10
|
interceptor: VxeGlobalInterceptor;
|
|
11
11
|
renderer: VxeGlobalRenderer;
|
|
@@ -63,6 +63,7 @@ export declare abstract class AbstractFieldHooks {
|
|
|
63
63
|
}
|
|
64
64
|
export declare type WithIhoEventContext<T> = T extends any[] ? [...T, IhoTableHandler & {
|
|
65
65
|
$table: Nullable<VxeTableInstance>;
|
|
66
|
+
emits: IhoTableEmits;
|
|
66
67
|
}, IhoTableConfig] : [T, IhoTableHandler & {
|
|
67
68
|
$table: Nullable<VxeTableInstance>;
|
|
68
69
|
}, IhoTableConfig];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject, Nullable } from '../../../../../es/shared/types';
|
|
2
2
|
import { MaybeRef } from '@vueuse/core';
|
|
3
|
-
import { VxeTableInstance } from 'vxe-table';
|
|
4
|
-
import { EventListenerToEventName, LowCodeTableFieldItem } from '../../../../../es/components/iho-table';
|
|
3
|
+
import { VxeTableDefines, VxeTableInstance } from 'vxe-table';
|
|
4
|
+
import { EventListenerToEventName, IhoTableFieldItem, IhoTableFormChangePayload, LowCodeTableFieldItem } from '../../../../../es/components/iho-table';
|
|
5
5
|
export declare function IhoTableLog(message: string): void;
|
|
6
6
|
export declare function IhoTableWarn(message: string): void;
|
|
7
7
|
export declare const IhoTableUtils: Readonly<{
|
|
@@ -14,3 +14,13 @@ export declare function useUUIDMap<T>(creator: () => T, isReactive?: boolean): {
|
|
|
14
14
|
removeItemFromUUID: (uuid: string) => void;
|
|
15
15
|
};
|
|
16
16
|
export declare function getColumnRenderWidth(column: AnyObject, $table: MaybeRef<Nullable<VxeTableInstance>>): Promise<number>;
|
|
17
|
+
export declare function useIhoTableFormEvent({ row, column, $rowIndex }: {
|
|
18
|
+
row: AnyObject;
|
|
19
|
+
column: VxeTableDefines.ColumnInfo;
|
|
20
|
+
$rowIndex: number;
|
|
21
|
+
}): {
|
|
22
|
+
emitFormChange: () => void;
|
|
23
|
+
emitFormClick: () => void;
|
|
24
|
+
createCustomEvent: (eventName: 'formChange' | 'formClick', params: Partial<IhoTableFormChangePayload>) => () => void;
|
|
25
|
+
};
|
|
26
|
+
export declare function getLowCodeFieldFromField(field: IhoTableFieldItem): LowCodeTableFieldItem | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isNumber } from 'lodash-es';
|
|
2
2
|
import { inject, reactive, nextTick, unref } from 'vue';
|
|
3
|
-
import { InjectionIhoTableConfig } from '../constants/index.js';
|
|
3
|
+
import { InjectionIhoTableConfig, InjectionIhoTableEmits } from '../constants/index.js';
|
|
4
4
|
|
|
5
5
|
function IhoTableLog(message) {
|
|
6
6
|
return console.log(`[IhoTable]: ${message}`);
|
|
@@ -53,5 +53,36 @@ async function getColumnRenderWidth(column, $table) {
|
|
|
53
53
|
return isNumber(column.width) ? column.width : 64;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
+
function useIhoTableFormEvent({
|
|
57
|
+
row,
|
|
58
|
+
column,
|
|
59
|
+
$rowIndex
|
|
60
|
+
}) {
|
|
61
|
+
const emit = inject(InjectionIhoTableEmits);
|
|
62
|
+
function getPayload() {
|
|
63
|
+
return {
|
|
64
|
+
value: row[column.field],
|
|
65
|
+
row,
|
|
66
|
+
column,
|
|
67
|
+
index: $rowIndex
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function emitFormChange() {
|
|
71
|
+
emit("formChange", getPayload());
|
|
72
|
+
}
|
|
73
|
+
function emitFormClick() {
|
|
74
|
+
emit("formClick", getPayload());
|
|
75
|
+
}
|
|
76
|
+
function createCustomEvent(eventName, params) {
|
|
77
|
+
return function() {
|
|
78
|
+
emit(eventName, { ...getPayload(), ...params });
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
return { emitFormChange, emitFormClick, createCustomEvent };
|
|
82
|
+
}
|
|
83
|
+
function getLowCodeFieldFromField(field) {
|
|
84
|
+
var _a;
|
|
85
|
+
return (_a = field.editRender) == null ? void 0 : _a.props;
|
|
86
|
+
}
|
|
56
87
|
|
|
57
|
-
export { IhoTableLog, IhoTableUtils, IhoTableWarn, getColumnRenderWidth, getEventName, getRowHeight, useUUIDMap };
|
|
88
|
+
export { IhoTableLog, IhoTableUtils, IhoTableWarn, getColumnRenderWidth, getEventName, getLowCodeFieldFromField, getRowHeight, useIhoTableFormEvent, useUUIDMap };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.iho-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.iho-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.iho-table__boldCell{font-weight:700}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .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}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;width:200px}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:#5585f5}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05)}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;height:32px;padding:0 8px}.iho-table__filterListItem:hover{background:rgba(0,0,0,.05)}.iho-table__filterFooter{display:flex;justify-content:space-between}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.iho-table__headerWrapper{display:inline-flex}
|
|
1
|
+
.iho-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.iho-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.iho-table__boldCell{font-weight:700}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:5px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .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}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;width:200px}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:#5585f5}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05)}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;height:32px;padding:0 8px}.iho-table__filterListItem:hover{background:rgba(0,0,0,.05)}.iho-table__filterFooter{display:flex;justify-content:space-between}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.iho-table__headerWrapper{display:inline-flex}
|