cnhis-design-vue 3.1.40-beta.12 → 3.1.40-beta.15
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/_virtual/plugin-vue_export-helper.js +1 -9
- package/es/components/annotation-edit/index.js +1 -10
- package/es/components/annotation-edit/src/AnnotationEdit.js +1 -164
- package/es/components/big-table/index.js +1 -15
- package/es/components/big-table/src/BigTable.vue.js +1 -6
- package/es/components/big-table/src/BigTable.vue2.js +1 -2498
- package/es/components/big-table/src/bigTableEmits.js +1 -53
- package/es/components/big-table/src/bigTableProps.js +1 -120
- package/es/components/big-table/src/bigTableState.js +1 -62
- package/es/components/big-table/src/components/NoData.vue.js +1 -74
- package/es/components/big-table/src/components/edit-form/edit-date.js +1 -214
- package/es/components/big-table/src/components/edit-form/edit-input.js +1 -95
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -139
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -103
- package/es/components/big-table/src/components/edit-form/edit-time.js +1 -122
- package/es/components/big-table/src/components/edit-form/useCommon.js +1 -23
- package/es/components/big-table/src/components/input-button.vue.js +1 -39
- package/es/components/big-table/src/components/separate.vue.js +1 -30
- package/es/components/big-table/src/constants/index.js +1 -3
- package/es/components/big-table/src/hooks/index.js +1 -9
- package/es/components/big-table/src/hooks/useAnchor.js +1 -49
- package/es/components/big-table/src/hooks/useAnnotation.js +1 -21
- package/es/components/big-table/src/hooks/useBatchEditing.js +1 -301
- package/es/components/big-table/src/hooks/useEdit.js +1 -133
- package/es/components/big-table/src/hooks/useEvent.js +1 -95
- package/es/components/big-table/src/hooks/useFormat.js +1 -507
- package/es/components/big-table/src/hooks/useNestTable.js +1 -86
- package/es/components/big-table/src/hooks/useSeparateRow.js +1 -177
- package/es/components/big-table/src/hooks/useTableParse.js +1 -142
- package/es/components/big-table/src/utils.js +1 -618
- package/es/components/bpmn-workflow/index.js +1 -10
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -258
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +1 -1452
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.js +1 -99
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +1 -114
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.js +1 -40
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.js +1 -14
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.js +1 -10
- package/es/components/button-print/index.js +1 -12
- package/es/components/button-print/src/ButtonPrint.vue.js +1 -6
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -528
- package/es/components/button-print/src/components/EditFormat.vue.js +1 -173
- package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -182
- package/es/components/button-print/src/components/Preview.vue.js +1 -6
- package/es/components/button-print/src/components/Preview.vue2.js +1 -67
- package/es/components/button-print/src/utils/browserPrint.d.ts +2 -1
- package/es/components/button-print/src/utils/browserPrint.js +1 -43
- package/es/components/button-print/src/utils/dialog.js +1 -121
- package/es/components/button-print/src/utils/index.js +1 -2
- package/es/components/button-print/src/utils/print.d.ts +5 -1
- package/es/components/button-print/src/utils/print.js +1 -432
- package/es/components/editor/index.js +1 -10
- package/es/components/editor/src/Editor.js +1 -77
- package/es/components/fabric-chart/index.js +1 -10
- package/es/components/fabric-chart/src/FabricChart.vue.js +1 -71
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -118
- package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -34
- package/es/components/fabric-chart/src/components/useStyle.js +1 -36
- package/es/components/fabric-chart/src/hooks/constant.js +1 -78
- package/es/components/fabric-chart/src/hooks/index.js +1 -11
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -642
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -153
- package/es/components/fabric-chart/src/hooks/useBottom.js +1 -91
- package/es/components/fabric-chart/src/hooks/useCenter.js +1 -734
- package/es/components/fabric-chart/src/hooks/useCommon.js +1 -32
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -79
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -182
- package/es/components/fabric-chart/src/hooks/useEvent.js +1 -146
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -54
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -331
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -95
- package/es/components/fabric-chart/src/hooks/useRight.js +1 -22
- package/es/components/fabric-chart/src/hooks/useShadow.js +1 -132
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -341
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -154
- package/es/components/fabric-chart/src/utils/index.js +1 -15624
- package/es/components/fabric-chart/src/utils/utils.js +1 -32
- package/es/components/field-set/index.js +1 -10
- package/es/components/field-set/src/FieldSet.vue.js +1 -470
- package/es/components/form-config/index.js +1 -10
- package/es/components/form-config/src/FormConfig.vue.js +1 -124
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -100
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -45
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -97
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -28
- package/es/components/form-config/src/components/index.js +1 -6
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -45
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -45
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -60
- package/es/components/form-config/src/components/renderer/index.js +1 -3
- package/es/components/form-config/src/constants/index.js +1 -61
- package/es/components/form-config/src/hooks/index.js +1 -3
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -90
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -35
- package/es/components/form-config/src/hooks/usePresetRenderer.js +1 -36
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -42
- package/es/components/form-config/src/utils/index.js +1 -26
- package/es/components/form-render/index.js +1 -30
- package/es/components/form-render/src/FormRender.vue.js +1 -239
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -49
- package/es/components/form-render/src/components/renderer/combination.js +1 -114
- package/es/components/form-render/src/components/renderer/complex.js +1 -37
- package/es/components/form-render/src/components/renderer/date.js +1 -171
- package/es/components/form-render/src/components/renderer/formItem.js +1 -128
- package/es/components/form-render/src/components/renderer/index.js +1 -43
- package/es/components/form-render/src/components/renderer/input.js +1 -50
- package/es/components/form-render/src/components/renderer/inputGroup.js +1 -11
- package/es/components/form-render/src/components/renderer/inputNumber.js +1 -55
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +1 -35
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -175
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -274
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -71
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -11
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -111
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -139
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -244
- package/es/components/form-render/src/components/renderer/select.js +1 -176
- package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -57
- package/es/components/form-render/src/components/renderer/slider.js +1 -38
- package/es/components/form-render/src/components/renderer/switch.js +1 -48
- package/es/components/form-render/src/components/renderer/textarea.js +1 -36
- package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -37
- package/es/components/form-render/src/constants/index.js +1 -59
- package/es/components/form-render/src/hooks/index.js +1 -15
- package/es/components/form-render/src/hooks/useAnchor.js +1 -99
- package/es/components/form-render/src/hooks/useAsyncQueue.js +1 -153
- package/es/components/form-render/src/hooks/useAutoHidden.js +1 -43
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -119
- package/es/components/form-render/src/hooks/useChangeContext.js +1 -20
- package/es/components/form-render/src/hooks/useCommonInjection.js +1 -43
- package/es/components/form-render/src/hooks/useCommonLog.js +1 -12
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -225
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -290
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -65
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -46
- package/es/components/form-render/src/hooks/useFormContext.js +1 -70
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -140
- package/es/components/form-render/src/hooks/useFormField.js +1 -13
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -31
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.js +1 -10
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -278
- package/es/components/form-render/src/hooks/useFormRequest.js +1 -42
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -83
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -85
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -18
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -22
- package/es/components/form-render/src/types/fieldItem.js +1 -1
- package/es/components/form-render/src/types/index.js +1 -1
- package/es/components/form-render/src/utils/business.js +1 -114
- package/es/components/form-render/src/utils/dom.js +1 -38
- package/es/components/form-render/src/utils/index.js +1 -241
- package/es/components/form-render/src/utils/schema.js +1 -105
- package/es/components/grid/index.js +1 -11
- package/es/components/grid/src/Grid.js +1 -28
- package/es/components/grid/src/hooks.js +1 -168
- package/es/components/iho-table/index.js +1 -36
- package/es/components/iho-table/src/IhoTable.vue.js +1 -157
- package/es/components/iho-table/src/constants/index.js +1 -157
- package/es/components/iho-table/src/hooks/export.js +1 -2
- package/es/components/iho-table/src/hooks/index.js +1 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -159
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -67
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -26
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +1 -27
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -280
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +1 -26
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +1 -38
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -27
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -164
- package/es/components/iho-table/src/hooks/useTableContext.js +1 -17
- package/es/components/iho-table/src/hooks/useTablePlugin.js +1 -20
- package/es/components/iho-table/src/plugins/anchorPlugin/index.js +1 -19
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.js +1 -51
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +1 -87
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -48
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +1 -230
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -240
- package/es/components/iho-table/src/plugins/index.js +1 -47
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -30
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -127
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -203
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -41
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -21
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -41
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -79
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -64
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -46
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -16
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -108
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -163
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +1 -42
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +1 -50
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -30
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -48
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -62
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -52
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -92
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -59
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.js +1 -34
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.js +1 -30
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +1 -53
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -100
- package/es/components/iho-table/src/types/index.js +1 -1
- package/es/components/iho-table/src/types/pluginType.js +1 -16
- package/es/components/iho-table/src/utils/index.js +1 -169
- package/es/components/index.js +1 -119
- package/es/components/info-header/index.js +1 -10
- package/es/components/info-header/src/HiddenContent.vue.js +1 -70
- package/es/components/info-header/src/InfoEllipsis.vue.js +1 -43
- package/es/components/info-header/src/InfoHeader.vue.js +1 -313
- package/es/components/insurance-sdk/index.js +1 -1
- package/es/components/insurance-sdk/src/constants/index.js +1 -160
- package/es/components/insurance-sdk/src/utils/index.js +1 -1
- package/es/components/insurance-sdk/src/utils/insurance.js +1 -268
- package/es/components/keyboard/index.js +1 -10
- package/es/components/keyboard/src/Keyboard.vue.js +1 -164
- package/es/components/keyboard/src/components/InputNumber.vue.js +1 -86
- package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -299
- package/es/components/keyboard/src/utils/index.js +1 -5
- package/es/components/map/index.js +1 -10
- package/es/components/map/src/Map.vue.js +1 -336
- package/es/components/recommend-search/index.js +1 -10
- package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -63
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +1 -157
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -125
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -104
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -146
- package/es/components/recommend-search/src/constant/index.js +1 -7
- package/es/components/scale-view/index.js +1 -35
- package/es/components/scale-view/src/ScaleView.vue.js +1 -429
- package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -80
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -117
- package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -141
- package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -19
- package/es/components/scale-view/src/components/NoData.vue.js +1 -74
- package/es/components/scale-view/src/components/ScaleScore.js +1 -63
- package/es/components/scale-view/src/components/composables/choose-common.js +1 -83
- package/es/components/scale-view/src/components/formitem/address.js +1 -3993
- package/es/components/scale-view/src/components/formitem/r-address.js +1 -226
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -133
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -281
- package/es/components/scale-view/src/components/formitem/r-collection.js +1 -111
- package/es/components/scale-view/src/components/formitem/r-datetime.js +1 -212
- package/es/components/scale-view/src/components/formitem/r-input.js +1 -86
- package/es/components/scale-view/src/components/formitem/r-map.js +1 -106
- package/es/components/scale-view/src/components/formitem/r-radio.js +1 -240
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -202
- package/es/components/scale-view/src/components/formitem/r-sign.js +1 -177
- package/es/components/scale-view/src/components/formitem/r-upload.js +1 -215
- package/es/components/scale-view/src/components/formitem/sign-com.js +1 -307
- package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -129
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -354
- package/es/components/scale-view/src/hooks/scaleview-init.js +1 -437
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -81
- package/es/components/scale-view/src/hooks/scaleview-state.js +1 -38
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -154
- package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -187
- package/es/components/scale-view/src/hooks/use-component.js +1 -86
- package/es/components/scale-view/src/hooks/use-evaluate.js +1 -150
- package/es/components/scale-view/src/hooks/use-event.js +1 -129
- package/es/components/scale-view/src/hooks/use-noData.js +1 -41
- package/es/components/scale-view/src/utils/judge-types.js +1 -36
- package/es/components/search-cascader/index.js +1 -10
- package/es/components/search-cascader/src/SearchCascader.vue.js +1 -194
- package/es/components/search-cascader/src/components/SearchMenu.js +1 -196
- package/es/components/search-cascader/src/components/index.js +1 -1
- package/es/components/search-cascader/src/constants/index.js +1 -11
- package/es/components/search-cascader/src/hooks/index.js +1 -1
- package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -7
- package/es/components/search-cascader/src/utils/index.js +1 -11
- package/es/components/select-label/index.js +1 -15
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -447
- package/es/components/select-label/src/SelectLabel.vue.js +1 -6
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -451
- package/es/components/select-label/src/components/label-classify.vue.js +1 -132
- package/es/components/select-person/index.js +1 -10
- package/es/components/select-person/src/SelectPerson.vue.js +1 -6
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -303
- package/es/components/select-person/src/utils/index.js +1 -58
- package/es/components/shortcut-provider/index.js +1 -12
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -42
- package/es/components/shortcut-provider/src/constants/index.js +1 -8
- package/es/components/shortcut-provider/src/hooks/index.js +1 -2
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.js +1 -12
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -188
- package/es/components/shortcut-provider/src/utils/index.js +1 -92
- package/es/components/shortcut-setter/index.js +1 -10
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -98
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -76
- package/es/components/steps-wheel/index.js +1 -10
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -376
- package/es/components/table-filter/index.js +1 -21
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -2272
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1315
- package/es/components/table-filter/src/classification/search-class-name.vue.js +1 -195
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +1 -594
- package/es/components/table-filter/src/components/age-com/index.vue.js +1 -185
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +1 -86
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +1 -30
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +1 -253
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -114
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +1 -14
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +1 -87
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -147
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -304
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +1 -153
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +1 -310
- package/es/components/table-filter/src/components/range-age/index.vue.js +1 -137
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -64
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -45
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -2
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -27
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -70
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -107
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -152
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1 -1520
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +1 -171
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +1 -199
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +1 -241
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +1 -526
- package/es/components/table-filter/src/const/dataOptions.js +1 -107
- package/es/components/table-filter/src/const/index.js +1 -5
- package/es/components/table-filter/src/directive/flexibleResize.js +1 -157
- package/es/components/table-filter/src/directive/preventReClick.js +1 -14
- package/es/components/table-filter/src/directive/resize.js +1 -12
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -64
- package/es/components/table-filter/src/hooks/useMixins.js +1 -532
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -94
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +1 -131
- package/es/components/table-filter/src/hooks/useWordBookutils.js +1 -91
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -2038
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -65
- package/es/components/table-filter/src/tool/getWidgetType.js +1 -27
- package/es/components/table-filter/src/tool/options.js +1 -200
- package/es/components/table-filter/src/tool/resizeSensor.js +1 -123
- package/es/components/table-filter/src/tool/time-domain.js +1 -100
- package/es/components/table-filter/src/tool/transformData.js +1 -169
- package/es/components/table-filter/src/tool/utils.js +1 -29
- package/es/components/table-filter/src/types/enums.js +1 -67
- package/es/components/table-filter/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -10
- package/es/components/time-line/src/TimeLine.vue.js +1 -70
- package/es/components/vod-chunk-upload/index.js +1 -14
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -480
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +1 -70
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +1 -96
- package/es/components/vod-chunk-upload/src/hooks/vod-computed.js +1 -79
- package/es/components/vod-chunk-upload/src/hooks/vod-data.js +1 -28
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +1 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -332
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -94
- package/es/shared/assets/img/failure.png.js +1 -3
- package/es/shared/assets/img/no-permission.png.js +1 -3
- package/es/shared/assets/img/nodata.png.js +1 -3
- package/es/shared/assets/img/notfound.png.js +1 -3
- package/es/shared/assets/img/qr.png.js +1 -3
- package/es/shared/assets/img/success.png.js +1 -3
- package/es/shared/assets/img/video.png.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +1 -3
- package/es/shared/assets/img/xb_big.png.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +1 -3
- package/es/shared/components/SelectPage/SelectPage.vue.js +1 -61
- package/es/shared/components/SelectPage/index.js +1 -2
- package/es/shared/components/SlotRender/SlotRender.js +1 -35
- package/es/shared/components/SlotRender/index.js +1 -2
- package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -36
- package/es/shared/components/SvgIcon/index.js +1 -2
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -77
- package/es/shared/components/TextOverTooltip/index.js +1 -2
- package/es/shared/components/VueDraggable/index.js +1 -2
- package/es/shared/components/VueDraggable/src/core/componentBuilderHelper.js +1 -35
- package/es/shared/components/VueDraggable/src/core/componentStructure.js +1 -54
- package/es/shared/components/VueDraggable/src/core/renderHelper.js +1 -47
- package/es/shared/components/VueDraggable/src/core/sortableEvents.js +1 -14
- package/es/shared/components/VueDraggable/src/util/console.js +1 -9
- package/es/shared/components/VueDraggable/src/util/htmlHelper.js +1 -11
- package/es/shared/components/VueDraggable/src/util/string.js +1 -11
- package/es/shared/components/VueDraggable/src/util/tags.js +1 -130
- package/es/shared/components/VueDraggable/src/vuedraggable.js +1 -265
- package/es/shared/components/no-data/NoData.vue.js +1 -74
- package/es/shared/components/no-data/index.js +1 -2
- package/es/shared/components/player-vod/player.js +1 -121
- package/es/shared/components/player-vod/video-modal.js +1 -91
- package/es/shared/global/variable.js +1 -3
- package/es/shared/utils/anime.js +1 -129
- package/es/shared/utils/colorLog.js +1 -53
- package/es/shared/utils/index.js +1 -167
- package/es/shared/utils/loadViewer.js +1 -11
- package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -63
- package/es/shared/utils/tapable/AsyncParallelHook.js +1 -27
- package/es/shared/utils/tapable/AsyncSeriesBailHook.js +1 -18
- package/es/shared/utils/tapable/AsyncSeriesHook.js +1 -27
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.js +1 -12
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +1 -22
- package/es/shared/utils/tapable/Hook.js +1 -140
- package/es/shared/utils/tapable/HookCodeFactory.js +1 -456
- package/es/shared/utils/tapable/SyncBailHook.js +1 -19
- package/es/shared/utils/tapable/SyncHook.js +1 -34
- package/es/shared/utils/tapable/SyncLoopHook.js +1 -13
- package/es/shared/utils/tapable/SyncWaterfallHook.js +1 -47
- package/es/shared/utils/utilExpand.js +1 -781
- package/es/shared/utils/vexutils.js +1 -59
- package/package.json +2 -2
|
@@ -1,437 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import useNoData from './use-noData.js';
|
|
3
|
-
import XEUtils from 'xe-utils';
|
|
4
|
-
import 'moment';
|
|
5
|
-
import { componentMap } from './use-component.js';
|
|
6
|
-
import { useEvent } from './use-event.js';
|
|
7
|
-
import { ScaleViewComputed } from './scaleview-computed.js';
|
|
8
|
-
import { ScaleViewValidate } from './scaleview-validate.js';
|
|
9
|
-
import { useDialog } from 'naive-ui';
|
|
10
|
-
|
|
11
|
-
const ScaleViewInit = (props, state, emit, config) => {
|
|
12
|
-
const dialog = useDialog();
|
|
13
|
-
const { setNoData } = useNoData();
|
|
14
|
-
const { hasEvaluateResultSetting, hasparamsEvaluate, hasDefault, formKey } = ScaleViewComputed(props, state, config);
|
|
15
|
-
const { formatRules } = ScaleViewValidate(props, state, config);
|
|
16
|
-
const { nextLogicEvent } = useEvent(props, state);
|
|
17
|
-
const setEvaluateStartTime = (evaluateResultSetting) => {
|
|
18
|
-
const evaluateStartTime = evaluateResultSetting == null ? void 0 : evaluateResultSetting.evaluateStartTime;
|
|
19
|
-
if (!evaluateStartTime)
|
|
20
|
-
return;
|
|
21
|
-
if (!XEUtils.isValidDate(new Date(evaluateStartTime)) && XEUtils.isValidDate(new Date(Number(evaluateStartTime)))) {
|
|
22
|
-
evaluateResultSetting.evaluateStartTime = Number(evaluateStartTime);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const setDefaultEvaluate = (evaluateResultSetting) => {
|
|
26
|
-
let query = handleQueryParams();
|
|
27
|
-
if (hasparamsEvaluate.value) {
|
|
28
|
-
query = state.paramsEvaluate;
|
|
29
|
-
}
|
|
30
|
-
if (query.evaname) {
|
|
31
|
-
evaluateResultSetting.evaluateName = query.evaname;
|
|
32
|
-
}
|
|
33
|
-
if (query.evadesc) {
|
|
34
|
-
evaluateResultSetting.evaluateExplain = query.evadesc;
|
|
35
|
-
}
|
|
36
|
-
if (query.evast) {
|
|
37
|
-
evaluateResultSetting.evaluateStartTime = query.evast;
|
|
38
|
-
}
|
|
39
|
-
if (query.evadur) {
|
|
40
|
-
evaluateResultSetting.evaluateTime = query.evadur;
|
|
41
|
-
}
|
|
42
|
-
if (query.evaan) {
|
|
43
|
-
query.evaan === "true" || query.evaan == 1 ? true : false;
|
|
44
|
-
evaluateResultSetting.evaluateAnswer = query.evaan;
|
|
45
|
-
}
|
|
46
|
-
setEvaluateStartTime(evaluateResultSetting);
|
|
47
|
-
};
|
|
48
|
-
const handleShowEvaluate = () => {
|
|
49
|
-
var _a;
|
|
50
|
-
if (!hasEvaluateResultSetting.value) {
|
|
51
|
-
if (!hasDefault.value)
|
|
52
|
-
return false;
|
|
53
|
-
if (!("evaluateResultSetting" in state.config)) {
|
|
54
|
-
state.config.evaluateResultSetting = {};
|
|
55
|
-
}
|
|
56
|
-
setDefaultEvaluate(state.config.evaluateResultSetting);
|
|
57
|
-
state.showEvaluatePage = true;
|
|
58
|
-
state.showEvaluateCountdownWrap = true;
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const { evaluateResultSetting = {} } = state.config;
|
|
62
|
-
if (!evaluateResultSetting || !Object.keys(evaluateResultSetting).length)
|
|
63
|
-
return;
|
|
64
|
-
state.showEvaluateCountdownWrap = true;
|
|
65
|
-
const { evaluateStartTime } = evaluateResultSetting;
|
|
66
|
-
const { evaluateName } = ((_a = state.originConfig) == null ? void 0 : _a.evaluateResultSetting) || {};
|
|
67
|
-
if (!evaluateStartTime) {
|
|
68
|
-
state.showEvaluatePage = true;
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (!XEUtils.isValidDate(new Date(evaluateStartTime))) {
|
|
72
|
-
if (!evaluateName)
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
state.showEvaluatePage = true;
|
|
76
|
-
};
|
|
77
|
-
const initForm = (data) => {
|
|
78
|
-
var _a;
|
|
79
|
-
let { list = [], map = {}, isFinished = false } = data;
|
|
80
|
-
const curUrl = handleFrontAddress(list);
|
|
81
|
-
if (curUrl) {
|
|
82
|
-
window.location.href = curUrl;
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
map.maxScore && (state.maxScore = map.maxScore);
|
|
86
|
-
state.isFinished = isFinished;
|
|
87
|
-
if (data.isNotFilled) {
|
|
88
|
-
state.spinning = false;
|
|
89
|
-
state.hasFrontAddress = false;
|
|
90
|
-
setNoData(true, "\u672A\u67E5\u8BE2\u5230\u91CF\u8868\u586B\u5199\u8BB0\u5F55");
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
if (data.isLackCustomer) {
|
|
94
|
-
dialog.info({
|
|
95
|
-
title: "\u5DF2\u8BBE\u7F6E\u586B\u5199\u6B21\u6570\u9650\u5236",
|
|
96
|
-
content: "\u8BF7\u5728\u5305\u542B\u7528\u6237\u4FE1\u606F\u7684\u73AF\u5883\u4E2D\u6253\u5F00\u6B64\u91CF\u8868",
|
|
97
|
-
maskClosable: false,
|
|
98
|
-
onPositiveClick() {
|
|
99
|
-
emit("onCloseSetting");
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
state.config = map;
|
|
104
|
-
if ("evaluateResultConfig" in map && XEUtils.isJSON(map.evaluateResultConfig)) {
|
|
105
|
-
state.config.evaluateResultConfig = JSON.parse(map.evaluateResultConfig);
|
|
106
|
-
}
|
|
107
|
-
if ("evaluateResultSetting" in map && XEUtils.isJSON(map.evaluateResultSetting)) {
|
|
108
|
-
state.config.evaluateResultSetting = JSON.parse(map.evaluateResultSetting);
|
|
109
|
-
if (((_a = state.config) == null ? void 0 : _a.randomId) && state.config.evaluateResultSetting) {
|
|
110
|
-
state.config.evaluateResultSetting.evaluateName = state.config.name;
|
|
111
|
-
state.config.evaluateResultSetting.evaluateExplain = state.config.remark;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
state.originConfig = JSON.parse(JSON.stringify(state.config));
|
|
115
|
-
if (props.params && Object.keys(props.params).length) {
|
|
116
|
-
const res = handleBtnParamsEvaluate(props.params);
|
|
117
|
-
res && Object.keys(res).length && (state.paramsEvaluate = res);
|
|
118
|
-
}
|
|
119
|
-
handleEvaluateParams(state.config.evaluateResultSetting);
|
|
120
|
-
handleShowEvaluate();
|
|
121
|
-
state.defaultFormArray = JSON.parse(JSON.stringify(list));
|
|
122
|
-
const filterArr = state.filterArr;
|
|
123
|
-
list = list.filter((v) => !filterArr.includes(v.type));
|
|
124
|
-
state.formArray = formatArray(list || []);
|
|
125
|
-
state.form = defaultFormValue(state.formArray);
|
|
126
|
-
state.rules = formatRules(state.formArray);
|
|
127
|
-
state.fontSize = data.fontSize;
|
|
128
|
-
state.spinning = false;
|
|
129
|
-
state.hasFrontAddress = false;
|
|
130
|
-
};
|
|
131
|
-
const replaceConditionItem = (options, value) => {
|
|
132
|
-
const matchOption = options.find((v) => value === v.value);
|
|
133
|
-
if (!matchOption)
|
|
134
|
-
return value;
|
|
135
|
-
return matchOption.key;
|
|
136
|
-
};
|
|
137
|
-
const isRadioOrCheckBox = (options, type) => {
|
|
138
|
-
const typeArr = ["RADIO_BLOCK", "CHECKBOX_BLOCK"];
|
|
139
|
-
if (!typeArr.includes(type))
|
|
140
|
-
return;
|
|
141
|
-
if (!options)
|
|
142
|
-
return;
|
|
143
|
-
if (options && XEUtils.isJSON(options)) {
|
|
144
|
-
options = JSON.parse(options);
|
|
145
|
-
}
|
|
146
|
-
if (!options.length)
|
|
147
|
-
return;
|
|
148
|
-
return true;
|
|
149
|
-
};
|
|
150
|
-
const handLenextLogic = (item) => {
|
|
151
|
-
const { nextLogic, options, type } = item || {};
|
|
152
|
-
if (!nextLogic || !isRadioOrCheckBox(options, type))
|
|
153
|
-
return;
|
|
154
|
-
const { condition } = nextLogic || {};
|
|
155
|
-
if (!condition || !condition.length)
|
|
156
|
-
return;
|
|
157
|
-
condition.forEach((c) => {
|
|
158
|
-
let value = c.value;
|
|
159
|
-
if (Array.isArray(value)) {
|
|
160
|
-
value = value.map((v) => {
|
|
161
|
-
return replaceConditionItem(options, v);
|
|
162
|
-
});
|
|
163
|
-
c.value = value;
|
|
164
|
-
} else {
|
|
165
|
-
c.value = replaceConditionItem(options, value);
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
const handleRelationLogic = (list, item) => {
|
|
170
|
-
const relationLogicObj = XEUtils.isString(item.relationLogic) ? JSON.parse(item.relationLogic) : item.relationLogic;
|
|
171
|
-
const { condition } = relationLogicObj || {};
|
|
172
|
-
if (!condition || !condition.length)
|
|
173
|
-
return;
|
|
174
|
-
condition.forEach((c) => {
|
|
175
|
-
const matchItem = list.find((f) => f.seq == c.subject_seq);
|
|
176
|
-
if (!matchItem)
|
|
177
|
-
return;
|
|
178
|
-
if (!isRadioOrCheckBox(matchItem.options, matchItem.type))
|
|
179
|
-
return;
|
|
180
|
-
let value = c.value;
|
|
181
|
-
if (Array.isArray(value)) {
|
|
182
|
-
value = value.map((v) => {
|
|
183
|
-
return replaceConditionItem(matchItem.options, v);
|
|
184
|
-
});
|
|
185
|
-
c.value = value;
|
|
186
|
-
} else {
|
|
187
|
-
c.value = replaceConditionItem(matchItem.options, value);
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
item.relationLogic = relationLogicObj;
|
|
191
|
-
};
|
|
192
|
-
const handleFrontAddress = (list) => {
|
|
193
|
-
var _a, _b;
|
|
194
|
-
if (!list || !list.length)
|
|
195
|
-
return;
|
|
196
|
-
const query = handleQueryParams();
|
|
197
|
-
if ((props == null ? void 0 : props.noBtn) || (query == null ? void 0 : query.noBtn))
|
|
198
|
-
return;
|
|
199
|
-
const matchItem = list.find((item) => item.type === "FRONT_ADDRESS");
|
|
200
|
-
if (!matchItem || !Object.keys(matchItem).length)
|
|
201
|
-
return;
|
|
202
|
-
let setting;
|
|
203
|
-
if (matchItem.setting && XEUtils.isJSON(matchItem.setting)) {
|
|
204
|
-
setting = JSON.parse(matchItem.setting);
|
|
205
|
-
}
|
|
206
|
-
if (!setting || !Object.keys(setting).length)
|
|
207
|
-
return;
|
|
208
|
-
if ((query == null ? void 0 : query.redirect) == 1 || ((_a = props.params) == null ? void 0 : _a.redirect) == 1 || query.isEdit == 3 || ((_b = props.params) == null ? void 0 : _b.isEdit) == 3)
|
|
209
|
-
return;
|
|
210
|
-
const { frontAddress } = setting;
|
|
211
|
-
if (frontAddress) {
|
|
212
|
-
const urlHref = window.location.href;
|
|
213
|
-
let preStr = "?";
|
|
214
|
-
if (frontAddress.includes("?")) {
|
|
215
|
-
preStr = "&";
|
|
216
|
-
}
|
|
217
|
-
const curUrl = `${frontAddress}${preStr}redirect_url=${encodeURIComponent(urlHref)}`;
|
|
218
|
-
return curUrl;
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
const handleBtnParamsEvaluate = (params) => {
|
|
222
|
-
const defaultVariable = ["evaname", "evadesc", "evast", "evadur", "evaan"];
|
|
223
|
-
const res = {};
|
|
224
|
-
for (const key in params) {
|
|
225
|
-
const value = params[key];
|
|
226
|
-
if (defaultVariable.includes(key) && value) {
|
|
227
|
-
res[key] = value;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
return res;
|
|
231
|
-
};
|
|
232
|
-
const handleEvaluateParams = (evaluateResultSetting) => {
|
|
233
|
-
if (!evaluateResultSetting || !Object.keys(evaluateResultSetting).length)
|
|
234
|
-
return;
|
|
235
|
-
let query = handleQueryParams() || {};
|
|
236
|
-
if (hasparamsEvaluate.value) {
|
|
237
|
-
query = state.paramsEvaluate;
|
|
238
|
-
}
|
|
239
|
-
const obj = {
|
|
240
|
-
evaluateName: "evaname",
|
|
241
|
-
evaluateExplain: "evadesc",
|
|
242
|
-
evaluateStartTime: "evast",
|
|
243
|
-
evaluateTime: "evadur",
|
|
244
|
-
evaluateAnswer: "evaan"
|
|
245
|
-
};
|
|
246
|
-
for (const key in evaluateResultSetting) {
|
|
247
|
-
const value = evaluateResultSetting[key];
|
|
248
|
-
const isParseKey = value && key != "evaluateAnswer" && typeof value === "string" && value.includes("${");
|
|
249
|
-
if (isParseKey) {
|
|
250
|
-
const parseValue = value.replace(/\$\{([^}]+)\}/g, (_v, $1) => {
|
|
251
|
-
let param;
|
|
252
|
-
if ($1.startsWith("form.")) {
|
|
253
|
-
param = query[$1.split(".")[1]];
|
|
254
|
-
}
|
|
255
|
-
return param || "";
|
|
256
|
-
});
|
|
257
|
-
evaluateResultSetting[key] = parseValue;
|
|
258
|
-
} else {
|
|
259
|
-
let val = query[obj[key]];
|
|
260
|
-
if (key == "evaluateAnswer") {
|
|
261
|
-
val = val === "true" || val == 1 ? true : false;
|
|
262
|
-
}
|
|
263
|
-
query[obj[key]] && (evaluateResultSetting[key] = val);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
if (hasDefault.value) {
|
|
267
|
-
const defaultVariable = ["evaname", "evadesc", "evast", "evadur", "evaan"];
|
|
268
|
-
const defObj = {
|
|
269
|
-
evaname: "evaluateName",
|
|
270
|
-
evadesc: "evaluateExplain",
|
|
271
|
-
evast: "evaluateStartTime",
|
|
272
|
-
evadur: "evaluateTime",
|
|
273
|
-
evaan: "evaluateAnswer"
|
|
274
|
-
};
|
|
275
|
-
defaultVariable.forEach((item) => {
|
|
276
|
-
const key = defObj[item];
|
|
277
|
-
if (!evaluateResultSetting[key]) {
|
|
278
|
-
let val = query[item];
|
|
279
|
-
if (item == "evaan") {
|
|
280
|
-
val = val === "true" || val == 1 ? true : false;
|
|
281
|
-
}
|
|
282
|
-
query[item] && (evaluateResultSetting[key] = val);
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
setEvaluateStartTime(evaluateResultSetting);
|
|
287
|
-
};
|
|
288
|
-
const isChoice = (type) => {
|
|
289
|
-
return type == "SELECT" || type == "RADIO_BLOCK" || type == "CHECKBOX_BLOCK" || type == "SEARCH_CASCADE" || type == "EVALUATE_RADIO_BLOCK" || type == "EVALUATE_CHECKBOX_BLOCK" || type == "EVALUATE_SELECT";
|
|
290
|
-
};
|
|
291
|
-
const handleFormatOptions = (options, type) => {
|
|
292
|
-
if (!isRadioOrCheckBox(options, type))
|
|
293
|
-
return;
|
|
294
|
-
options.forEach((item, i) => {
|
|
295
|
-
if (item.key !== "other") {
|
|
296
|
-
item.key = i + 1;
|
|
297
|
-
}
|
|
298
|
-
if (item.prefix || item.suffix) {
|
|
299
|
-
item.value = item.prefix || item.suffix;
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
};
|
|
303
|
-
const formatArray = (list) => {
|
|
304
|
-
let i = 1;
|
|
305
|
-
const results = list.map((item) => {
|
|
306
|
-
const key = formKey(item);
|
|
307
|
-
(key || "").replace(/\n/g, "");
|
|
308
|
-
item.showTitle = item.title;
|
|
309
|
-
item.val_key = key;
|
|
310
|
-
item.renderCom = componentMap[item.type];
|
|
311
|
-
item.isShow = true;
|
|
312
|
-
Object.keys(item).forEach((key2) => {
|
|
313
|
-
if (XEUtils.isJSON(item[key2])) {
|
|
314
|
-
if (item.type != "LOCATION") {
|
|
315
|
-
item[key2] = JSON.parse(item[key2]);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
const notIndexArr = ["LINEBAR", "TITLE", "PROMPT", "IMGCARD", "RICH_TEXT"];
|
|
320
|
-
if (notIndexArr.indexOf(item.type) < 0 && !item.hide) {
|
|
321
|
-
item.softcode = i++;
|
|
322
|
-
}
|
|
323
|
-
if (isChoice(item.type)) {
|
|
324
|
-
handleFormatOptions(item.options, item.type);
|
|
325
|
-
if (item.type != "SEARCH_CASCADE") {
|
|
326
|
-
if (item.dbValue) {
|
|
327
|
-
nextLogicEvent(item.dbValue, item, list);
|
|
328
|
-
} else {
|
|
329
|
-
if (item.setting.defaultValue) {
|
|
330
|
-
nextLogicEvent(item.setting.defaultValue, item, list);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
return item;
|
|
336
|
-
});
|
|
337
|
-
return results.map((item) => {
|
|
338
|
-
handleRelationLogic(list, item);
|
|
339
|
-
handLenextLogic(item);
|
|
340
|
-
if (item.type === "CHECKBOX_BLOCK" && item.dbValue && !Array.isArray(item.dbValue) && props.type === "customList") {
|
|
341
|
-
item.dbValue = item.dbValue.split(",").filter((ii) => !!ii);
|
|
342
|
-
}
|
|
343
|
-
return item;
|
|
344
|
-
});
|
|
345
|
-
};
|
|
346
|
-
const defaultFormValue = (formArray) => {
|
|
347
|
-
const formData = {};
|
|
348
|
-
let val;
|
|
349
|
-
formArray.forEach((item) => {
|
|
350
|
-
var _a, _b, _c, _d;
|
|
351
|
-
const key = item.val_key;
|
|
352
|
-
const { type } = item;
|
|
353
|
-
let defValue;
|
|
354
|
-
if (item.dbValue) {
|
|
355
|
-
defValue = item.dbValue;
|
|
356
|
-
} else {
|
|
357
|
-
if (((_a = item.setting) == null ? void 0 : _a.defValType) == 3) {
|
|
358
|
-
const urlKey = (_c = (_b = item.setting) == null ? void 0 : _b.outDefaultValue) == null ? void 0 : _c.urlKey;
|
|
359
|
-
if (urlKey) {
|
|
360
|
-
const list = urlKey.split(",");
|
|
361
|
-
if (list.length > 1) {
|
|
362
|
-
const val2 = list.map((l) => {
|
|
363
|
-
const tempV = getQueryVariable(l, state, props.params);
|
|
364
|
-
if (tempV)
|
|
365
|
-
return decodeURIComponent(tempV);
|
|
366
|
-
return null;
|
|
367
|
-
}).filter(Boolean);
|
|
368
|
-
val2.length && (defValue = val2);
|
|
369
|
-
} else {
|
|
370
|
-
let val2 = getQueryVariable(list[0], state, props.params);
|
|
371
|
-
if (val2) {
|
|
372
|
-
val2 = decodeURIComponent(val2);
|
|
373
|
-
defValue = item.type == "CHECKBOX_BLOCK" ? val2.split() : val2;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
switch (type) {
|
|
380
|
-
case "LOCATION":
|
|
381
|
-
formData[key] = defValue || "";
|
|
382
|
-
break;
|
|
383
|
-
case "SEARCH_CASCADE":
|
|
384
|
-
formData[key] = defValue || [];
|
|
385
|
-
break;
|
|
386
|
-
case "ADDRESS":
|
|
387
|
-
formData[key] = defValue || "";
|
|
388
|
-
state.defaultAddress = defValue || {};
|
|
389
|
-
break;
|
|
390
|
-
case "LABEL":
|
|
391
|
-
formData[key] = defValue || {};
|
|
392
|
-
if (XEUtils.isObject(defValue)) {
|
|
393
|
-
state.labelSelectedList = (defValue == null ? void 0 : defValue.labels) || [];
|
|
394
|
-
} else if (Array.isArray(defValue)) {
|
|
395
|
-
state.labelSelectedList = defValue;
|
|
396
|
-
} else {
|
|
397
|
-
state.labelSelectedList = [];
|
|
398
|
-
}
|
|
399
|
-
break;
|
|
400
|
-
case "TITLE":
|
|
401
|
-
formData[key] = item.title;
|
|
402
|
-
break;
|
|
403
|
-
case "IMGCARD":
|
|
404
|
-
formData[key] = ((_d = item.setting) == null ? void 0 : _d.imgUrl) || "";
|
|
405
|
-
break;
|
|
406
|
-
case "UPFILE":
|
|
407
|
-
case "UPPICTURE":
|
|
408
|
-
formData[key] = defValue || [];
|
|
409
|
-
break;
|
|
410
|
-
case "CHECKBOX_BLOCK":
|
|
411
|
-
if (defValue && !Array.isArray(defValue) && props.type === "customList") {
|
|
412
|
-
formData[key] = defValue.split(",").filter((ii) => !!ii);
|
|
413
|
-
} else {
|
|
414
|
-
val = defValue || item.setting.defaultValue;
|
|
415
|
-
if (XEUtils.isJSON(val)) {
|
|
416
|
-
val = JSON.parse(val);
|
|
417
|
-
}
|
|
418
|
-
formData[key] = val;
|
|
419
|
-
}
|
|
420
|
-
break;
|
|
421
|
-
default:
|
|
422
|
-
val = defValue || item.setting.defaultValue;
|
|
423
|
-
if (XEUtils.isJSON(val)) {
|
|
424
|
-
val = JSON.parse(val);
|
|
425
|
-
}
|
|
426
|
-
formData[key] = val;
|
|
427
|
-
break;
|
|
428
|
-
}
|
|
429
|
-
});
|
|
430
|
-
return formData;
|
|
431
|
-
};
|
|
432
|
-
return {
|
|
433
|
-
initForm
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
|
|
437
|
-
export { ScaleViewInit };
|
|
1
|
+
import{handleQueryParams as e,getQueryVariable as t}from"../utils/judge-types.js";import a from"./use-noData.js";import n from"xe-utils";import"moment";import{componentMap as i}from"./use-component.js";import{useEvent as l}from"./use-event.js";import{ScaleViewComputed as s}from"./scaleview-computed.js";import{ScaleViewValidate as r}from"./scaleview-validate.js";import{useDialog as o}from"naive-ui";const u=(u,v,c,f)=>{const d=o(),{setNoData:m}=a(),{hasEvaluateResultSetting:p,hasparamsEvaluate:g,hasDefault:S,formKey:C}=s(u,v,f),{formatRules:E}=r(u,v,f),{nextLogicEvent:O}=l(u,v),A=e=>{const t=null==e?void 0:e.evaluateStartTime;t&&!n.isValidDate(new Date(t))&&n.isValidDate(new Date(Number(t)))&&(e.evaluateStartTime=Number(t))},y=()=>{var t;if(!p.value)return!!S.value&&("evaluateResultSetting"in v.config||(v.config.evaluateResultSetting={}),(t=>{let a=e();g.value&&(a=v.paramsEvaluate),a.evaname&&(t.evaluateName=a.evaname),a.evadesc&&(t.evaluateExplain=a.evadesc),a.evast&&(t.evaluateStartTime=a.evast),a.evadur&&(t.evaluateTime=a.evadur),a.evaan&&("true"===a.evaan||a.evaan,t.evaluateAnswer=a.evaan),A(t)})(v.config.evaluateResultSetting),v.showEvaluatePage=!0,void(v.showEvaluateCountdownWrap=!0));const{evaluateResultSetting:a={}}=v.config;if(!a||!Object.keys(a).length)return;v.showEvaluateCountdownWrap=!0;const{evaluateStartTime:i}=a,{evaluateName:l}=(null==(t=v.originConfig)?void 0:t.evaluateResultSetting)||{};if(i)return!(!n.isValidDate(new Date(i))&&!l)&&void(v.showEvaluatePage=!0);v.showEvaluatePage=!0},h=(e,t)=>{const a=e.find((e=>t===e.value));return a?a.key:t},R=(e,t)=>{if(["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(t)&&e&&(e&&n.isJSON(e)&&(e=JSON.parse(e)),e.length))return!0},L=t=>{var a,i;if(!t||!t.length)return;const l=e();if((null==u?void 0:u.noBtn)||(null==l?void 0:l.noBtn))return;const s=t.find((e=>"FRONT_ADDRESS"===e.type));if(!s||!Object.keys(s).length)return;let r;if(s.setting&&n.isJSON(s.setting)&&(r=JSON.parse(s.setting)),!r||!Object.keys(r).length)return;if(1==(null==l?void 0:l.redirect)||1==(null==(a=u.params)?void 0:a.redirect)||3==l.isEdit||3==(null==(i=u.params)?void 0:i.isEdit))return;const{frontAddress:o}=r;if(o){const e=window.location.href;let t="?";o.includes("?")&&(t="&");return`${o}${t}redirect_url=${encodeURIComponent(e)}`}},N=e=>{const t=["evaname","evadesc","evast","evadur","evaan"],a={};for(const n in e){const i=e[n];t.includes(n)&&i&&(a[n]=i)}return a},b=t=>{if(!t||!Object.keys(t).length)return;let a=e()||{};g.value&&(a=v.paramsEvaluate);const n={evaluateName:"evaname",evaluateExplain:"evadesc",evaluateStartTime:"evast",evaluateTime:"evadur",evaluateAnswer:"evaan"};for(const e in t){const i=t[e];if(i&&"evaluateAnswer"!=e&&"string"==typeof i&&i.includes("${")){const n=i.replace(/\$\{([^}]+)\}/g,((e,t)=>{let n;return t.startsWith("form.")&&(n=a[t.split(".")[1]]),n||""}));t[e]=n}else{let i=a[n[e]];"evaluateAnswer"==e&&(i="true"===i||1==i),a[n[e]]&&(t[e]=i)}}if(S.value){const e={evaname:"evaluateName",evadesc:"evaluateExplain",evast:"evaluateStartTime",evadur:"evaluateTime",evaan:"evaluateAnswer"};["evaname","evadesc","evast","evadur","evaan"].forEach((n=>{const i=e[n];if(!t[i]){let e=a[n];"evaan"==n&&(e="true"===e||1==e),a[n]&&(t[i]=e)}}))}A(t)},T=e=>{let t=1;return e.map((a=>{const l=C(a);(l||"").replace(/\n/g,""),a.showTitle=a.title,a.val_key=l,a.renderCom=i[a.type],a.isShow=!0,Object.keys(a).forEach((e=>{n.isJSON(a[e])&&"LOCATION"!=a.type&&(a[e]=JSON.parse(a[e]))}));var s;return["LINEBAR","TITLE","PROMPT","IMGCARD","RICH_TEXT"].indexOf(a.type)<0&&!a.hide&&(a.softcode=t++),("SELECT"==(s=a.type)||"RADIO_BLOCK"==s||"CHECKBOX_BLOCK"==s||"SEARCH_CASCADE"==s||"EVALUATE_RADIO_BLOCK"==s||"EVALUATE_CHECKBOX_BLOCK"==s||"EVALUATE_SELECT"==s)&&(((e,t)=>{R(e,t)&&e.forEach(((e,t)=>{"other"!==e.key&&(e.key=t+1),(e.prefix||e.suffix)&&(e.value=e.prefix||e.suffix)}))})(a.options,a.type),"SEARCH_CASCADE"!=a.type&&(a.dbValue?O(a.dbValue,a,e):a.setting.defaultValue&&O(a.setting.defaultValue,a,e))),a})).map((t=>(((e,t)=>{const a=n.isString(t.relationLogic)?JSON.parse(t.relationLogic):t.relationLogic,{condition:i}=a||{};i&&i.length&&(i.forEach((t=>{const a=e.find((e=>e.seq==t.subject_seq));if(!a)return;if(!R(a.options,a.type))return;let n=t.value;Array.isArray(n)?(n=n.map((e=>h(a.options,e))),t.value=n):t.value=h(a.options,n)})),t.relationLogic=a)})(e,t),(e=>{const{nextLogic:t,options:a,type:n}=e||{};if(!t||!R(a,n))return;const{condition:i}=t||{};i&&i.length&&i.forEach((e=>{let t=e.value;Array.isArray(t)?(t=t.map((e=>h(a,e))),e.value=t):e.value=h(a,t)}))})(t),"CHECKBOX_BLOCK"===t.type&&t.dbValue&&!Array.isArray(t.dbValue)&&"customList"===u.type&&(t.dbValue=t.dbValue.split(",").filter((e=>!!e))),t)))},w=e=>{const a={};let i;return e.forEach((e=>{var l,s,r,o;const c=e.val_key,{type:f}=e;let d;if(e.dbValue)d=e.dbValue;else if(3==(null==(l=e.setting)?void 0:l.defValType)){const a=null==(r=null==(s=e.setting)?void 0:s.outDefaultValue)?void 0:r.urlKey;if(a){const n=a.split(",");if(n.length>1){const e=n.map((e=>{const a=t(e,v,u.params);return a?decodeURIComponent(a):null})).filter(Boolean);e.length&&(d=e)}else{let a=t(n[0],v,u.params);a&&(a=decodeURIComponent(a),d="CHECKBOX_BLOCK"==e.type?a.split():a)}}}switch(f){case"LOCATION":a[c]=d||"";break;case"SEARCH_CASCADE":case"UPFILE":case"UPPICTURE":a[c]=d||[];break;case"ADDRESS":a[c]=d||"",v.defaultAddress=d||{};break;case"LABEL":a[c]=d||{},n.isObject(d)?v.labelSelectedList=(null==d?void 0:d.labels)||[]:Array.isArray(d)?v.labelSelectedList=d:v.labelSelectedList=[];break;case"TITLE":a[c]=e.title;break;case"IMGCARD":a[c]=(null==(o=e.setting)?void 0:o.imgUrl)||"";break;case"CHECKBOX_BLOCK":d&&!Array.isArray(d)&&"customList"===u.type?a[c]=d.split(",").filter((e=>!!e)):(i=d||e.setting.defaultValue,n.isJSON(i)&&(i=JSON.parse(i)),a[c]=i);break;default:i=d||e.setting.defaultValue,n.isJSON(i)&&(i=JSON.parse(i)),a[c]=i}})),a};return{initForm:e=>{var t;let{list:a=[],map:i={},isFinished:l=!1}=e;const s=L(a);if(s)return void(window.location.href=s);if(i.maxScore&&(v.maxScore=i.maxScore),v.isFinished=l,e.isNotFilled)return v.spinning=!1,v.hasFrontAddress=!1,void m(!0,"未查询到量表填写记录");if(e.isLackCustomer&&d.info({title:"已设置填写次数限制",content:"请在包含用户信息的环境中打开此量表",maskClosable:!1,onPositiveClick(){c("onCloseSetting")}}),v.config=i,"evaluateResultConfig"in i&&n.isJSON(i.evaluateResultConfig)&&(v.config.evaluateResultConfig=JSON.parse(i.evaluateResultConfig)),"evaluateResultSetting"in i&&n.isJSON(i.evaluateResultSetting)&&(v.config.evaluateResultSetting=JSON.parse(i.evaluateResultSetting),(null==(t=v.config)?void 0:t.randomId)&&v.config.evaluateResultSetting&&(v.config.evaluateResultSetting.evaluateName=v.config.name,v.config.evaluateResultSetting.evaluateExplain=v.config.remark)),v.originConfig=JSON.parse(JSON.stringify(v.config)),u.params&&Object.keys(u.params).length){const e=N(u.params);e&&Object.keys(e).length&&(v.paramsEvaluate=e)}b(v.config.evaluateResultSetting),y(),v.defaultFormArray=JSON.parse(JSON.stringify(a));const r=v.filterArr;a=a.filter((e=>!r.includes(e.type))),v.formArray=T(a||[]),v.form=w(v.formArray),v.rules=E(v.formArray),v.fontSize=e.fontSize,v.spinning=!1,v.hasFrontAddress=!1}}};export{u as ScaleViewInit};
|
|
@@ -1,81 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
ids: {
|
|
3
|
-
type: Object,
|
|
4
|
-
default: () => {
|
|
5
|
-
return { guage_id: "", db_id: void 0 };
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
params: { default: () => ({}), type: Object },
|
|
9
|
-
guageData: { type: Object, default: () => ({}) },
|
|
10
|
-
noBtn: { type: [Boolean, String, Number], default: false },
|
|
11
|
-
hideBtn: { type: [Boolean, String, Number], default: false },
|
|
12
|
-
source: { type: String, default: "" },
|
|
13
|
-
isLock: { type: [Boolean, String, Number], default: false },
|
|
14
|
-
type: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: ""
|
|
17
|
-
},
|
|
18
|
-
styleSetting: {
|
|
19
|
-
type: Object,
|
|
20
|
-
default: () => ({})
|
|
21
|
-
},
|
|
22
|
-
fontSizeObj: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => ({
|
|
25
|
-
large: 1.25,
|
|
26
|
-
medium: 1.1,
|
|
27
|
-
small: 1,
|
|
28
|
-
extrasmall: 0.9
|
|
29
|
-
})
|
|
30
|
-
},
|
|
31
|
-
openType: { type: String, default: "" },
|
|
32
|
-
scaleApiConfig: {
|
|
33
|
-
type: Object,
|
|
34
|
-
default: () => ({})
|
|
35
|
-
},
|
|
36
|
-
getSelectOptions: {
|
|
37
|
-
type: Function,
|
|
38
|
-
default: () => Promise.resolve([])
|
|
39
|
-
},
|
|
40
|
-
getSearchOptions: {
|
|
41
|
-
type: Function,
|
|
42
|
-
default: () => Promise.resolve([])
|
|
43
|
-
},
|
|
44
|
-
getCascadeOptions: {
|
|
45
|
-
type: Function,
|
|
46
|
-
default: () => Promise.resolve([])
|
|
47
|
-
},
|
|
48
|
-
getLabelList: {
|
|
49
|
-
type: Function,
|
|
50
|
-
default: () => Promise.resolve([])
|
|
51
|
-
},
|
|
52
|
-
deleteLabel: {
|
|
53
|
-
type: Function,
|
|
54
|
-
default: () => Promise.resolve({ status: true })
|
|
55
|
-
},
|
|
56
|
-
saveLabelItem: {
|
|
57
|
-
type: Function,
|
|
58
|
-
default: () => Promise.resolve({ status: true })
|
|
59
|
-
},
|
|
60
|
-
uploadPictureUrl: { type: String, default: "" },
|
|
61
|
-
uploadFileUrl: { type: String, default: "" },
|
|
62
|
-
ak: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: "KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"
|
|
65
|
-
},
|
|
66
|
-
sourceType: { type: String, default: "" },
|
|
67
|
-
getChunkUploadConfig: {
|
|
68
|
-
type: Function,
|
|
69
|
-
default: () => Promise.resolve({
|
|
70
|
-
checkFileMd5Exist: "http://192.168.1.223:12060/storage/checkFileMd5Exist",
|
|
71
|
-
fileChannel: "null",
|
|
72
|
-
md5: "9ed34823e7ef4754819704135b29c9ab",
|
|
73
|
-
objectName: "0/0/20220602",
|
|
74
|
-
partFileMerge: "http://192.168.1.223:12060/storage/partFileMerge",
|
|
75
|
-
partFileUpload: "http://192.168.1.223:12060/storage/partFileUpload",
|
|
76
|
-
token: "4d0eb8f174994d33adb71766d1ef8ce4"
|
|
77
|
-
})
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export { ScaleViewProps as default };
|
|
1
|
+
const e={ids:{type:Object,default:()=>({guage_id:"",db_id:void 0})},params:{default:()=>({}),type:Object},guageData:{type:Object,default:()=>({})},noBtn:{type:[Boolean,String,Number],default:!1},hideBtn:{type:[Boolean,String,Number],default:!1},source:{type:String,default:""},isLock:{type:[Boolean,String,Number],default:!1},type:{type:String,default:""},styleSetting:{type:Object,default:()=>({})},fontSizeObj:{type:Object,default:()=>({large:1.25,medium:1.1,small:1,extrasmall:.9})},openType:{type:String,default:""},scaleApiConfig:{type:Object,default:()=>({})},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},getCascadeOptions:{type:Function,default:()=>Promise.resolve([])},getLabelList:{type:Function,default:()=>Promise.resolve([])},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},uploadPictureUrl:{type:String,default:""},uploadFileUrl:{type:String,default:""},ak:{type:String,default:"KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"},sourceType:{type:String,default:""},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({checkFileMd5Exist:"http://192.168.1.223:12060/storage/checkFileMd5Exist",fileChannel:"null",md5:"9ed34823e7ef4754819704135b29c9ab",objectName:"0/0/20220602",partFileMerge:"http://192.168.1.223:12060/storage/partFileMerge",partFileUpload:"http://192.168.1.223:12060/storage/partFileUpload",token:"4d0eb8f174994d33adb71766d1ef8ce4"})}};export{e as default};
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const getScaleViewState = () => {
|
|
4
|
-
const ScaleViewState = {
|
|
5
|
-
other: "",
|
|
6
|
-
form: {},
|
|
7
|
-
submitForm: {},
|
|
8
|
-
rules: {},
|
|
9
|
-
config: {},
|
|
10
|
-
formArray: [],
|
|
11
|
-
mapVisible: false,
|
|
12
|
-
mapLocation: "",
|
|
13
|
-
labelSelectedList: [],
|
|
14
|
-
defaultFormArray: [],
|
|
15
|
-
fontSize: "",
|
|
16
|
-
filterArr: ["SUCCESS_TIP", "CALLBACK_INTERFACE", "SPREAD_PARAMS", "REDIRECT", "FRONT_ADDRESS", "RETURN_PATH"],
|
|
17
|
-
spinning: false,
|
|
18
|
-
indicator: "",
|
|
19
|
-
totalScore: void 0,
|
|
20
|
-
shareId: "",
|
|
21
|
-
currentTime: moment(),
|
|
22
|
-
showEvaluatePage: false,
|
|
23
|
-
showEvaluateSettingWrap: true,
|
|
24
|
-
showEvaluateCountdownWrap: false,
|
|
25
|
-
showEvaluateCountdown: false,
|
|
26
|
-
banSubmit: false,
|
|
27
|
-
isFinished: false,
|
|
28
|
-
maxScore: 0,
|
|
29
|
-
originConfig: {},
|
|
30
|
-
paramsEvaluate: null,
|
|
31
|
-
hasFrontAddress: true,
|
|
32
|
-
choiceComObj: {},
|
|
33
|
-
evatipMap: {}
|
|
34
|
-
};
|
|
35
|
-
return { ScaleViewState };
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export { getScaleViewState };
|
|
1
|
+
import a from"moment";const o=()=>({ScaleViewState:{other:"",form:{},submitForm:{},rules:{},config:{},formArray:[],mapVisible:!1,mapLocation:"",labelSelectedList:[],defaultFormArray:[],fontSize:"",filterArr:["SUCCESS_TIP","CALLBACK_INTERFACE","SPREAD_PARAMS","REDIRECT","FRONT_ADDRESS","RETURN_PATH"],spinning:!1,indicator:"",totalScore:void 0,shareId:"",currentTime:a(),showEvaluatePage:!1,showEvaluateSettingWrap:!0,showEvaluateCountdownWrap:!1,showEvaluateCountdown:!1,banSubmit:!1,isFinished:!1,maxScore:0,originConfig:{},paramsEvaluate:null,hasFrontAddress:!0,choiceComObj:{},evatipMap:{}}});export{o as getScaleViewState};
|