cnhis-design-vue 3.1.18-beta.0 → 3.1.18-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/annotation-edit/index.js +1 -10
- package/es/components/annotation-edit/index2.js +10 -0
- package/es/components/annotation-edit/style/index.css +1 -15
- package/es/components/big-table/index.d.ts +9 -3380
- package/es/components/big-table/index.js +2 -17
- package/es/components/big-table/index2.js +19 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +9 -3384
- package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +21 -19
- package/es/components/big-table/src/bigTableEmits.js +1 -53
- package/es/components/big-table/src/bigTableEmits2.js +53 -0
- package/es/components/big-table/src/bigTableProps.js +1 -119
- package/es/components/big-table/src/bigTableProps2.js +119 -0
- package/es/components/big-table/src/bigTableState.js +1 -62
- package/es/components/big-table/src/bigTableState2.js +62 -0
- package/es/components/big-table/src/components/edit-form/edit-date.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-input.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +2 -1148
- package/es/components/big-table/src/components/edit-form/edit-time.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-time.js +1 -1
- package/es/components/big-table/src/components/edit-form/useCommon.js +1 -19
- package/es/components/big-table/src/components/edit-form/useCommon2.js +19 -0
- package/es/components/big-table/src/components/input-button.vue.d.ts +2 -2248
- package/es/components/big-table/src/components/separate.js +1 -1
- package/es/components/big-table/src/constants/index.js +1 -3
- package/es/components/big-table/src/constants/index2.js +3 -0
- package/es/components/big-table/src/hooks/export.js +1 -1
- package/es/components/big-table/src/hooks/index.js +8 -8
- package/es/components/big-table/src/hooks/useAnchor.js +1 -49
- package/es/components/big-table/src/hooks/useAnchor2.js +49 -0
- package/es/components/big-table/src/hooks/useAnnotation.js +1 -1
- package/es/components/big-table/src/hooks/useBatchEditing.js +1 -289
- package/es/components/big-table/src/hooks/useBatchEditing2.js +289 -0
- package/es/components/big-table/src/hooks/useColumnConfigAdaptor.js +1 -154
- package/es/components/big-table/src/hooks/useColumnConfigAdaptor2.js +154 -0
- package/es/components/big-table/src/hooks/useEdit.d.ts +7 -1153
- package/es/components/big-table/src/hooks/useEdit.js +1 -122
- package/es/components/big-table/src/hooks/useEdit2.js +122 -0
- package/es/components/big-table/src/hooks/useEvent.js +1 -72
- package/es/components/big-table/src/hooks/useEvent2.js +72 -0
- package/es/components/big-table/src/hooks/useFormat.js +1 -492
- package/es/components/big-table/src/hooks/useFormat2.js +492 -0
- package/es/components/big-table/src/hooks/useNestTable.js +1 -86
- package/es/components/big-table/src/hooks/useNestTable2.js +86 -0
- package/es/components/big-table/src/hooks/useSeparateRow.js +1 -164
- package/es/components/big-table/src/hooks/useSeparateRow2.js +164 -0
- package/es/components/big-table/src/hooks/useTableParse.js +1 -136
- package/es/components/big-table/src/hooks/useTableParse2.js +136 -0
- package/es/components/big-table/src/utils.js +1 -630
- package/es/components/big-table/src/utils2.js +630 -0
- package/es/components/big-table/style/index.css +1 -634
- package/es/components/bpmn-workflow/index.js +1 -10
- package/es/components/bpmn-workflow/index2.js +10 -0
- package/es/components/bpmn-workflow/style/index.css +1 -29
- package/es/components/button-print/index.d.ts +19 -6792
- package/es/components/button-print/index.js +2 -11
- package/es/components/button-print/index2.js +11 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +19 -6792
- package/es/components/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/components/button-print/src/components/IdentityVerification.js +16 -7
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +13 -4442
- package/es/components/button-print/src/utils/dialog.d.ts +8 -0
- package/es/components/button-print/src/utils/dialog.js +77 -0
- package/es/components/button-print/src/utils/index.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +11 -0
- package/es/components/button-print/src/utils/print.js +1 -325
- package/es/components/button-print/src/utils/print2.js +348 -0
- package/es/components/button-print/style/index.css +1 -24
- package/es/components/chunk-upload/index.d.ts +2 -1472
- package/es/components/chunk-upload/index.js +1 -14
- package/es/components/chunk-upload/index2.js +14 -0
- package/es/components/chunk-upload/src/chunk-upload-new.js +2 -2
- package/es/components/chunk-upload/src/chunk-upload-new.vue.d.ts +3 -1742
- package/es/components/chunk-upload/src/hooks/upload-computed.js +1 -70
- package/es/components/chunk-upload/src/hooks/upload-computed2.js +70 -0
- package/es/components/chunk-upload/src/hooks/upload-data.js +1 -96
- package/es/components/chunk-upload/src/hooks/upload-data2.js +96 -0
- package/es/components/chunk-upload/src/hooks/vod-computed.js +1 -79
- package/es/components/chunk-upload/src/hooks/vod-computed2.js +79 -0
- package/es/components/chunk-upload/src/hooks/vod-data.js +1 -28
- package/es/components/chunk-upload/src/hooks/vod-data2.js +28 -0
- package/es/components/chunk-upload/src/vod-chunk-upload/index.js +0 -1
- package/es/components/chunk-upload/src/vod-chunk-upload/index2.js +2 -0
- package/es/components/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.js +2 -2
- package/es/components/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +2 -1472
- package/es/components/chunk-upload/style/index.css +1 -365
- package/es/components/drag-layout/index.d.ts +155 -19664
- package/es/components/drag-layout/index.js +1 -11
- package/es/components/drag-layout/index2.js +11 -0
- package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +5 -7974
- package/es/components/drag-layout/src/DragFormRightItem.vue.d.ts +4 -3105
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +156 -19665
- package/es/components/drag-layout/style/index.css +1 -175
- package/es/components/editor/index.js +1 -10
- package/es/components/editor/index2.js +10 -0
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/index.js +1 -10
- package/es/components/fabric-chart/index2.js +10 -0
- package/es/components/fabric-chart/src/FabricChart.js +9 -9
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.js +1 -1
- package/es/components/fabric-chart/src/components/useStyle.js +1 -36
- package/es/components/fabric-chart/src/components/useStyle2.js +36 -0
- package/es/components/fabric-chart/src/hooks/constant.js +1 -36
- package/es/components/fabric-chart/src/hooks/constant2.js +36 -0
- package/es/components/fabric-chart/src/hooks/index.js +9 -9
- package/es/components/fabric-chart/src/hooks/useBottom.js +1 -85
- package/es/components/fabric-chart/src/hooks/useBottom2.js +85 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +1 -534
- package/es/components/fabric-chart/src/hooks/useCenter2.js +554 -0
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -60
- package/es/components/fabric-chart/src/hooks/useCumputedPoint2.js +60 -0
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -0
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -153
- package/es/components/fabric-chart/src/hooks/useDraw2.js +182 -0
- package/es/components/fabric-chart/src/hooks/useEvent.js +1 -85
- package/es/components/fabric-chart/src/hooks/useEvent2.js +85 -0
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -50
- package/es/components/fabric-chart/src/hooks/useGrid2.js +50 -0
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -282
- package/es/components/fabric-chart/src/hooks/useLeft2.js +282 -0
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -85
- package/es/components/fabric-chart/src/hooks/useOther2.js +85 -0
- package/es/components/fabric-chart/src/hooks/useRight.js +1 -27
- package/es/components/fabric-chart/src/hooks/useRight2.js +27 -0
- package/es/components/fabric-chart/src/hooks/useShadow.js +1 -127
- package/es/components/fabric-chart/src/hooks/useShadow2.js +127 -0
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -138
- package/es/components/fabric-chart/src/hooks/useTop2.js +138 -0
- package/es/components/fabric-chart/src/interface.js +1 -4
- package/es/components/fabric-chart/src/interface2.js +4 -0
- package/es/components/fabric-chart/style/index.css +1 -43
- package/es/components/field-set/index.d.ts +8 -6799
- package/es/components/field-set/index.js +1 -10
- package/es/components/field-set/index2.js +10 -0
- package/es/components/field-set/src/FieldSet.js +26 -19
- package/es/components/field-set/src/FieldSet.vue.d.ts +8 -6799
- package/es/components/field-set/style/index.css +1 -139
- package/es/components/form-config/index.d.ts +17 -8936
- package/es/components/form-config/index.js +1 -10
- package/es/components/form-config/index2.js +10 -0
- package/es/components/form-config/src/FormConfig.js +7 -7
- package/es/components/form-config/src/FormConfig.vue.d.ts +17 -8936
- package/es/components/form-config/src/components/FormConfigCreator.js +4 -4
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +9 -4473
- package/es/components/form-config/src/components/FormConfigDragDisplay.js +2 -2
- package/es/components/form-config/src/components/FormConfigEdit.js +7 -7
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +7 -3065
- package/es/components/form-config/src/components/renderer/CloseButton.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +2 -1472
- package/es/components/form-config/src/components/renderer/ComplexNode.js +5 -8
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +26 -1496
- package/es/components/form-config/src/components/renderer/DefaultNode.js +6 -9
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +5 -3196
- package/es/components/form-config/src/constants/index.js +1 -60
- package/es/components/form-config/src/constants/index2.js +60 -0
- package/es/components/form-config/src/hooks/index.js +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -52
- package/es/components/form-config/src/hooks/useConfigurationField2.js +52 -0
- package/es/components/form-config/src/hooks/usePresetRenderer.js +0 -5
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -27
- package/es/components/form-config/src/hooks/useSortalbeConfig2.js +27 -0
- package/es/components/form-config/src/utils/index.js +1 -26
- package/es/components/form-config/src/utils/index2.js +26 -0
- package/es/components/form-config/style/index.css +1 -158
- package/es/components/form-render/index.d.ts +6 -1140
- package/es/components/form-render/index.js +14 -23
- package/es/components/form-render/index2.js +46 -0
- package/es/components/form-render/src/FormRender.js +12 -22
- package/es/components/form-render/src/FormRender.vue.d.ts +7 -1141
- package/es/components/form-render/src/components/renderer/cascader.js +7 -7
- package/es/components/form-render/src/components/renderer/checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/combination.js +13 -6
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +4 -4
- package/es/components/form-render/src/components/renderer/formItem.js +3 -3
- package/es/components/form-render/src/components/renderer/index.js +1 -1
- package/es/components/form-render/src/components/renderer/index2.js +18 -0
- package/es/components/form-render/src/components/renderer/input.d.ts +10 -2
- package/es/components/form-render/src/components/renderer/input.js +20 -4
- package/es/components/form-render/src/components/renderer/inputGroup.js +1 -8
- package/es/components/form-render/src/components/renderer/inputGroup2.js +8 -0
- package/es/components/form-render/src/components/renderer/inputNumber.js +4 -2
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +1 -33
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate2.js +33 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +3 -3
- package/es/components/form-render/src/components/renderer/linebar.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/linebar.js +3 -3
- package/es/components/form-render/src/components/renderer/radio.js +2 -2
- package/es/components/form-render/src/components/renderer/select.js +13 -10
- package/es/components/form-render/src/components/renderer/slider.js +3 -3
- package/es/components/form-render/src/components/renderer/switch.js +2 -2
- package/es/components/form-render/src/components/renderer/textarea.d.ts +8 -845
- package/es/components/form-render/src/components/renderer/textarea.js +30 -7
- package/es/components/form-render/src/constants/index.js +1 -41
- package/es/components/form-render/src/constants/index2.js +41 -0
- package/es/components/form-render/src/hooks/index.js +13 -13
- package/es/components/form-render/src/hooks/useAnchor.js +1 -90
- package/es/components/form-render/src/hooks/useAnchor2.js +90 -0
- package/es/components/form-render/src/hooks/useAsyncQueue.js +1 -144
- package/es/components/form-render/src/hooks/useAsyncQueue2.js +144 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -98
- package/es/components/form-render/src/hooks/useBusinessBinding2.js +98 -0
- package/es/components/form-render/src/hooks/useChangeContext.js +1 -20
- package/es/components/form-render/src/hooks/useChangeContext2.js +20 -0
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -0
- package/es/components/form-render/src/hooks/useCommonInjection.js +1 -23
- package/es/components/form-render/src/hooks/useCommonInjection2.js +32 -0
- package/es/components/form-render/src/hooks/useCommonLog.js +1 -10
- package/es/components/form-render/src/hooks/useCommonLog2.js +10 -0
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -243
- package/es/components/form-render/src/hooks/useFieldListAdaptor2.js +243 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -67
- package/es/components/form-render/src/hooks/useFieldNormalize2.js +67 -0
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -38
- package/es/components/form-render/src/hooks/useFieldVisitor2.js +38 -0
- package/es/components/form-render/src/hooks/useFormContext.js +1 -66
- package/es/components/form-render/src/hooks/useFormContext2.js +66 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -13
- package/es/components/form-render/src/hooks/useFormField2.js +13 -0
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -34
- package/es/components/form-render/src/hooks/useFormItemDeps2.js +34 -0
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.js +1 -10
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle2.js +10 -0
- package/es/components/form-render/src/hooks/useFormRequest.js +1 -12
- package/es/components/form-render/src/hooks/useFormRequest2.js +12 -0
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -67
- package/es/components/form-render/src/hooks/useFormValidator2.js +67 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -25
- package/es/components/form-render/src/hooks/usePresetScope2.js +25 -0
- package/es/components/form-render/src/utils/business.d.ts +1 -1
- package/es/components/form-render/src/utils/business.js +1 -78
- package/es/components/form-render/src/utils/business2.js +78 -0
- package/es/components/form-render/src/utils/dom.js +1 -14
- package/es/components/form-render/src/utils/dom2.js +14 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -6
- package/es/components/form-render/src/utils/schema.d.ts +3 -0
- package/es/components/form-render/src/utils/schema.js +1 -86
- package/es/components/form-render/src/utils/schema2.js +93 -0
- package/es/components/form-render/style/index.css +1 -146
- package/es/components/form-table/index.d.ts +43 -32048
- package/es/components/form-table/index.js +1 -10
- package/es/components/form-table/index2.js +10 -0
- package/es/components/form-table/src/FormTable.js +2 -2
- package/es/components/form-table/src/FormTable.vue.d.ts +43 -32048
- package/es/components/form-table/src/components/index.d.ts +43 -32048
- package/es/components/form-table/src/components/index.js +1 -40
- package/es/components/form-table/src/components/index2.js +40 -0
- package/es/components/form-table/src/components/table-age.js +1 -1
- package/es/components/form-table/src/components/table-age.vue.d.ts +5 -3997
- package/es/components/form-table/src/components/table-date-picker.js +2 -2
- package/es/components/form-table/src/components/table-date-picker.vue.d.ts +3 -5068
- package/es/components/form-table/src/components/table-digital.js +1 -1
- package/es/components/form-table/src/components/table-digital.vue.d.ts +4 -2664
- package/es/components/form-table/src/components/table-input-password.js +1 -1
- package/es/components/form-table/src/components/table-input-password.vue.d.ts +4 -1329
- package/es/components/form-table/src/components/table-input.js +1 -1
- package/es/components/form-table/src/components/table-input.vue.d.ts +4 -1329
- package/es/components/form-table/src/components/table-month-picker.js +2 -2
- package/es/components/form-table/src/components/table-month-picker.vue.d.ts +2 -5067
- package/es/components/form-table/src/components/table-search-more.vue.d.ts +2 -1401
- package/es/components/form-table/src/components/table-search-more.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components/form-table/src/components/table-search.vue.d.ts +3 -2734
- package/es/components/form-table/src/components/table-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components/form-table/src/components/table-select-multiple.js +1 -1
- package/es/components/form-table/src/components/table-select-multiple.vue.d.ts +2 -1334
- package/es/components/form-table/src/components/table-select.js +1 -1
- package/es/components/form-table/src/components/table-select.vue.d.ts +2 -1334
- package/es/components/form-table/src/components/table-textarea.js +1 -1
- package/es/components/form-table/src/components/table-textarea.vue.d.ts +5 -1330
- package/es/components/form-table/src/components/table-time-picker.js +2 -2
- package/es/components/form-table/src/components/table-time-picker.vue.d.ts +2 -2430
- package/es/components/form-table/src/components/table-tree-select.js +1 -1
- package/es/components/form-table/src/components/table-tree-select.vue.d.ts +2 -1550
- package/es/components/form-table/src/components/text-over-tooltip.vue.d.ts +2 -480
- package/es/components/form-table/src/configs/index.js +1 -67
- package/es/components/form-table/src/configs/index2.js +67 -0
- package/es/components/form-table/src/hooks/index.js +5 -5
- package/es/components/form-table/src/hooks/useBoundDate.js +1 -414
- package/es/components/form-table/src/hooks/useBoundDate2.js +414 -0
- package/es/components/form-table/src/hooks/useDateType.js +1 -160
- package/es/components/form-table/src/hooks/useDateType2.js +160 -0
- package/es/components/form-table/src/hooks/useFormCommon.js +1 -101
- package/es/components/form-table/src/hooks/useFormCommon2.js +101 -0
- package/es/components/form-table/src/hooks/useFormEvent.js +1 -68
- package/es/components/form-table/src/hooks/useFormEvent2.js +68 -0
- package/es/components/form-table/src/hooks/useItemDefault.js +1 -218
- package/es/components/form-table/src/hooks/useItemDefault2.js +218 -0
- package/es/components/form-table/src/hooks/useNuiThemeOverrides.js +1 -18
- package/es/components/form-table/src/hooks/useNuiThemeOverrides2.js +18 -0
- package/es/components/form-table/src/hooks/useSearch.js +1 -1154
- package/es/components/form-table/src/hooks/useSearch2.js +1154 -0
- package/es/components/form-table/src/hooks/useValidate.js +1 -480
- package/es/components/form-table/src/hooks/useValidate2.js +480 -0
- package/es/components/form-table/style/index.css +1 -214
- package/es/components/grid/index.js +1 -13
- package/es/components/grid/index2.js +13 -0
- package/es/components/grid/src/Grid.js +1 -1
- package/es/components/grid/src/hooks.js +1 -165
- package/es/components/grid/src/hooks2.js +165 -0
- package/es/components/grid/style/index.css +1 -10
- package/es/components/index.css +1 -3346
- package/es/components/index.js +39 -96
- package/es/components/index2.js +79 -0
- package/es/components/info-header/index.d.ts +16 -2561
- package/es/components/info-header/index.js +1 -10
- package/es/components/info-header/index2.js +10 -0
- package/es/components/info-header/src/HiddenContent.vue.d.ts +4 -804
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +3 -803
- package/es/components/info-header/src/InfoHeader.vue.d.ts +15 -2560
- package/es/components/info-header/style/index.css +1 -121
- package/es/components/map/index.d.ts +2 -2248
- package/es/components/map/index.js +1 -10
- package/es/components/map/index2.js +10 -0
- package/es/components/map/src/Map.vue.d.ts +2 -2248
- package/es/components/map/style/index.css +1 -61
- package/es/components/scale-view/index.d.ts +13 -3073
- package/es/components/scale-view/index.js +1 -35
- package/es/components/scale-view/index2.js +35 -0
- package/es/components/scale-view/src/ScaleView.js +8 -8
- package/es/components/scale-view/src/ScaleView.vue.d.ts +9 -3070
- package/es/components/scale-view/src/components/EvaluateCountdown.js +1 -1
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.js +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +1 -1400
- package/es/components/scale-view/src/components/composables/choose-common.js +1 -83
- package/es/components/scale-view/src/components/composables/choose-common2.js +83 -0
- package/es/components/scale-view/src/components/formitem/address.js +1 -3993
- package/es/components/scale-view/src/components/formitem/address2.js +3993 -0
- package/es/components/scale-view/src/components/formitem/r-address.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-cascader.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-collection.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-datetime.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-input.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-map.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/r-upload.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +2 -480
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -309
- package/es/components/scale-view/src/hooks/scaleview-computed2.js +309 -0
- package/es/components/scale-view/src/hooks/scaleview-init.js +1 -437
- package/es/components/scale-view/src/hooks/scaleview-init2.js +437 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -81
- package/es/components/scale-view/src/hooks/scaleview-props2.js +81 -0
- package/es/components/scale-view/src/hooks/scaleview-state.js +1 -38
- package/es/components/scale-view/src/hooks/scaleview-state2.js +38 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -154
- package/es/components/scale-view/src/hooks/scaleview-submit2.js +154 -0
- package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -187
- package/es/components/scale-view/src/hooks/scaleview-validate2.js +187 -0
- package/es/components/scale-view/src/hooks/use-component.d.ts +39 -8487
- package/es/components/scale-view/src/hooks/use-component.js +1 -82
- package/es/components/scale-view/src/hooks/use-component2.js +82 -0
- package/es/components/scale-view/src/hooks/use-evaluate.js +1 -150
- package/es/components/scale-view/src/hooks/use-evaluate2.js +150 -0
- package/es/components/scale-view/src/hooks/use-event.js +1 -129
- package/es/components/scale-view/src/hooks/use-event2.js +129 -0
- package/es/components/scale-view/src/hooks/use-noData.js +1 -41
- package/es/components/scale-view/src/hooks/use-noData2.js +41 -0
- package/es/components/scale-view/src/utils/judge-types.js +1 -36
- package/es/components/scale-view/src/utils/judge-types2.js +36 -0
- package/es/components/scale-view/style/index.css +1 -738
- package/es/components/select-label/index.d.ts +24 -11222
- package/es/components/select-label/index.js +1 -15
- package/es/components/select-label/index2.js +15 -0
- package/es/components/select-label/src/LabelFormContent.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +10 -4235
- package/es/components/select-label/src/SelectLabel.vue.d.ts +14 -7002
- package/es/components/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue.d.ts +5 -3467
- package/es/components/select-label/style/index.css +1 -164
- package/es/components/select-person/index.d.ts +9 -5310
- package/es/components/select-person/index.js +1 -10
- package/es/components/select-person/index2.js +10 -0
- package/es/components/select-person/src/SearchTree.vue.d.ts +3 -1317
- package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -5312
- package/es/components/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components/select-person/src/utils/index.js +1 -84
- package/es/components/select-person/src/utils/index2.js +84 -0
- package/es/components/select-person/style/index.css +1 -193
- package/es/components/shortcut-provider/index.js +3 -12
- package/es/components/shortcut-provider/index2.js +13 -0
- package/es/components/shortcut-provider/src/ShortcutProvider.js +3 -3
- package/es/components/shortcut-provider/src/constants/index.js +1 -8
- package/es/components/shortcut-provider/src/constants/index2.js +8 -0
- package/es/components/shortcut-provider/src/hooks/index.js +2 -2
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.js +1 -12
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature2.js +12 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -181
- package/es/components/shortcut-provider/src/hooks/useShortcuts2.js +181 -0
- package/es/components/shortcut-provider/src/utils/index.js +1 -59
- package/es/components/shortcut-provider/src/utils/index2.js +59 -0
- package/es/components/shortcut-provider/style/index.css +1 -3
- package/es/components/shortcut-setter/index.d.ts +6 -1140
- package/es/components/shortcut-setter/index.js +1 -10
- package/es/components/shortcut-setter/index2.js +10 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.js +4 -4
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -1140
- package/es/components/shortcut-setter/src/ShortcutSetterItem.js +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +1 -848
- package/es/components/shortcut-setter/style/index.css +1 -8
- package/es/components/steps-wheel/index.d.ts +1 -479
- package/es/components/steps-wheel/index.js +1 -10
- package/es/components/steps-wheel/index2.js +10 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -479
- package/es/components/steps-wheel/style/index.css +1 -161
- package/es/components/time-line/index.d.ts +7 -1672
- package/es/components/time-line/index.js +1 -10
- package/es/components/time-line/index2.js +10 -0
- package/es/components/time-line/src/TimeLine.vue.d.ts +6 -1671
- package/es/components/time-line/style/index.css +1 -37
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1400
- package/es/shared/components/SelectPage/index.js +0 -1
- package/es/shared/components/SelectPage/index2.js +2 -0
- package/es/shared/components/SlotRender/index.js +0 -1
- package/es/shared/components/SlotRender/index2.js +2 -0
- package/es/shared/components/SvgIcon/index.js +0 -1
- package/es/shared/components/SvgIcon/index2.js +2 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +2 -480
- package/es/shared/components/TextOverTooltip/index.js +0 -1
- package/es/shared/components/TextOverTooltip/index2.js +2 -0
- package/es/shared/global/variable.js +1 -4
- package/es/shared/global/variable2.js +4 -0
- package/es/shared/utils/anime.js +1 -129
- package/es/shared/utils/anime2.js +129 -0
- package/es/shared/utils/clickoutside.js +1 -48
- package/es/shared/utils/clickoutside2.js +48 -0
- package/es/shared/utils/colorLog.js +1 -44
- package/es/shared/utils/colorLog2.js +44 -0
- package/es/shared/utils/index.js +1 -25
- package/es/shared/utils/index2.js +25 -0
- package/es/shared/utils/loadViewer.js +1 -11
- package/es/shared/utils/loadViewer2.js +11 -0
- package/es/shared/utils/loadVxe.js +1 -12
- package/es/shared/utils/loadVxe2.js +12 -0
- package/es/shared/utils/state.js +1 -44
- package/es/shared/utils/state2.js +44 -0
- package/es/shared/utils/tapable/AsyncParallelBailHook.js +2 -17
- package/es/shared/utils/tapable/AsyncParallelHook.js +2 -17
- package/es/shared/utils/tapable/AsyncSeriesBailHook.js +2 -17
- package/es/shared/utils/tapable/AsyncSeriesHook.js +2 -17
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.js +2 -17
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +2 -19
- package/es/shared/utils/tapable/SyncBailHook.js +2 -23
- package/es/shared/utils/tapable/SyncHook.js +2 -23
- package/es/shared/utils/tapable/SyncLoopHook.js +2 -23
- package/es/shared/utils/utilExpand.d.ts +1 -1
- package/es/shared/utils/utilExpand.js +47 -46
- package/es/shared/utils/vexutils.js +1 -22
- package/package.json +6 -20
- package/es/components/big-table/src/components/edit-form/edit-select-table.js +0 -149
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.js +0 -373
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.js +0 -131
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.js +0 -18
- package/es/components/bpmn-workflow/src/custom/customModeler/index.js +0 -12
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.js +0 -47
- package/es/components/bpmn-workflow/src/custom/customRules/no-task.js +0 -1
- package/es/components/bpmn-workflow/src/custom/customRules/no-task2.js +0 -16
- package/es/components/bpmn-workflow/src/custom/customTranslate/customTranslate.js +0 -15
- package/es/components/bpmn-workflow/src/custom/customTranslate/zh.js +0 -227
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.js +0 -80
- package/es/shared/components/player-vod/index.js +0 -14
- package/es/shared/components/player-vod/video-list.js +0 -126
- package/es/shared/core/create.js +0 -8
- package/es/shared/utils/crypto.js +0 -25
- package/es/shared/utils/tapable/HookMap.js +0 -32
- package/es/shared/utils/tapable/MultiHook.js +0 -38
- package/es/shared/utils/tapable/index.js +0 -12
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
function useValidate(context) {
|
|
2
|
+
function handleGetRules(value, item, hideMessage = false) {
|
|
3
|
+
let res = {
|
|
4
|
+
validate: true,
|
|
5
|
+
errorMsg: void 0
|
|
6
|
+
};
|
|
7
|
+
const { validate = {}, is_null } = item;
|
|
8
|
+
let { vali_obj } = validate;
|
|
9
|
+
if (item.lineBarCheck || item.is_hide_field) {
|
|
10
|
+
return res;
|
|
11
|
+
}
|
|
12
|
+
let errorMsg = `\u8BF7\u8F93\u5165${item.name}`;
|
|
13
|
+
switch (item.html_type) {
|
|
14
|
+
case "INPUT":
|
|
15
|
+
case "TEXTAREA":
|
|
16
|
+
if (item.is_null == 0 && !value) {
|
|
17
|
+
!hideMessage && context.message.error(errorMsg);
|
|
18
|
+
res = {
|
|
19
|
+
validate: false,
|
|
20
|
+
errorMsg
|
|
21
|
+
};
|
|
22
|
+
return res;
|
|
23
|
+
}
|
|
24
|
+
if (vali_obj != "mobile") {
|
|
25
|
+
checkLength(value, item, (msg) => {
|
|
26
|
+
if (msg) {
|
|
27
|
+
!hideMessage && context.message.error(msg);
|
|
28
|
+
res = {
|
|
29
|
+
validate: false,
|
|
30
|
+
errorMsg: msg
|
|
31
|
+
};
|
|
32
|
+
return res;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
if (["integer", "number"].includes(vali_obj)) {
|
|
37
|
+
const rule = getInputCheck(vali_obj);
|
|
38
|
+
if (rule) {
|
|
39
|
+
let { pattern, message } = rule;
|
|
40
|
+
let res2 = pattern.test(value);
|
|
41
|
+
if (!res2) {
|
|
42
|
+
!hideMessage && context.message.error(message);
|
|
43
|
+
res2 = {
|
|
44
|
+
validate: false,
|
|
45
|
+
errorMsg: message
|
|
46
|
+
};
|
|
47
|
+
return res2;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (vali_obj == "id_card" && value) {
|
|
52
|
+
handlerSetIdCarInfoValidate(value, item, (msg) => {
|
|
53
|
+
if (msg) {
|
|
54
|
+
!hideMessage && context.message.error(msg);
|
|
55
|
+
res = {
|
|
56
|
+
validate: false,
|
|
57
|
+
errorMsg: msg
|
|
58
|
+
};
|
|
59
|
+
return res;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
if (vali_obj == "regular" && item.html_type == "INPUT") {
|
|
64
|
+
let rule = getCustomRegular(item);
|
|
65
|
+
if (value && rule) {
|
|
66
|
+
let { pattern, message } = rule;
|
|
67
|
+
let res2 = pattern.test(value);
|
|
68
|
+
if (!res2) {
|
|
69
|
+
!hideMessage && context.message.error(message);
|
|
70
|
+
res2 = {
|
|
71
|
+
validate: false,
|
|
72
|
+
errorMsg: message
|
|
73
|
+
};
|
|
74
|
+
return res2;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
} else {
|
|
78
|
+
checkinputBlank(value, item, (msg) => {
|
|
79
|
+
if (msg) {
|
|
80
|
+
!hideMessage && context.message.error(msg);
|
|
81
|
+
res = {
|
|
82
|
+
validate: false,
|
|
83
|
+
errorMsg: msg
|
|
84
|
+
};
|
|
85
|
+
return res;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
break;
|
|
90
|
+
case "DIGITAL":
|
|
91
|
+
checkDigital(value, item, (msg) => {
|
|
92
|
+
if (msg) {
|
|
93
|
+
!hideMessage && context.message.error(msg);
|
|
94
|
+
res = {
|
|
95
|
+
validate: false,
|
|
96
|
+
errorMsg: msg
|
|
97
|
+
};
|
|
98
|
+
return res;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
break;
|
|
102
|
+
case "AGE_JSON":
|
|
103
|
+
checkAgeJson(value, item, (msg) => {
|
|
104
|
+
if (msg) {
|
|
105
|
+
!hideMessage && context.message.error(msg);
|
|
106
|
+
res = {
|
|
107
|
+
validate: false,
|
|
108
|
+
errorMsg: msg
|
|
109
|
+
};
|
|
110
|
+
return res;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
break;
|
|
114
|
+
case "AGE":
|
|
115
|
+
if (item.is_null == 0 && !value) {
|
|
116
|
+
!hideMessage && context.message.error(errorMsg);
|
|
117
|
+
res = {
|
|
118
|
+
validate: false,
|
|
119
|
+
errorMsg
|
|
120
|
+
};
|
|
121
|
+
return res;
|
|
122
|
+
}
|
|
123
|
+
checkAge(value, item, (msg) => {
|
|
124
|
+
if (msg) {
|
|
125
|
+
!hideMessage && context.message.error(msg);
|
|
126
|
+
res = {
|
|
127
|
+
validate: false,
|
|
128
|
+
errorMsg: msg
|
|
129
|
+
};
|
|
130
|
+
return res;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
break;
|
|
134
|
+
case "CHECKBOX_BLOCK":
|
|
135
|
+
case "CHECKBOX":
|
|
136
|
+
case "SEARCH_MORE":
|
|
137
|
+
if (item.is_null == 0 && (!value || !value.length)) {
|
|
138
|
+
!hideMessage && context.message.error(`\u8BF7\u9009\u62E9${item.name}`);
|
|
139
|
+
res = {
|
|
140
|
+
validate: false,
|
|
141
|
+
errorMsg: `\u8BF7\u9009\u62E9${item.name}`
|
|
142
|
+
};
|
|
143
|
+
return res;
|
|
144
|
+
}
|
|
145
|
+
checkMultipleChoice(value, item, (msg) => {
|
|
146
|
+
if (msg) {
|
|
147
|
+
!hideMessage && context.message.error(msg);
|
|
148
|
+
res = {
|
|
149
|
+
validate: false,
|
|
150
|
+
errorMsg: msg
|
|
151
|
+
};
|
|
152
|
+
return res;
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
break;
|
|
156
|
+
case "SELECT":
|
|
157
|
+
if (String(item.multi_select) === "0") {
|
|
158
|
+
checkMultipleChoice(value, item, (msg) => {
|
|
159
|
+
if (msg) {
|
|
160
|
+
!hideMessage && context.message.error(msg);
|
|
161
|
+
res = {
|
|
162
|
+
validate: false,
|
|
163
|
+
errorMsg: msg
|
|
164
|
+
};
|
|
165
|
+
return res;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
break;
|
|
170
|
+
case "SEARCH_TREE":
|
|
171
|
+
checkMultipleTree(value, item, (msg) => {
|
|
172
|
+
if (msg) {
|
|
173
|
+
!hideMessage && context.message.error(msg);
|
|
174
|
+
res = {
|
|
175
|
+
validate: false,
|
|
176
|
+
errorMsg: msg
|
|
177
|
+
};
|
|
178
|
+
return res;
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
break;
|
|
182
|
+
default:
|
|
183
|
+
if (item.is_null == 0 && !value) {
|
|
184
|
+
!hideMessage && context.message.error(`\u8BF7\u9009\u62E9${item.name}`);
|
|
185
|
+
res = {
|
|
186
|
+
validate: false,
|
|
187
|
+
errorMsg: `\u8BF7\u9009\u62E9${item.name}`
|
|
188
|
+
};
|
|
189
|
+
return res;
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
if (validate && vali_obj == "mobile" && !validate.phone_idcard_type && is_null == 0) {
|
|
194
|
+
let res2 = /(^[0-9]{11,11}$)/.test(value);
|
|
195
|
+
if (!res2) {
|
|
196
|
+
!hideMessage && context.message.error("\u8BF7\u6B63\u786E\u8F93\u5165\u624B\u673A\u53F7");
|
|
197
|
+
res2 = {
|
|
198
|
+
validate: false,
|
|
199
|
+
errorMsg: "\u8BF7\u6B63\u786E\u8F93\u5165\u624B\u673A\u53F7"
|
|
200
|
+
};
|
|
201
|
+
return res2;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return res;
|
|
205
|
+
}
|
|
206
|
+
function handlerSetIdCarInfoValidate(value, item, callback) {
|
|
207
|
+
try {
|
|
208
|
+
const { validate = {} } = item || {};
|
|
209
|
+
if (validate.vali_obj == "id_card") {
|
|
210
|
+
const pat = /^\d{6}(((19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|x|X))|(\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}))$/;
|
|
211
|
+
if (!pat.test(value)) {
|
|
212
|
+
callback("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801");
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
callback();
|
|
217
|
+
} catch (error) {
|
|
218
|
+
console.log(error, "------handlerSetIdCarInfoValidate");
|
|
219
|
+
callback();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
const checkDigital = (value, item, callback) => {
|
|
223
|
+
try {
|
|
224
|
+
const { validate, is_null, decimal_length, alias, name } = item;
|
|
225
|
+
const { min_value, max_value } = validate || {};
|
|
226
|
+
let showName = alias || name;
|
|
227
|
+
if (isNaN(+value)) {
|
|
228
|
+
callback("\u53EA\u80FD\u8F93\u5165\u6570\u5B57");
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
if (is_null == 0 && !value && value != 0) {
|
|
232
|
+
callback(`\u8BF7\u8F93\u5165${showName}\u6709\u6548\u8303\u56F4`);
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
if (!value && value !== 0) {
|
|
236
|
+
if (is_null == 0) {
|
|
237
|
+
callback(`\u8BF7\u8F93\u5165${showName}\u6709\u6548\u8303\u56F4`);
|
|
238
|
+
} else {
|
|
239
|
+
callback();
|
|
240
|
+
}
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
const decimalLen = decimal_length || validate.decimal_length;
|
|
244
|
+
const valList = (value + "").trim().split(".");
|
|
245
|
+
if (decimalLen && decimalLen != 0) {
|
|
246
|
+
if (valList[1] && valList[1].length > decimalLen) {
|
|
247
|
+
callback("\u5C0F\u6570\u6700\u591A" + decimalLen + "\u4F4D");
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
const flag = /^-?[0-9]+$/.test(value);
|
|
252
|
+
if (!flag) {
|
|
253
|
+
callback("\u8BF7\u8F93\u5165\u6574\u6570");
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
let max = +value > +max_value, min = +min_value > +value;
|
|
258
|
+
if ((min_value || max_value) && (value || value == 0)) {
|
|
259
|
+
if ((min_value || String(min_value) === "0") && max_value && (max || min)) {
|
|
260
|
+
callback(`\u8BF7\u8F93\u5165${min_value}~${max_value}`);
|
|
261
|
+
} else if (min_value && min) {
|
|
262
|
+
callback(`\u8BF7\u8F93\u5165${showName}\u6709\u6548\u8303\u56F4`);
|
|
263
|
+
} else if (max_value && max) {
|
|
264
|
+
callback(`\u8BF7\u8F93\u5165${showName}\u6709\u6548\u8303\u56F4`);
|
|
265
|
+
}
|
|
266
|
+
callback();
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
callback();
|
|
270
|
+
} catch (error) {
|
|
271
|
+
console.log(error, "------checkAgeJson");
|
|
272
|
+
callback();
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
const checkAgeJson = (value, item, callback) => {
|
|
276
|
+
try {
|
|
277
|
+
const { is_null, alias, name } = item;
|
|
278
|
+
const { year, month, day, days } = value;
|
|
279
|
+
const c = (val) => String(val) === "0" || val > 0;
|
|
280
|
+
const checkval = () => !(c(year) || c(month) || c(day));
|
|
281
|
+
if (is_null == 0) {
|
|
282
|
+
if (checkval()) {
|
|
283
|
+
callback(`\u8BF7\u8F93\u5165${alias || name}`);
|
|
284
|
+
return;
|
|
285
|
+
} else if (days > 73e3) {
|
|
286
|
+
callback(`\u8D85\u51FA\u5E74\u9F84\u8303\u56F40~200\u5C81`);
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
callback();
|
|
291
|
+
} catch (error) {
|
|
292
|
+
console.log(error, "------checkAgeJson");
|
|
293
|
+
callback();
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
const checkAge = (value, item, callback) => {
|
|
297
|
+
try {
|
|
298
|
+
let { is_null, name, alias } = item;
|
|
299
|
+
if (!value && is_null == 0) {
|
|
300
|
+
callback(`${alias || name}\u4E0D\u80FD\u4E3A\u7A7A`);
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
callback();
|
|
304
|
+
} catch (error) {
|
|
305
|
+
console.log(error, "------checkMultipleChoice");
|
|
306
|
+
callback();
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
const checkMultipleChoice = (value, item, callback) => {
|
|
310
|
+
try {
|
|
311
|
+
const { multi_select, multi_select_value, is_null, alias, name } = item;
|
|
312
|
+
if (Array.isArray(value)) {
|
|
313
|
+
if (is_null == 0) {
|
|
314
|
+
if (value.length === 0) {
|
|
315
|
+
callback();
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
if (is_null == 1 && value.length === 0) {
|
|
320
|
+
callback();
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
if (multi_select_value) {
|
|
324
|
+
if (value.length > multi_select_value) {
|
|
325
|
+
callback(`\u6700\u591A\u53EA\u80FD\u9009\u62E9${multi_select_value}\u9879`);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
callback();
|
|
330
|
+
} catch (error) {
|
|
331
|
+
console.log(error, "------checkMultipleChoice");
|
|
332
|
+
callback();
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
const checkLength = (value, item, callback) => {
|
|
336
|
+
try {
|
|
337
|
+
console.log(value, "---value---checkLength");
|
|
338
|
+
const { validate = {}, is_null, html_type } = item || {};
|
|
339
|
+
let { min_length, max_length } = validate || {};
|
|
340
|
+
let curval = value + "";
|
|
341
|
+
if (html_type === "INPUT") {
|
|
342
|
+
max_length = max_length ? +max_length : 300;
|
|
343
|
+
} else if (html_type === "TEXTAREA") {
|
|
344
|
+
max_length = max_length ? +max_length : 500;
|
|
345
|
+
} else if (html_type === "RICH_TEXT") {
|
|
346
|
+
const div = document.createElement("div");
|
|
347
|
+
div.innerHTML = value;
|
|
348
|
+
curval = div.innerText;
|
|
349
|
+
}
|
|
350
|
+
const strlen = curval.length;
|
|
351
|
+
let max = strlen > max_length, min = min_length > strlen;
|
|
352
|
+
if (is_null == 0 && !value && value != 0) {
|
|
353
|
+
callback(`\u8BF7\u8F93\u5165${min_length || 0}-${max_length}\u4E2A\u5B57\u7B26`);
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
if (is_null == 1 && !value) {
|
|
357
|
+
callback();
|
|
358
|
+
return;
|
|
359
|
+
}
|
|
360
|
+
if ((min_length || String(min_length) === "0") && max_length && (max || min)) {
|
|
361
|
+
callback(`\u8BF7\u8F93\u5165${min_length || 0}-${max_length}\u4E2A\u5B57\u7B26`);
|
|
362
|
+
} else if (min_length && min) {
|
|
363
|
+
callback(`\u81F3\u5C11\u8F93\u5165${min_length}\u4E2A\u5B57\u7B26`);
|
|
364
|
+
} else if (max_length && max) {
|
|
365
|
+
callback(`\u6700\u591A\u53EA\u80FD\u8F93\u5165${max_length}\u4E2A\u5B57\u7B26`);
|
|
366
|
+
}
|
|
367
|
+
callback();
|
|
368
|
+
} catch (error) {
|
|
369
|
+
console.log(error, "------checkLength");
|
|
370
|
+
callback();
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
function getInputCheck(validate) {
|
|
374
|
+
if (!validate)
|
|
375
|
+
return;
|
|
376
|
+
const isInteger = validate == "integer";
|
|
377
|
+
return {
|
|
378
|
+
pattern: isInteger ? /^-?[0-9]+$/ : /^(-?[0-9]+)(\.[0-9]+)?$/,
|
|
379
|
+
message: isInteger ? "\u53EA\u80FD\u8F93\u5165\u6574\u6570" : "\u53EA\u80FD\u8F93\u5165\u6574\u6570\u548C\u5C0F\u6570"
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function getCustomRegular(item) {
|
|
383
|
+
try {
|
|
384
|
+
const { validate = {}, regular_expression, regular_error_tip } = item;
|
|
385
|
+
let regStr = regular_expression || (validate == null ? void 0 : validate.regular_expression);
|
|
386
|
+
let tip = regular_error_tip || (validate == null ? void 0 : validate.regular_error_tip);
|
|
387
|
+
if (!regStr) {
|
|
388
|
+
console.log(`${item.name}\u6B63\u5219\u9519\u8BEF\uFF1A`, regStr);
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
const reg = new RegExp(regStr);
|
|
392
|
+
return {
|
|
393
|
+
pattern: reg,
|
|
394
|
+
message: tip || "\u8BF7\u8F93\u5165\u6709\u6548\u683C\u5F0F"
|
|
395
|
+
};
|
|
396
|
+
} catch (error) {
|
|
397
|
+
return null;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
const checkinputBlank = (value, item, callback) => {
|
|
401
|
+
try {
|
|
402
|
+
const { is_null, delete_before_after_spaces } = item;
|
|
403
|
+
if (typeof value === "string" && delete_before_after_spaces == 1) {
|
|
404
|
+
let val = value.trim();
|
|
405
|
+
if (!val && is_null == 0) {
|
|
406
|
+
callback(`\u4E0D\u53EF\u4E3A\u7A7A`);
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
callback();
|
|
411
|
+
} catch (error) {
|
|
412
|
+
console.log(error, "------checkinputBlank");
|
|
413
|
+
callback();
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
const checkSearchCascade = (value, item, callback) => {
|
|
417
|
+
try {
|
|
418
|
+
let curval = value;
|
|
419
|
+
const { is_null, name } = item;
|
|
420
|
+
if (!Array.isArray(curval)) {
|
|
421
|
+
callback();
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
curval = curval == null ? void 0 : curval.filter(Boolean);
|
|
425
|
+
let len = (curval == null ? void 0 : curval.length) || 0;
|
|
426
|
+
if (is_null == 1 && len === 0) {
|
|
427
|
+
callback();
|
|
428
|
+
return;
|
|
429
|
+
} else if (is_null == 0 && (!curval || len === 0)) {
|
|
430
|
+
callback(`\u8BF7\u9009${name}`);
|
|
431
|
+
}
|
|
432
|
+
callback();
|
|
433
|
+
} catch (error) {
|
|
434
|
+
console.log(error, "------checkSearchCascade");
|
|
435
|
+
callback();
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
const checkMultipleTree = (value, item, callback) => {
|
|
439
|
+
try {
|
|
440
|
+
let { is_null, name, alias, val_key, multi_select_value, multi_select, max_length } = item;
|
|
441
|
+
let selectedKey = `${val_key}_${name}`;
|
|
442
|
+
if (Array.isArray(value)) {
|
|
443
|
+
if (is_null == 0) {
|
|
444
|
+
if (!value.length) {
|
|
445
|
+
callback();
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
if (is_null == 1 && !value.length) {
|
|
450
|
+
callback();
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
if (max_length && Number(max_length)) {
|
|
454
|
+
if (value.length > +max_length) {
|
|
455
|
+
callback(`${alias || name} \u6700\u591A\u53EA\u80FD\u9009\u62E9${max_length}\u9879`);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
callback();
|
|
460
|
+
} catch (error) {
|
|
461
|
+
callback();
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
return {
|
|
465
|
+
handleGetRules,
|
|
466
|
+
handlerSetIdCarInfoValidate,
|
|
467
|
+
getInputCheck,
|
|
468
|
+
getCustomRegular,
|
|
469
|
+
checkDigital,
|
|
470
|
+
checkAgeJson,
|
|
471
|
+
checkAge,
|
|
472
|
+
checkMultipleChoice,
|
|
473
|
+
checkLength,
|
|
474
|
+
checkinputBlank,
|
|
475
|
+
checkSearchCascade,
|
|
476
|
+
checkMultipleTree
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export { useValidate };
|
|
@@ -1,214 +1 @@
|
|
|
1
|
-
.table-form-age-error {
|
|
2
|
-
border-color: red !important;
|
|
3
|
-
}
|
|
4
|
-
.table-form-age-error .table-age-input {
|
|
5
|
-
border-color: red !important;
|
|
6
|
-
}
|
|
7
|
-
.table-form-age-error .n-select-selection--single {
|
|
8
|
-
border-color: red !important;
|
|
9
|
-
}
|
|
10
|
-
.table-date-picker {
|
|
11
|
-
min-width: unset !important;
|
|
12
|
-
width: 100%;
|
|
13
|
-
}
|
|
14
|
-
.table-date-picker-error .n-input {
|
|
15
|
-
border-color: red !important;
|
|
16
|
-
}
|
|
17
|
-
.text-over-tooltip-components {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
max-width: 100%;
|
|
20
|
-
/* 文字超出宽度显示省略号 单行 */
|
|
21
|
-
/* 自定义样式 */
|
|
22
|
-
}
|
|
23
|
-
.text-over-tooltip-components .ellipsis {
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
color: #35393c;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
}
|
|
30
|
-
.text-over-tooltip-components .ellipsis i {
|
|
31
|
-
font-style: normal;
|
|
32
|
-
word-break: keep-all;
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
}
|
|
35
|
-
.text-over-tooltip-components .fs20 {
|
|
36
|
-
font-size: 20px;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
color: green;
|
|
39
|
-
line-height: 22px;
|
|
40
|
-
}
|
|
41
|
-
.text-over-tooltip-components .fs12 {
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
font-weight: 400;
|
|
44
|
-
color: orange;
|
|
45
|
-
line-height: 14px;
|
|
46
|
-
}
|
|
47
|
-
.ant-input-group {
|
|
48
|
-
display: table !important;
|
|
49
|
-
}
|
|
50
|
-
.ant-input-group .n-input-number {
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
.ant-input-group .n-input-number.table-error-digital {
|
|
54
|
-
border-color: red !important;
|
|
55
|
-
}
|
|
56
|
-
.ant-input-group .n-input-number.table-error-digital input {
|
|
57
|
-
border-color: red !important;
|
|
58
|
-
}
|
|
59
|
-
.table-digital-com .n-input-group-addon {
|
|
60
|
-
max-width: 52px;
|
|
61
|
-
}
|
|
62
|
-
.table-digital-com .n-input-group-addon .text-over-tooltip-components {
|
|
63
|
-
display: inline;
|
|
64
|
-
}
|
|
65
|
-
.table-error-input {
|
|
66
|
-
border-color: red !important;
|
|
67
|
-
}
|
|
68
|
-
.table-error-input input {
|
|
69
|
-
border-color: red !important;
|
|
70
|
-
}
|
|
71
|
-
.table-input-com .n-input-group-addon {
|
|
72
|
-
max-width: 52px;
|
|
73
|
-
}
|
|
74
|
-
.table-input-com .n-input-group-addon .text-over-tooltip-components {
|
|
75
|
-
display: inline;
|
|
76
|
-
}
|
|
77
|
-
.table-month-picker {
|
|
78
|
-
width: 100%;
|
|
79
|
-
}
|
|
80
|
-
.table-month-picker-error .n-input {
|
|
81
|
-
border-color: red !important;
|
|
82
|
-
}
|
|
83
|
-
.table-default-select .title-line {
|
|
84
|
-
font-weight: 700;
|
|
85
|
-
color: #000;
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
}
|
|
88
|
-
.table-default-select .select-content-item {
|
|
89
|
-
padding: 0 5px;
|
|
90
|
-
}
|
|
91
|
-
.table-default-select .n-select-dropdown-menu-item-selected {
|
|
92
|
-
color: #5585f5;
|
|
93
|
-
}
|
|
94
|
-
.tableItem-search-more-select .title-line {
|
|
95
|
-
font-weight: 700;
|
|
96
|
-
color: #000;
|
|
97
|
-
font-size: 14px;
|
|
98
|
-
}
|
|
99
|
-
.tableItem-search-more-select .select-content-item {
|
|
100
|
-
padding: 0 5px;
|
|
101
|
-
}
|
|
102
|
-
.tableItem-search-more-select .n-select-dropdown-menu-item-selected {
|
|
103
|
-
color: #5585f5;
|
|
104
|
-
}
|
|
105
|
-
.table-select-error .n-select-selection {
|
|
106
|
-
border-color: red !important;
|
|
107
|
-
}
|
|
108
|
-
.table-error-textarea .n-input {
|
|
109
|
-
border-color: red !important;
|
|
110
|
-
}
|
|
111
|
-
.table-time-picker {
|
|
112
|
-
width: 100%;
|
|
113
|
-
}
|
|
114
|
-
.table-time-picker-error .n-input {
|
|
115
|
-
border-color: red !important;
|
|
116
|
-
}
|
|
117
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .form-table-item {
|
|
118
|
-
display: flex;
|
|
119
|
-
align-items: center;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
height: 31px;
|
|
122
|
-
}
|
|
123
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-selection {
|
|
124
|
-
border: 0 !important;
|
|
125
|
-
background: transparent;
|
|
126
|
-
}
|
|
127
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-arrow {
|
|
128
|
-
display: none;
|
|
129
|
-
}
|
|
130
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-selection-selected-value {
|
|
131
|
-
color: #606266;
|
|
132
|
-
}
|
|
133
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .DATE-container .ant-input {
|
|
134
|
-
padding: 0;
|
|
135
|
-
text-align: center;
|
|
136
|
-
border: 0 !important;
|
|
137
|
-
background-color: transparent;
|
|
138
|
-
}
|
|
139
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .DATE-container .ant-calendar-picker-icon {
|
|
140
|
-
display: none;
|
|
141
|
-
}
|
|
142
|
-
.formTable-page-disabled--detail .vxe-table .vxe-cell .SELECT-container .ant-select-selection {
|
|
143
|
-
max-width: 100%;
|
|
144
|
-
}
|
|
145
|
-
.formTable-page {
|
|
146
|
-
width: 100%;
|
|
147
|
-
min-height: 100px;
|
|
148
|
-
max-height: 350px;
|
|
149
|
-
}
|
|
150
|
-
.formTable-page .vxe-table.vxe-table--render-default .vxe-body--column:not(.col--ellipsis),
|
|
151
|
-
.formTable-page .vxe-table.vxe-table--render-default .vxe-footer--column:not(.col--ellipsis),
|
|
152
|
-
.formTable-page .vxe-table.vxe-table--render-default .vxe-header--column:not(.col--ellipsis) {
|
|
153
|
-
padding: 0;
|
|
154
|
-
}
|
|
155
|
-
.formTable-page .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar {
|
|
156
|
-
width: 10px;
|
|
157
|
-
height: 10px;
|
|
158
|
-
}
|
|
159
|
-
.formTable-page .vxe-table .vxe-table--empty-content {
|
|
160
|
-
height: 100%;
|
|
161
|
-
max-height: 100%;
|
|
162
|
-
}
|
|
163
|
-
.formTable-page .vxe-table .vxe-table--empty-content > div {
|
|
164
|
-
display: flex;
|
|
165
|
-
justify-content: center;
|
|
166
|
-
align-items: center;
|
|
167
|
-
height: 100%;
|
|
168
|
-
max-height: 100%;
|
|
169
|
-
}
|
|
170
|
-
.formTable-page .vxe-table .vxe-cell {
|
|
171
|
-
width: 100%;
|
|
172
|
-
padding: 9px 10px;
|
|
173
|
-
max-height: unset;
|
|
174
|
-
line-height: unset;
|
|
175
|
-
height: unset;
|
|
176
|
-
min-height: 32px;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
text-overflow: inherit !important;
|
|
179
|
-
}
|
|
180
|
-
.formTable-page .vxe-table .vxe-cell .tableItem-select {
|
|
181
|
-
width: 100%;
|
|
182
|
-
}
|
|
183
|
-
.formTable-page .vxe-table .vxe-cell textarea {
|
|
184
|
-
line-height: 20px;
|
|
185
|
-
height: 100%;
|
|
186
|
-
resize: none;
|
|
187
|
-
}
|
|
188
|
-
.formTable-page .vxe-table .vxe-cell .select-content {
|
|
189
|
-
width: 100%;
|
|
190
|
-
}
|
|
191
|
-
.formTable-page .vxe-table .vxe-cell .table-form-age {
|
|
192
|
-
display: flex;
|
|
193
|
-
width: 100%;
|
|
194
|
-
line-height: unset;
|
|
195
|
-
}
|
|
196
|
-
.formTable-page .vxe-table .vxe-cell .table-form-age .table-age-input {
|
|
197
|
-
flex: 1;
|
|
198
|
-
}
|
|
199
|
-
.formTable-page .vxe-table .vxe-cell .table-form-age .table-age-select .ant-select-selection__placeholder {
|
|
200
|
-
font-size: 12px;
|
|
201
|
-
}
|
|
202
|
-
.formTable-page .vxe-table .vxe-cell .span-required {
|
|
203
|
-
color: red;
|
|
204
|
-
}
|
|
205
|
-
.formTable-page .vxe-table .vxe-body--column.col--ellipsis,
|
|
206
|
-
.formTable-page .vxe-table .vxe-editable .vxe-body--column,
|
|
207
|
-
.formTable-page .vxe-table .vxe-footer--column.col--ellipsis,
|
|
208
|
-
.formTable-page .vxe-table .vxe-header--column.col--ellipsis {
|
|
209
|
-
height: 40px;
|
|
210
|
-
}
|
|
211
|
-
.formTable-page .vxe-table .span-remark-icon {
|
|
212
|
-
color: #337ab7;
|
|
213
|
-
margin-left: 6px;
|
|
214
|
-
}
|
|
1
|
+
.table-form-age-error,.table-form-age-error .n-select-selection--single,.table-form-age-error .table-age-input{border-color:red!important}.table-date-picker{min-width:unset!important;width:100%}.table-date-picker-error .n-input{border-color:red!important}.text-over-tooltip-components{display:inline-block;max-width:100%}.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}.ant-input-group{display:table!important}.ant-input-group .n-input-number{width:100%}.ant-input-group .n-input-number.table-error-digital,.ant-input-group .n-input-number.table-error-digital input{border-color:red!important}.table-digital-com .n-input-group-addon{max-width:52px}.table-digital-com .n-input-group-addon .text-over-tooltip-components{display:inline}.table-error-input,.table-error-input input{border-color:red!important}.table-input-com .n-input-group-addon{max-width:52px}.table-input-com .n-input-group-addon .text-over-tooltip-components{display:inline}.table-month-picker{width:100%}.table-month-picker-error .n-input{border-color:red!important}.table-default-select .title-line{color:#000;font-size:14px;font-weight:700}.table-default-select .select-content-item{padding:0 5px}.table-default-select .n-select-dropdown-menu-item-selected{color:#5585f5}.tableItem-search-more-select .title-line{color:#000;font-size:14px;font-weight:700}.tableItem-search-more-select .select-content-item{padding:0 5px}.tableItem-search-more-select .n-select-dropdown-menu-item-selected{color:#5585f5}.table-error-textarea .n-input,.table-select-error .n-select-selection{border-color:red!important}.table-time-picker{width:100%}.table-time-picker-error .n-input{border-color:red!important}.formTable-page-disabled--detail .vxe-table .vxe-cell .form-table-item{align-items:center;display:flex;height:31px;justify-content:center}.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-selection{background:transparent;border:0!important}.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-arrow{display:none}.formTable-page-disabled--detail .vxe-table .vxe-cell .ant-select-disabled .ant-select-selection-selected-value{color:#606266}.formTable-page-disabled--detail .vxe-table .vxe-cell .DATE-container .ant-input{background-color:transparent;border:0!important;padding:0;text-align:center}.formTable-page-disabled--detail .vxe-table .vxe-cell .DATE-container .ant-calendar-picker-icon{display:none}.formTable-page-disabled--detail .vxe-table .vxe-cell .SELECT-container .ant-select-selection{max-width:100%}.formTable-page{max-height:350px;min-height:100px;width:100%}.formTable-page .vxe-table.vxe-table--render-default .vxe-body--column:not(.col--ellipsis),.formTable-page .vxe-table.vxe-table--render-default .vxe-footer--column:not(.col--ellipsis),.formTable-page .vxe-table.vxe-table--render-default .vxe-header--column:not(.col--ellipsis){padding:0}.formTable-page .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar{height:10px;width:10px}.formTable-page .vxe-table .vxe-table--empty-content{height:100%;max-height:100%}.formTable-page .vxe-table .vxe-table--empty-content>div{align-items:center;display:flex;height:100%;justify-content:center;max-height:100%}.formTable-page .vxe-table .vxe-cell{height:unset;justify-content:center;line-height:unset;max-height:unset;min-height:32px;padding:9px 10px;text-overflow:inherit!important;width:100%}.formTable-page .vxe-table .vxe-cell .tableItem-select{width:100%}.formTable-page .vxe-table .vxe-cell textarea{height:100%;line-height:20px;resize:none}.formTable-page .vxe-table .vxe-cell .select-content{width:100%}.formTable-page .vxe-table .vxe-cell .table-form-age{display:flex;line-height:unset;width:100%}.formTable-page .vxe-table .vxe-cell .table-form-age .table-age-input{flex:1}.formTable-page .vxe-table .vxe-cell .table-form-age .table-age-select .ant-select-selection__placeholder{font-size:12px}.formTable-page .vxe-table .vxe-cell .span-required{color:red}.formTable-page .vxe-table .vxe-body--column.col--ellipsis,.formTable-page .vxe-table .vxe-editable .vxe-body--column,.formTable-page .vxe-table .vxe-footer--column.col--ellipsis,.formTable-page .vxe-table .vxe-header--column.col--ellipsis{height:40px}.formTable-page .vxe-table .span-remark-icon{color:#337ab7;margin-left:6px}
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import { loadVxeTable } from '../../shared/utils/loadVxe.js';
|
|
4
|
-
import '../../shared/utils/utilExpand.js';
|
|
5
|
-
import script from './src/Grid.js';
|
|
6
|
-
|
|
7
|
-
const Grid = script;
|
|
8
|
-
Grid.install = function(app) {
|
|
9
|
-
safeComponentRegister(app, Grid, COMPONENT_NAMESPACE + "Grid");
|
|
10
|
-
loadVxeTable(app);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { Grid as default };
|
|
1
|
+
export { default } from './index2.js';
|