cnhis-design-vue 3.1.37-beta.0 → 3.1.37-beta.2
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/button-print/src/utils/print.js +1 -6
- package/es/components/fabric-chart/src/FabricChart.vue.js +9 -9
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +129 -42
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +151 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +6 -7
- package/es/components/fabric-chart/src/hooks/useOther.js +3 -2
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/utils/utils.js +7 -4
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +2 -2
- package/es/components/form-render/src/FormRender.vue.js +11 -1
- package/es/components/form-render/src/components/renderer/formItem.js +16 -13
- package/es/components/form-render/src/constants/index.js +14 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +0 -4
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +85 -0
- package/es/components/iho-table/src/IhoTable.vue.js +9 -4
- package/es/components/iho-table/src/constants/index.js +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.js +15 -21
- package/es/components/iho-table/src/utils/index.js +5 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +0 -3
- package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +2 -3
- package/es/shared/utils/tapable/Hook.js +1 -1
- package/es/shared/utils/tapable/HookCodeFactory.js +3 -6
- package/es/shared/utils/tapable/SyncWaterfallHook.js +1 -2
- package/package.json +2 -2
- package/es/components/annotation-edit/index.d.ts +0 -17
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +0 -16
- package/es/components/big-table/index.d.ts +0 -1176
- package/es/components/big-table/src/BigTable.vue.d.ts +0 -1175
- package/es/components/big-table/src/bigTableEmits.d.ts +0 -2
- package/es/components/big-table/src/bigTableProps.d.ts +0 -211
- package/es/components/big-table/src/bigTableState.d.ts +0 -58
- package/es/components/big-table/src/components/NoData.vue.d.ts +0 -49
- package/es/components/big-table/src/components/edit-form/edit-date.d.ts +0 -34
- package/es/components/big-table/src/components/edit-form/edit-input.d.ts +0 -43
- package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +0 -35
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +0 -35
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +0 -134
- package/es/components/big-table/src/components/edit-form/edit-time.d.ts +0 -43
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +0 -5
- package/es/components/big-table/src/components/input-button.vue.d.ts +0 -10
- package/es/components/big-table/src/components/separate.vue.d.ts +0 -41
- package/es/components/big-table/src/constants/index.d.ts +0 -3
- package/es/components/big-table/src/hooks/index.d.ts +0 -9
- package/es/components/big-table/src/hooks/useAnchor.d.ts +0 -7
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +0 -4
- package/es/components/big-table/src/hooks/useBatchEditing.d.ts +0 -17
- package/es/components/big-table/src/hooks/useEdit.d.ts +0 -339
- package/es/components/big-table/src/hooks/useEvent.d.ts +0 -6
- package/es/components/big-table/src/hooks/useFormat.d.ts +0 -30
- package/es/components/big-table/src/hooks/useNestTable.d.ts +0 -8
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +0 -40
- package/es/components/big-table/src/hooks/useTableParse.d.ts +0 -6
- package/es/components/big-table/src/utils.d.ts +0 -61
- package/es/components/bpmn-workflow/index.d.ts +0 -72
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +0 -75
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +0 -75
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +0 -24
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +0 -19
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.d.ts +0 -70
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +0 -21
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +0 -12
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +0 -16
- package/es/components/bpmn-workflow/src/custom/customModeler/index.d.ts +0 -6
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +0 -5
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +0 -12
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +0 -5
- package/es/components/bpmn-workflow/src/custom/customRules/no-task.d.ts +0 -4
- package/es/components/bpmn-workflow/src/custom/customTranslate/customTranslate.d.ts +0 -1
- package/es/components/bpmn-workflow/src/custom/customTranslate/zh.d.ts +0 -226
- package/es/components/button-print/index.d.ts +0 -1904
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1911
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +0 -1244
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +0 -1632
- package/es/components/button-print/src/components/Preview.vue.d.ts +0 -41
- package/es/components/button-print/src/utils/browserPrint.d.ts +0 -2
- package/es/components/button-print/src/utils/dialog.d.ts +0 -12
- package/es/components/button-print/src/utils/index.d.ts +0 -2
- package/es/components/button-print/src/utils/print.d.ts +0 -56
- package/es/components/drag-layout/index.d.ts +0 -606
- package/es/components/drag-layout/index.js +0 -11
- package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +0 -21
- package/es/components/drag-layout/src/DragFormLeftItem.vue.js +0 -122
- package/es/components/drag-layout/src/DragFormRightItem.vue.d.ts +0 -125
- package/es/components/drag-layout/src/DragFormRightItem.vue.js +0 -267
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +0 -606
- package/es/components/drag-layout/src/DragLayout.vue.js +0 -662
- package/es/components/drag-layout/style/index.css +0 -1
- package/es/components/editor/index.d.ts +0 -30
- package/es/components/editor/src/Editor.d.ts +0 -30
- package/es/components/fabric-chart/index.d.ts +0 -182
- package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +0 -181
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +0 -184
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +0 -46
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +0 -64
- package/es/components/fabric-chart/src/components/useStyle.d.ts +0 -7
- package/es/components/fabric-chart/src/hooks/constant.d.ts +0 -54
- package/es/components/fabric-chart/src/hooks/index.d.ts +0 -11
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +0 -26
- package/es/components/fabric-chart/src/hooks/useBottom.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +0 -16
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +0 -8
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +0 -14
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +0 -44
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +0 -7
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/useLeft.d.ts +0 -7
- package/es/components/fabric-chart/src/hooks/useOther.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/useRight.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/useShadow.d.ts +0 -6
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +0 -25
- package/es/components/fabric-chart/src/hooks/useTop.d.ts +0 -4
- package/es/components/fabric-chart/src/interface.d.ts +0 -151
- package/es/components/fabric-chart/src/utils/utils.d.ts +0 -13
- package/es/components/field-set/index.d.ts +0 -243
- package/es/components/field-set/src/FieldSet.vue.d.ts +0 -197
- package/es/components/form-config/index.d.ts +0 -3321
- package/es/components/form-config/src/FormConfig.vue.d.ts +0 -3322
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +0 -664
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +0 -108
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -2385
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +0 -14
- package/es/components/form-config/src/components/index.d.ts +0 -5
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +0 -27
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +0 -169
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -71
- package/es/components/form-config/src/components/renderer/index.d.ts +0 -4
- package/es/components/form-config/src/constants/index.d.ts +0 -65
- package/es/components/form-config/src/hooks/index.d.ts +0 -3
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +0 -8
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +0 -5
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +0 -4
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +0 -13
- package/es/components/form-config/src/types/index.d.ts +0 -39
- package/es/components/form-config/src/utils/index.d.ts +0 -7
- package/es/components/form-render/index.d.ts +0 -646
- package/es/components/form-render/src/FormRender.vue.d.ts +0 -639
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +0 -643
- package/es/components/form-render/src/components/renderer/checkbox.d.ts +0 -90
- package/es/components/form-render/src/components/renderer/combination.d.ts +0 -51
- package/es/components/form-render/src/components/renderer/complex.d.ts +0 -34
- package/es/components/form-render/src/components/renderer/date.d.ts +0 -52
- package/es/components/form-render/src/components/renderer/formItem.d.ts +0 -15
- package/es/components/form-render/src/components/renderer/index.d.ts +0 -3
- package/es/components/form-render/src/components/renderer/input.d.ts +0 -23
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +0 -11
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +0 -31
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.d.ts +0 -5
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +0 -44
- package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +0 -91
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +0 -69
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +0 -68
- package/es/components/form-render/src/components/renderer/radio.d.ts +0 -94
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +0 -41
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +0 -58
- package/es/components/form-render/src/components/renderer/select.d.ts +0 -140
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +0 -18
- package/es/components/form-render/src/components/renderer/slider.d.ts +0 -11
- package/es/components/form-render/src/components/renderer/switch.d.ts +0 -23
- package/es/components/form-render/src/components/renderer/textarea.d.ts +0 -11
- package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +0 -13
- package/es/components/form-render/src/constants/index.d.ts +0 -42
- package/es/components/form-render/src/hooks/index.d.ts +0 -15
- package/es/components/form-render/src/hooks/useAnchor.d.ts +0 -16
- package/es/components/form-render/src/hooks/useAsyncQueue.d.ts +0 -47
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +0 -27
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +0 -11
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +0 -15
- package/es/components/form-render/src/hooks/useCommonLog.d.ts +0 -3
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +0 -64
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +0 -5
- package/es/components/form-render/src/hooks/useFieldVisitor.d.ts +0 -4
- package/es/components/form-render/src/hooks/useFormContext.d.ts +0 -11
- package/es/components/form-render/src/hooks/useFormField.d.ts +0 -5
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +0 -11
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +0 -13
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +0 -39
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +0 -26
- package/es/components/form-render/src/hooks/useFormValidator.d.ts +0 -6
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +0 -4
- package/es/components/form-render/src/hooks/usePresetScope.d.ts +0 -6
- package/es/components/form-render/src/types/fieldItem.d.ts +0 -265
- package/es/components/form-render/src/types/index.d.ts +0 -84
- package/es/components/form-render/src/utils/business.d.ts +0 -13
- package/es/components/form-render/src/utils/dom.d.ts +0 -13
- package/es/components/form-render/src/utils/index.d.ts +0 -38
- package/es/components/form-render/src/utils/schema.d.ts +0 -83
- package/es/components/grid/index.d.ts +0 -3
- package/es/components/grid/src/Grid.d.ts +0 -2
- package/es/components/grid/src/hooks.d.ts +0 -1
- package/es/components/iho-table/index.d.ts +0 -4638
- package/es/components/iho-table/src/IhoTable.vue.d.ts +0 -4637
- package/es/components/iho-table/src/constants/index.d.ts +0 -80
- package/es/components/iho-table/src/hooks/export.d.ts +0 -2
- package/es/components/iho-table/src/hooks/index.d.ts +0 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +0 -93
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +0 -31
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +0 -16
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +0 -15
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +0 -251
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +0 -13
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +0 -25
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +0 -10
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +0 -11
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +0 -9
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +0 -8
- package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.d.ts +0 -2
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +0 -13
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +0 -169
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +0 -96
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +0 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +0 -43
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +0 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +0 -94
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +0 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +0 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +0 -11
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/types/index.d.ts +0 -108
- package/es/components/iho-table/src/types/pluginType.d.ts +0 -173
- package/es/components/iho-table/src/utils/index.d.ts +0 -48
- package/es/components/index.d.ts +0 -38
- package/es/components/info-header/index.d.ts +0 -415
- package/es/components/info-header/src/HiddenContent.vue.d.ts +0 -86
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +0 -33
- package/es/components/info-header/src/InfoHeader.vue.d.ts +0 -405
- package/es/components/insurance-sdk/index.d.ts +0 -1
- package/es/components/insurance-sdk/src/constants/index.d.ts +0 -161
- package/es/components/insurance-sdk/src/utils/index.d.ts +0 -1
- package/es/components/insurance-sdk/src/utils/insurance.d.ts +0 -260
- package/es/components/keyboard/index.d.ts +0 -334
- package/es/components/keyboard/src/Keyboard.vue.d.ts +0 -335
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +0 -64
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +0 -191
- package/es/components/keyboard/src/utils/index.d.ts +0 -1
- package/es/components/map/index.d.ts +0 -75
- package/es/components/map/src/Map.vue.d.ts +0 -75
- package/es/components/recommend-search/index.d.ts +0 -815
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +0 -817
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +0 -143
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +0 -341
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +0 -63
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +0 -300
- package/es/components/recommend-search/src/constant/index.d.ts +0 -4
- package/es/components/recommend-search/src/types/index.d.ts +0 -9
- package/es/components/scale-view/index.d.ts +0 -1400
- package/es/components/scale-view/src/ScaleView.vue.d.ts +0 -1222
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +0 -70
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +0 -154
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +0 -110
- package/es/components/scale-view/src/components/NoData.vue.d.ts +0 -49
- package/es/components/scale-view/src/components/ScaleScore.d.ts +0 -23
- package/es/components/scale-view/src/components/composables/choose-common.d.ts +0 -11
- package/es/components/scale-view/src/components/formitem/address.d.ts +0 -3992
- package/es/components/scale-view/src/components/formitem/r-address.d.ts +0 -34
- package/es/components/scale-view/src/components/formitem/r-cascader.d.ts +0 -43
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +0 -43
- package/es/components/scale-view/src/components/formitem/r-collection.d.ts +0 -32
- package/es/components/scale-view/src/components/formitem/r-datetime.d.ts +0 -34
- package/es/components/scale-view/src/components/formitem/r-input.d.ts +0 -34
- package/es/components/scale-view/src/components/formitem/r-map.d.ts +0 -52
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +0 -43
- package/es/components/scale-view/src/components/formitem/r-select.d.ts +0 -61
- package/es/components/scale-view/src/components/formitem/r-sign.d.ts +0 -34
- package/es/components/scale-view/src/components/formitem/r-upload.d.ts +0 -52
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +0 -63
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +0 -80
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +0 -87
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +0 -43
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +0 -3
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +0 -115
- package/es/components/scale-view/src/hooks/scaleview-state.d.ts +0 -34
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +0 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +0 -3
- package/es/components/scale-view/src/hooks/use-component.d.ts +0 -1814
- package/es/components/scale-view/src/hooks/use-evaluate.d.ts +0 -21
- package/es/components/scale-view/src/hooks/use-event.d.ts +0 -4
- package/es/components/scale-view/src/hooks/use-noData.d.ts +0 -9
- package/es/components/scale-view/src/utils/judge-types.d.ts +0 -5
- package/es/components/search-cascader/index.d.ts +0 -233
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +0 -235
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +0 -50
- package/es/components/search-cascader/src/components/index.d.ts +0 -1
- package/es/components/search-cascader/src/constants/index.d.ts +0 -5
- package/es/components/search-cascader/src/hooks/index.d.ts +0 -1
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +0 -3
- package/es/components/search-cascader/src/utils/index.d.ts +0 -2
- package/es/components/select-label/index.d.ts +0 -988
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +0 -367
- package/es/components/select-label/src/SelectLabel.vue.d.ts +0 -622
- package/es/components/select-label/src/components/label-classify.vue.d.ts +0 -122
- package/es/components/select-person/index.d.ts +0 -251
- package/es/components/select-person/src/SelectPerson.vue.d.ts +0 -250
- package/es/components/select-person/src/utils/index.d.ts +0 -3
- package/es/components/shortcut-provider/index.d.ts +0 -21
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +0 -19
- package/es/components/shortcut-provider/src/constants/index.d.ts +0 -7
- package/es/components/shortcut-provider/src/hooks/index.d.ts +0 -2
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.d.ts +0 -4
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +0 -33
- package/es/components/shortcut-provider/src/types/index.d.ts +0 -43
- package/es/components/shortcut-provider/src/utils/index.d.ts +0 -10
- package/es/components/shortcut-setter/index.d.ts +0 -2373
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +0 -2375
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +0 -99
- package/es/components/shortcut-setter/src/types/index.d.ts +0 -6
- package/es/components/steps-wheel/index.d.ts +0 -115
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +0 -114
- package/es/components/time-line/index.d.ts +0 -109
- package/es/components/time-line/src/TimeLine.vue.d.ts +0 -85
- package/es/components/vod-chunk-upload/index.d.ts +0 -232
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +0 -196
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +0 -11
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +0 -63
- package/es/components/vod-chunk-upload/src/hooks/vod-computed.d.ts +0 -10
- package/es/components/vod-chunk-upload/src/hooks/vod-data.d.ts +0 -23
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.d.ts +0 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +0 -230
- package/es/components/vod-chunk-upload/src/vod-upload-modal.d.ts +0 -25
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +0 -51
- package/es/shared/components/SelectPage/index.d.ts +0 -2
- package/es/shared/components/SlotRender/SlotRender.d.ts +0 -20
- package/es/shared/components/SlotRender/index.d.ts +0 -2
- package/es/shared/components/SvgIcon/SvgIcon.vue.d.ts +0 -43
- package/es/shared/components/SvgIcon/index.d.ts +0 -2
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +0 -87
- package/es/shared/components/TextOverTooltip/index.d.ts +0 -2
- package/es/shared/components/VueDraggable/index.d.ts +0 -2
- package/es/shared/components/VueDraggable/src/core/componentBuilderHelper.d.ts +0 -9
- package/es/shared/components/VueDraggable/src/core/componentStructure.d.ts +0 -22
- package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +0 -7
- package/es/shared/components/VueDraggable/src/core/sortableEvents.d.ts +0 -10
- package/es/shared/components/VueDraggable/src/util/console.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/util/htmlHelper.d.ts +0 -2
- package/es/shared/components/VueDraggable/src/util/string.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/util/tags.d.ts +0 -3
- package/es/shared/components/no-data/NoData.vue.d.ts +0 -49
- package/es/shared/components/no-data/index.d.ts +0 -2
- package/es/shared/components/player-vod/index.vue.d.ts +0 -2
- package/es/shared/components/player-vod/player.d.ts +0 -17
- package/es/shared/components/player-vod/video-list.d.ts +0 -32
- package/es/shared/components/player-vod/video-modal.d.ts +0 -54
- package/es/shared/global/variable.d.ts +0 -1
- package/es/shared/index.d.ts +0 -0
- package/es/shared/types/index.d.ts +0 -22
- package/es/shared/utils/anime.d.ts +0 -35
- package/es/shared/utils/clickoutside.d.ts +0 -18
- package/es/shared/utils/clickoutside.js +0 -52
- package/es/shared/utils/colorLog.d.ts +0 -31
- package/es/shared/utils/index.d.ts +0 -16
- package/es/shared/utils/loadViewer.d.ts +0 -2
- package/es/shared/utils/state.d.ts +0 -29
- package/es/shared/utils/state.js +0 -44
- package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +0 -3
- package/es/shared/utils/tapable/AsyncParallelHook.d.ts +0 -3
- package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +0 -3
- package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +0 -3
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +0 -3
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +0 -3
- package/es/shared/utils/tapable/Hook.d.ts +0 -50
- package/es/shared/utils/tapable/HookCodeFactory.d.ts +0 -58
- package/es/shared/utils/tapable/HookMap.d.ts +0 -11
- package/es/shared/utils/tapable/MultiHook.d.ts +0 -12
- package/es/shared/utils/tapable/SyncBailHook.d.ts +0 -3
- package/es/shared/utils/tapable/SyncHook.d.ts +0 -3
- package/es/shared/utils/tapable/SyncLoopHook.d.ts +0 -3
- package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +0 -3
- package/es/shared/utils/utilExpand.d.ts +0 -1
- package/es/shared/utils/vexutils.d.ts +0 -10
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
visible: BooleanConstructor;
|
|
3
|
-
formData: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
default: () => {};
|
|
6
|
-
};
|
|
7
|
-
playerOptions: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: () => {
|
|
10
|
-
sources: {
|
|
11
|
-
type: string;
|
|
12
|
-
src: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
fileList: {
|
|
17
|
-
type: ArrayConstructor;
|
|
18
|
-
default: () => never[];
|
|
19
|
-
};
|
|
20
|
-
palyerIndex: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
visible: BooleanConstructor;
|
|
26
|
-
formData: {
|
|
27
|
-
type: ObjectConstructor;
|
|
28
|
-
default: () => {};
|
|
29
|
-
};
|
|
30
|
-
playerOptions: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
default: () => {
|
|
33
|
-
sources: {
|
|
34
|
-
type: string;
|
|
35
|
-
src: string;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
fileList: {
|
|
40
|
-
type: ArrayConstructor;
|
|
41
|
-
default: () => never[];
|
|
42
|
-
};
|
|
43
|
-
palyerIndex: {
|
|
44
|
-
type: NumberConstructor;
|
|
45
|
-
default: number;
|
|
46
|
-
};
|
|
47
|
-
}>>, {
|
|
48
|
-
visible: boolean;
|
|
49
|
-
formData: Record<string, any>;
|
|
50
|
-
fileList: unknown[];
|
|
51
|
-
playerOptions: Record<string, any>;
|
|
52
|
-
palyerIndex: number;
|
|
53
|
-
}>;
|
|
54
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAMESPACE = "C";
|
package/es/shared/index.d.ts
DELETED
|
File without changes
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { App } from '@vue/runtime-core';
|
|
2
|
-
export declare type SFCWithInstall<T> = T & {
|
|
3
|
-
install: (app: App, ...options: any[]) => any;
|
|
4
|
-
};
|
|
5
|
-
export declare type AnyObject = Record<string, any>;
|
|
6
|
-
export declare type Func<T extends Array<any> = any[], P = any> = (...args: T) => P;
|
|
7
|
-
export declare type Nullable<T> = T | null | undefined;
|
|
8
|
-
export declare type UndefinedAble<T> = T | undefined;
|
|
9
|
-
export declare type ArrayAble<T> = T | T[];
|
|
10
|
-
export declare type Copy<T> = {
|
|
11
|
-
[K in keyof T]: T[K];
|
|
12
|
-
};
|
|
13
|
-
export declare type PropertyRequired<T, K extends keyof T> = Copy<{
|
|
14
|
-
[KEY in keyof T as KEY extends K ? never : KEY]: T[KEY];
|
|
15
|
-
} & {
|
|
16
|
-
[KEY in K]-?: T[KEY];
|
|
17
|
-
}>;
|
|
18
|
-
export declare type TupleToUnion<T extends readonly unknown[]> = T[number];
|
|
19
|
-
declare type UnionToIntersection<T> = (T extends T ? (params: T) => any : never) extends (P: infer R) => any ? R : never;
|
|
20
|
-
export declare type UnionToTuple<T, Result extends unknown[] = []> = UnionToIntersection<T extends any ? () => T : never> extends () => infer Return ? UnionToTuple<Exclude<T, Return>, [Return, ...Result]> : Result;
|
|
21
|
-
export declare type MaybeString<T extends string | number> = T | `${T}`;
|
|
22
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare function bounceOut(x: number): number;
|
|
2
|
-
declare const animeType: {
|
|
3
|
-
easeInQuad: (x: number) => number;
|
|
4
|
-
easeOutQuad: (x: number) => number;
|
|
5
|
-
easeInOutQuad: (x: number) => number;
|
|
6
|
-
easeInCubic: (x: number) => number;
|
|
7
|
-
easeOutCubic: (x: number) => number;
|
|
8
|
-
easeInOutCubic: (x: number) => number;
|
|
9
|
-
easeInQuart: (x: number) => number;
|
|
10
|
-
easeOutQuart: (x: number) => number;
|
|
11
|
-
easeInOutQuart: (x: number) => number;
|
|
12
|
-
easeInQuint: (x: number) => number;
|
|
13
|
-
easeOutQuint: (x: number) => number;
|
|
14
|
-
easeInOutQuint: (x: number) => number;
|
|
15
|
-
easeInSine: (x: number) => number;
|
|
16
|
-
easeOutSine: (x: number) => number;
|
|
17
|
-
easeInOutSine: (x: number) => number;
|
|
18
|
-
easeInExpo: (x: number) => number;
|
|
19
|
-
easeOutExpo: (x: number) => number;
|
|
20
|
-
easeInOutExpo: (x: number) => number;
|
|
21
|
-
easeInCirc: (x: number) => number;
|
|
22
|
-
easeOutCirc: (x: number) => number;
|
|
23
|
-
easeInOutCirc: (x: number) => number;
|
|
24
|
-
easeInElastic: (x: number) => number;
|
|
25
|
-
easeOutElastic: (x: number) => number;
|
|
26
|
-
easeInOutElastic: (x: number) => number;
|
|
27
|
-
easeInBack: (x: number) => number;
|
|
28
|
-
easeOutBack: (x: number) => number;
|
|
29
|
-
easeInOutBack: (x: number) => number;
|
|
30
|
-
easeInBounce: (x: number) => number;
|
|
31
|
-
easeOutBounce: typeof bounceOut;
|
|
32
|
-
easeInOutBounce: (x: number) => number;
|
|
33
|
-
};
|
|
34
|
-
export declare const doAnimation: (startValue: number, endValue: number, during: number | undefined, callback: (v: number) => void, type?: keyof typeof animeType, onAnimationEnd?: ((...args: unknown[]) => void) | undefined) => void;
|
|
35
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
interface Binding {
|
|
2
|
-
expression: any;
|
|
3
|
-
value?: any;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* v-clickoutside
|
|
7
|
-
* @desc 点击元素外面才会触发的事件
|
|
8
|
-
* @example
|
|
9
|
-
* ```vue
|
|
10
|
-
* <div v-element-clickoutside="handleClose">
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
declare const _default: {
|
|
14
|
-
mounted(el: any, binding: Binding, vnode: any): void;
|
|
15
|
-
update(el: any, binding: Binding, vnode: any): void;
|
|
16
|
-
unmounted(el: any): void;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
const nodeList = [];
|
|
2
|
-
const ctx = "@@clickoutsideContext";
|
|
3
|
-
let startClick;
|
|
4
|
-
let seed = 0;
|
|
5
|
-
document.addEventListener("mousedown", (e) => startClick = e, false);
|
|
6
|
-
document.addEventListener(
|
|
7
|
-
"mouseup",
|
|
8
|
-
(e) => {
|
|
9
|
-
nodeList.forEach((node) => node[ctx].documentHandler(e, startClick));
|
|
10
|
-
},
|
|
11
|
-
false
|
|
12
|
-
);
|
|
13
|
-
function createDocumentHandler(el, binding, vnode) {
|
|
14
|
-
return function(mouseup = {}, mousedown = {}) {
|
|
15
|
-
if (!vnode || !vnode.context || !mouseup.target || !mousedown.target || el.contains(mouseup.target) || el.contains(mousedown.target) || el === mouseup.target || vnode.context.popperElm && (vnode.context.popperElm.contains(mouseup.target) || vnode.context.popperElm.contains(mousedown.target)))
|
|
16
|
-
return;
|
|
17
|
-
if (binding.expression && el[ctx].methodName && vnode.context[el[ctx].methodName]) {
|
|
18
|
-
vnode.context[el[ctx].methodName]();
|
|
19
|
-
} else {
|
|
20
|
-
el[ctx].bindingFn && el[ctx].bindingFn();
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
var clickoutside = {
|
|
25
|
-
mounted(el, binding, vnode) {
|
|
26
|
-
nodeList.push(el);
|
|
27
|
-
const id = seed++;
|
|
28
|
-
el[ctx] = {
|
|
29
|
-
id,
|
|
30
|
-
documentHandler: createDocumentHandler(el, binding, vnode),
|
|
31
|
-
methodName: binding.expression,
|
|
32
|
-
bindingFn: binding.value
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
update(el, binding, vnode) {
|
|
36
|
-
el[ctx].documentHandler = createDocumentHandler(el, binding, vnode);
|
|
37
|
-
el[ctx].methodName = binding.expression;
|
|
38
|
-
el[ctx].bindingFn = binding.value;
|
|
39
|
-
},
|
|
40
|
-
unmounted(el) {
|
|
41
|
-
let len = nodeList.length;
|
|
42
|
-
for (let i = 0; i < len; i++) {
|
|
43
|
-
if (nodeList[i][ctx].id === el[ctx].id) {
|
|
44
|
-
nodeList.splice(i, 1);
|
|
45
|
-
break;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
delete el[ctx];
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export { clickoutside as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare enum LogsType {
|
|
2
|
-
DEFAULT = "default",
|
|
3
|
-
PRIMARY = "primary",
|
|
4
|
-
SUCCESS = "success",
|
|
5
|
-
WARNING = "warning",
|
|
6
|
-
DANGER = "danger"
|
|
7
|
-
}
|
|
8
|
-
declare class Log {
|
|
9
|
-
/**
|
|
10
|
-
* @description 打印一个 [ title | text ] 样式的信息
|
|
11
|
-
* @param {String} title title text
|
|
12
|
-
* @param {String} info info text
|
|
13
|
-
* @param {String} type style
|
|
14
|
-
* @param {any[]} appendInfo
|
|
15
|
-
*/
|
|
16
|
-
capsule(title: string, info: any, type?: LogsType, ...appendInfo: any[]): void;
|
|
17
|
-
/**
|
|
18
|
-
* @description 打印彩色文字
|
|
19
|
-
*/
|
|
20
|
-
colorful(textArr: {
|
|
21
|
-
text: any;
|
|
22
|
-
type: LogsType;
|
|
23
|
-
}[]): void;
|
|
24
|
-
text(text: any): void;
|
|
25
|
-
primary(text: any): void;
|
|
26
|
-
success(text: any): void;
|
|
27
|
-
warning(text: any): void;
|
|
28
|
-
danger(text: any): void;
|
|
29
|
-
}
|
|
30
|
-
declare const log: Log;
|
|
31
|
-
export default log;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AnyObject, ArrayAble } from '../../../es/shared/types';
|
|
2
|
-
import { App, Component } from 'vue';
|
|
3
|
-
export declare function traverse<T extends ArrayAble<AnyObject>>(target: T, handler: (item: T extends Array<infer P> ? P : T, stop: () => void, parent?: typeof item) => void, keys?: ArrayAble<string>, parent?: T): void;
|
|
4
|
-
export declare function safeComponentRegister(app: App, component: Component, cName?: string | undefined, scheduler?: () => void): void;
|
|
5
|
-
export declare function generateTimeFormat(format: string): string | undefined;
|
|
6
|
-
export declare function arrayed<T>(maybeArray: T): T extends Array<any> ? T : [T];
|
|
7
|
-
export declare function uuidGenerator(): string;
|
|
8
|
-
export declare const getStringWidth: import("@vueuse/core").UseMemoizedFn<number, [str: string]>;
|
|
9
|
-
export declare const DMZ: AnyObject;
|
|
10
|
-
export declare function deepOmit<T extends AnyObject>(target: T, keys: Array<keyof T>): any;
|
|
11
|
-
export declare function separateMetaModule<T extends AnyObject>(modules: Record<string, unknown>): T;
|
|
12
|
-
export declare function findAncestor(ele: HTMLElement | null, finder: (ele: HTMLElement) => boolean): HTMLElement | null;
|
|
13
|
-
export declare function widthAppend(value: string | number, append?: string): string;
|
|
14
|
-
export declare function targetStringIncludes(arr: string[], target: string): boolean;
|
|
15
|
-
export declare const jsonParse: import("@vueuse/core").UseMemoizedFn<any, [value: string]>;
|
|
16
|
-
export declare function shallowOmit<T, K extends Array<keyof T>>(target: T, keys: K): Omit<T, K[number]>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Ref, UnwrapRef, WritableComputedOptions, WritableComputedRef, ComputedRef } from 'vue';
|
|
2
|
-
interface GetState<T> {
|
|
3
|
-
(isRef: true): Ref<UnwrapRef<T>>;
|
|
4
|
-
(isRef?: false): UnwrapRef<T>;
|
|
5
|
-
}
|
|
6
|
-
export declare function useState<T>(initValue?: T): [GetState<T>, (val: UnwrapRef<T>) => UnwrapRef<T>];
|
|
7
|
-
export declare function useRef<T>(): GetState<T | null>;
|
|
8
|
-
/**
|
|
9
|
-
* v-for的ref引用
|
|
10
|
-
*/
|
|
11
|
-
export declare function useRefs<T>(): [Set<T>, (el: T) => void];
|
|
12
|
-
/**
|
|
13
|
-
* v-for的ref引用
|
|
14
|
-
* @return 数组
|
|
15
|
-
*/
|
|
16
|
-
export declare function useRefsArray<T>(): [T[], (el: T) => void];
|
|
17
|
-
interface GetComputed<T, R> {
|
|
18
|
-
(isRef: true): R;
|
|
19
|
-
(isRef: false): T;
|
|
20
|
-
(): T;
|
|
21
|
-
}
|
|
22
|
-
export declare function useComputed<T>(getter: WritableComputedOptions<T>['get']): GetComputed<T, ComputedRef<T>>;
|
|
23
|
-
export declare function useComputed<T>(options: WritableComputedOptions<T>): [GetComputed<T, WritableComputedRef<T>>, (val: T) => void];
|
|
24
|
-
/**
|
|
25
|
-
* 返回{ [key]: Ref }
|
|
26
|
-
* @params obj { [变量名]: useState或useComputed返回的getter函数 }
|
|
27
|
-
*/
|
|
28
|
-
export declare function getRefs(obj: Record<string, GetState<any> | GetComputed<any, any>>): Record<string, Ref<any>>;
|
|
29
|
-
export {};
|
package/es/shared/utils/state.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ref, onBeforeUpdate, computed, unref } from 'vue';
|
|
2
|
-
|
|
3
|
-
function useState(initValue) {
|
|
4
|
-
const state = ref(initValue);
|
|
5
|
-
const getState = (isRef) => isRef ? state : unref(state);
|
|
6
|
-
return [getState, (val) => state.value = val];
|
|
7
|
-
}
|
|
8
|
-
function useRef() {
|
|
9
|
-
return useState(null)[0];
|
|
10
|
-
}
|
|
11
|
-
function useRefs() {
|
|
12
|
-
const itemRefs = /* @__PURE__ */ new Set();
|
|
13
|
-
const setItemRef = (el) => el && itemRefs.add(el);
|
|
14
|
-
onBeforeUpdate(() => itemRefs.clear());
|
|
15
|
-
return [itemRefs, setItemRef];
|
|
16
|
-
}
|
|
17
|
-
function useRefsArray() {
|
|
18
|
-
let itemRefs = [];
|
|
19
|
-
const setItemRef = (el) => {
|
|
20
|
-
itemRefs.push(el);
|
|
21
|
-
};
|
|
22
|
-
onBeforeUpdate(() => {
|
|
23
|
-
itemRefs = [];
|
|
24
|
-
});
|
|
25
|
-
return [itemRefs, setItemRef];
|
|
26
|
-
}
|
|
27
|
-
function isWritableComputedOptions(arg) {
|
|
28
|
-
return typeof arg === "object" && Reflect.has(arg || {}, "set");
|
|
29
|
-
}
|
|
30
|
-
function useComputed(arg) {
|
|
31
|
-
const data = isWritableComputedOptions(arg) ? computed(arg) : computed(arg);
|
|
32
|
-
const getData = (isRef) => isRef ? data : data.value;
|
|
33
|
-
if (!isWritableComputedOptions(arg)) {
|
|
34
|
-
return getData;
|
|
35
|
-
}
|
|
36
|
-
return [getData, (val) => data.value = val];
|
|
37
|
-
}
|
|
38
|
-
function getRefs(obj) {
|
|
39
|
-
const result = {};
|
|
40
|
-
Object.entries(obj).forEach(([k, fn]) => result[k] = fn(true));
|
|
41
|
-
return result;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { getRefs, useComputed, useRef, useRefs, useRefsArray, useState };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export default Hook;
|
|
2
|
-
declare class Hook {
|
|
3
|
-
constructor(args?: any[], name?: undefined);
|
|
4
|
-
_args: any[];
|
|
5
|
-
name: any;
|
|
6
|
-
taps: any[];
|
|
7
|
-
interceptors: any[];
|
|
8
|
-
_call: typeof CALL_DELEGATE;
|
|
9
|
-
call: typeof CALL_DELEGATE;
|
|
10
|
-
_callAsync: typeof CALL_ASYNC_DELEGATE;
|
|
11
|
-
callAsync: typeof CALL_ASYNC_DELEGATE;
|
|
12
|
-
_promise: typeof PROMISE_DELEGATE;
|
|
13
|
-
promise: typeof PROMISE_DELEGATE;
|
|
14
|
-
_x: any;
|
|
15
|
-
compile(options: any): void;
|
|
16
|
-
_createCall(type: any): void;
|
|
17
|
-
_tap(type: any, options: any, fn: any): void;
|
|
18
|
-
tap(options: any, fn: any): void;
|
|
19
|
-
tapAsync(options: any, fn: any): void;
|
|
20
|
-
tapPromise(options: any, fn: any): void;
|
|
21
|
-
_runRegisterInterceptors(options: any): any;
|
|
22
|
-
withOptions(options: any): {
|
|
23
|
-
name: any;
|
|
24
|
-
tap: (opt: any, fn: any) => void;
|
|
25
|
-
tapAsync: (opt: any, fn: any) => void;
|
|
26
|
-
tapPromise: (opt: any, fn: any) => void;
|
|
27
|
-
intercept: (interceptor: any) => void;
|
|
28
|
-
isUsed: () => boolean;
|
|
29
|
-
withOptions: (opt: any) => any;
|
|
30
|
-
};
|
|
31
|
-
isUsed(): boolean;
|
|
32
|
-
intercept(interceptor: any): void;
|
|
33
|
-
_resetCompilation(): void;
|
|
34
|
-
_insert(item: any): void;
|
|
35
|
-
}
|
|
36
|
-
declare function CALL_DELEGATE(...args: any[]): any;
|
|
37
|
-
declare class CALL_DELEGATE {
|
|
38
|
-
constructor(...args: any[]);
|
|
39
|
-
call: any;
|
|
40
|
-
}
|
|
41
|
-
declare function CALL_ASYNC_DELEGATE(...args: any[]): any;
|
|
42
|
-
declare class CALL_ASYNC_DELEGATE {
|
|
43
|
-
constructor(...args: any[]);
|
|
44
|
-
callAsync: any;
|
|
45
|
-
}
|
|
46
|
-
declare function PROMISE_DELEGATE(...args: any[]): any;
|
|
47
|
-
declare class PROMISE_DELEGATE {
|
|
48
|
-
constructor(...args: any[]);
|
|
49
|
-
promise: any;
|
|
50
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export default HookCodeFactory;
|
|
2
|
-
declare class HookCodeFactory {
|
|
3
|
-
constructor(config: any);
|
|
4
|
-
config: any;
|
|
5
|
-
options: {
|
|
6
|
-
type: "sync" | "promise" | "async";
|
|
7
|
-
taps: Array<Tap>;
|
|
8
|
-
interceptors: Array<Interceptor>;
|
|
9
|
-
} | undefined;
|
|
10
|
-
_args: any;
|
|
11
|
-
create(options: any): Function;
|
|
12
|
-
setup(instance: any, options: any): void;
|
|
13
|
-
/**
|
|
14
|
-
* @param {{ type: "sync" | "promise" | "async", taps: Array<Tap>, interceptors: Array<Interceptor> }} options
|
|
15
|
-
*/
|
|
16
|
-
init(options: {
|
|
17
|
-
type: "sync" | "promise" | "async";
|
|
18
|
-
taps: Array<Tap>;
|
|
19
|
-
interceptors: Array<Interceptor>;
|
|
20
|
-
}): void;
|
|
21
|
-
deinit(): void;
|
|
22
|
-
contentWithInterceptors(options: any): any;
|
|
23
|
-
header(): string;
|
|
24
|
-
needContext(): boolean;
|
|
25
|
-
callTap(tapIndex: any, { onError, onResult, onDone, rethrowIfPossible }: {
|
|
26
|
-
onError: any;
|
|
27
|
-
onResult: any;
|
|
28
|
-
onDone: any;
|
|
29
|
-
rethrowIfPossible: any;
|
|
30
|
-
}): string;
|
|
31
|
-
callTapsSeries({ onError, onResult, resultReturns, onDone, doneReturns, rethrowIfPossible }: {
|
|
32
|
-
onError: any;
|
|
33
|
-
onResult: any;
|
|
34
|
-
resultReturns: any;
|
|
35
|
-
onDone: any;
|
|
36
|
-
doneReturns: any;
|
|
37
|
-
rethrowIfPossible: any;
|
|
38
|
-
}): any;
|
|
39
|
-
callTapsLooping({ onError, onDone, rethrowIfPossible }: {
|
|
40
|
-
onError: any;
|
|
41
|
-
onDone: any;
|
|
42
|
-
rethrowIfPossible: any;
|
|
43
|
-
}): any;
|
|
44
|
-
callTapsParallel({ onError, onResult, onDone, rethrowIfPossible, onTap }: {
|
|
45
|
-
onError: any;
|
|
46
|
-
onResult: any;
|
|
47
|
-
onDone: any;
|
|
48
|
-
rethrowIfPossible: any;
|
|
49
|
-
onTap?: ((i: any, run: any) => any) | undefined;
|
|
50
|
-
}): any;
|
|
51
|
-
args({ before, after }?: {
|
|
52
|
-
before: any;
|
|
53
|
-
after: any;
|
|
54
|
-
}): any;
|
|
55
|
-
getTapFn(idx: any): string;
|
|
56
|
-
getTap(idx: any): string;
|
|
57
|
-
getInterceptor(idx: any): string;
|
|
58
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default HookMap;
|
|
2
|
-
declare class HookMap {
|
|
3
|
-
constructor(factory: any, name?: undefined);
|
|
4
|
-
_map: Map<any, any>;
|
|
5
|
-
name: any;
|
|
6
|
-
_factory: any;
|
|
7
|
-
_interceptors: any[];
|
|
8
|
-
get(key: any): any;
|
|
9
|
-
for(key: any): any;
|
|
10
|
-
intercept(interceptor: any): void;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default MultiHook;
|
|
2
|
-
declare class MultiHook {
|
|
3
|
-
constructor(hooks: any, name?: undefined);
|
|
4
|
-
hooks: any;
|
|
5
|
-
name: any;
|
|
6
|
-
tap(options: any, fn: any): void;
|
|
7
|
-
tapAsync(options: any, fn: any): void;
|
|
8
|
-
tapPromise(options: any, fn: any): void;
|
|
9
|
-
isUsed(): boolean;
|
|
10
|
-
intercept(interceptor: any): void;
|
|
11
|
-
withOptions(options: any): MultiHook;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function expandXEUtils(): boolean;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function formatReleaseTime(type: any, time: any): string;
|
|
2
|
-
export function handleLabelColor(item: any, isSelect: any): {
|
|
3
|
-
color: string;
|
|
4
|
-
background: string;
|
|
5
|
-
borderColor: string;
|
|
6
|
-
};
|
|
7
|
-
export default XEUtils;
|
|
8
|
-
export { moment };
|
|
9
|
-
import XEUtils from "xe-utils";
|
|
10
|
-
import moment from "moment";
|