cnhis-design-vue 3.1.40-beta.2 → 3.1.40-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -123
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/form-config/index.d.ts +22 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +22 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +11 -0
- package/es/components/form-render/index.d.ts +11 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +11 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -0
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +4 -0
- package/es/components/form-render/test/basic-config.spec.d.ts +1 -0
- package/es/components/form-render/test/renderer.spec.d.ts +1 -0
- package/es/components/info-header/index.d.ts +18 -3
- package/es/components/info-header/src/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -0
- package/es/components/shortcut-provider/index.d.ts +15 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +15 -1
- package/es/components/shortcut-setter/index.d.ts +11 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +11 -0
- package/es/env.d.ts +24 -24
- package/es/node_modules/@formily/reactive/esm/action.js +19 -0
- package/es/node_modules/@formily/reactive/esm/annotations/box.js +51 -0
- package/es/node_modules/@formily/reactive/esm/annotations/computed.js +134 -0
- package/es/node_modules/@formily/reactive/esm/annotations/observable.js +43 -0
- package/es/node_modules/@formily/reactive/esm/annotations/ref.js +55 -0
- package/es/node_modules/@formily/reactive/esm/annotations/shallow.js +43 -0
- package/es/node_modules/@formily/reactive/esm/array.js +49 -0
- package/es/node_modules/@formily/reactive/esm/autorun.js +14 -0
- package/es/node_modules/@formily/reactive/esm/batch.js +19 -0
- package/es/node_modules/@formily/reactive/esm/checkers.js +25 -0
- package/es/node_modules/@formily/reactive/esm/environment.js +18 -0
- package/es/node_modules/@formily/reactive/esm/externals.js +44 -0
- package/es/node_modules/@formily/reactive/esm/handlers.js +265 -0
- package/es/node_modules/@formily/reactive/esm/internals.js +114 -0
- package/es/node_modules/@formily/reactive/esm/observable.js +19 -0
- package/es/node_modules/@formily/reactive/esm/reaction.js +193 -0
- package/es/node_modules/@formily/reactive/esm/tree.js +67 -0
- package/es/node_modules/@formily/reactive/esm/untracked.js +6 -0
- package/es/{components → packages/components}/big-table/src/BigTable.vue.js +1 -1
- package/es/{components/scale-view → packages/components/big-table}/src/components/NoData.vue.js +1 -1
- package/es/{components → packages/components}/big-table/src/components/edit-form/edit-separate.vue.js +1 -1
- package/es/{components → packages/components}/big-table/src/components/input-button.vue.js +1 -1
- package/es/{components → packages/components}/big-table/src/components/separate.vue.js +1 -1
- package/es/{components → packages/components}/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
- package/es/{components → packages/components}/button-print/src/ButtonPrint.vue.js +1 -1
- package/es/{components → packages/components}/button-print/src/components/EditFormat.vue.js +1 -1
- package/es/{components → packages/components}/button-print/src/components/IdentityVerification.vue.js +1 -1
- package/es/{components → packages/components}/button-print/src/components/Preview.vue.js +1 -1
- package/es/{components → packages/components}/fabric-chart/src/FabricChart.vue.js +1 -1
- package/es/{components → packages/components}/fabric-chart/src/components/PopupTip.vue.js +1 -1
- package/es/{components → packages/components}/field-set/src/FieldSet.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/FormConfig.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/{components → packages/components}/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/{components → packages/components}/form-render/src/FormRender.vue.js +10 -3
- package/es/{components → packages/components}/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/{components → packages/components}/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -1
- package/es/{components → packages/components}/form-render/src/components/tooltipMessage.vue.js +1 -1
- package/es/packages/components/form-render/src/hooks/useAutoHidden.js +37 -0
- package/es/{components → packages/components}/iho-table/src/IhoTable.vue.js +1 -1
- package/es/{components → packages/components}/iho-table/src/plugins/filterPlugin/filter.vue.js +1 -1
- package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -1
- package/es/{components → packages/components}/info-header/src/HiddenContent.vue.js +1 -1
- package/es/{components → packages/components}/info-header/src/InfoEllipsis.vue.js +1 -1
- package/es/{components → packages/components}/info-header/src/InfoHeader.vue.js +34 -20
- package/es/{components → packages/components}/keyboard/src/Keyboard.vue.js +1 -1
- package/es/{components → packages/components}/keyboard/src/components/InputNumber.vue.js +1 -1
- package/es/{components → packages/components}/keyboard/src/components/NumberPanel.vue.js +1 -1
- package/es/{components → packages/components}/map/src/Map.vue.js +1 -1
- package/es/{components → packages/components}/recommend-search/src/RecommendSearch.vue.js +1 -1
- package/es/{components → packages/components}/recommend-search/src/components/BaseSearch.vue.js +1 -1
- package/es/{components → packages/components}/recommend-search/src/components/RecommendInput.vue.js +1 -1
- package/es/{components → packages/components}/recommend-search/src/components/RecommendMenu.vue.js +1 -1
- package/es/{components → packages/components}/recommend-search/src/components/RecommendSelect.vue.js +1 -1
- package/es/{components → packages/components}/scale-view/src/ScaleView.vue.js +2 -2
- package/es/{components → packages/components}/scale-view/src/components/AnswerParse.vue.js +1 -1
- package/es/{components → packages/components}/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
- package/es/{components → packages/components}/scale-view/src/components/EvaluatePage.vue.js +1 -1
- package/es/{components → packages/components}/scale-view/src/components/LoadingCom.vue.js +1 -1
- package/es/{components/big-table → packages/components/scale-view}/src/components/NoData.vue.js +1 -1
- package/es/{components → packages/components}/search-cascader/src/SearchCascader.vue.js +1 -1
- package/es/{components → packages/components}/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/{components → packages/components}/select-label/src/SelectLabel.vue.js +1 -1
- package/es/{components → packages/components}/select-label/src/components/label-classify.vue.js +1 -1
- package/es/{components → packages/components}/select-person/src/SelectPerson.vue.js +1 -1
- package/es/{components → packages/components}/shortcut-provider/src/ShortcutProvider.vue.js +8 -3
- package/es/{components → packages/components}/shortcut-setter/src/ShortcutSetter.vue.js +1 -1
- package/es/{components → packages/components}/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -1
- package/es/{components → packages/components}/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/{components → packages/components}/time-line/src/TimeLine.vue.js +1 -1
- package/es/{components → packages/components}/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -1
- package/es/{components → packages/components}/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
- package/es/{shared → packages/shared}/components/SelectPage/SelectPage.vue.js +1 -1
- package/es/{shared → packages/shared}/components/SvgIcon/SvgIcon.vue.js +1 -1
- package/es/{shared → packages/shared}/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
- package/es/{shared → packages/shared}/components/no-data/NoData.vue.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- /package/es/{components → packages/components}/annotation-edit/index.js +0 -0
- /package/es/{components → packages/components}/annotation-edit/src/AnnotationEdit.js +0 -0
- /package/es/{components → packages/components}/annotation-edit/src/type.js +0 -0
- /package/es/{components → packages/components}/big-table/index.js +0 -0
- /package/es/{components → packages/components}/big-table/src/BigTable.vue2.js +0 -0
- /package/es/{components → packages/components}/big-table/src/bigTableEmits.js +0 -0
- /package/es/{components → packages/components}/big-table/src/bigTableProps.js +0 -0
- /package/es/{components → packages/components}/big-table/src/bigTableState.js +0 -0
- /package/es/{components → packages/components}/big-table/src/components/edit-form/edit-date.js +0 -0
- /package/es/{components → packages/components}/big-table/src/components/edit-form/edit-input.js +0 -0
- /package/es/{components → packages/components}/big-table/src/components/edit-form/edit-select.js +0 -0
- /package/es/{components → packages/components}/big-table/src/components/edit-form/edit-time.js +0 -0
- /package/es/{components → packages/components}/big-table/src/components/edit-form/useCommon.js +0 -0
- /package/es/{components → packages/components}/big-table/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useAnchor.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useAnnotation.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useBatchEditing.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useEdit.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useEvent.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useFormat.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useNestTable.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useSeparateRow.js +0 -0
- /package/es/{components → packages/components}/big-table/src/hooks/useTableParse.js +0 -0
- /package/es/{components → packages/components}/big-table/src/utils.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/index.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.js +0 -0
- /package/es/{components → packages/components}/bpmn-workflow/src/custom/customOtherModule/zoomScroll.js +0 -0
- /package/es/{components → packages/components}/button-print/index.js +0 -0
- /package/es/{components → packages/components}/button-print/src/ButtonPrint.vue2.js +0 -0
- /package/es/{components → packages/components}/button-print/src/components/Preview.vue2.js +0 -0
- /package/es/{components → packages/components}/button-print/src/utils/browserPrint.js +0 -0
- /package/es/{components → packages/components}/button-print/src/utils/dialog.js +0 -0
- /package/es/{components → packages/components}/button-print/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/button-print/src/utils/print.js +0 -0
- /package/es/{components → packages/components}/editor/index.js +0 -0
- /package/es/{components → packages/components}/editor/src/Editor.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/index.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/components/PopupMenu.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/components/useStyle.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/constant.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useBirthProcess.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useBirthProcessChart.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useBottom.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useCenter.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useCommon.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useCumputedPoint.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useDraw.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useEvent.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useGrid.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useLeft.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useOther.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useRight.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useShadow.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useTemperatureChart.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/hooks/useTop.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/interface.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/fabric-chart/src/utils/utils.js +0 -0
- /package/es/{components → packages/components}/field-set/index.js +0 -0
- /package/es/{components → packages/components}/form-config/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/components/FormConfigMaterialItem.js +0 -0
- /package/es/{components → packages/components}/form-config/src/components/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/components/renderer/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/hooks/useConfigurationField.js +0 -0
- /package/es/{components → packages/components}/form-config/src/hooks/useDataNormalize.js +0 -0
- /package/es/{components → packages/components}/form-config/src/hooks/usePresetRenderer.js +0 -0
- /package/es/{components → packages/components}/form-config/src/hooks/useSortalbeConfig.js +0 -0
- /package/es/{components → packages/components}/form-config/src/types/index.js +0 -0
- /package/es/{components → packages/components}/form-config/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/form-render/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/combination.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/complex.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/date.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/formItem.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/input.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/inputGroup.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/inputNumber.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/jsonCombination/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/levelSearchCascader.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/lineBar/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/radio_checkbox.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/remoteSearch.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/searchCascade.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/select.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/simpleComponent.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/slider.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/switch.js +0 -0
- /package/es/{components → packages/components}/form-render/src/components/renderer/textarea.js +0 -0
- /package/es/{components → packages/components}/form-render/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useAnchor.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useAsyncQueue.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useBusinessBinding.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useChangeContext.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useCommonInjection.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useCommonLog.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useComplexOptions.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFieldListAdaptor.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFieldNormalize.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFieldVisitor.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormContext.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormEvent.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormField.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormItemDeps.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormRenderLifeCycle.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormRenderOptions.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormRequest.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useFormValidator.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useLowCodeReactions.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/useNuiThemeOverrides.js +0 -0
- /package/es/{components → packages/components}/form-render/src/hooks/usePresetScope.js +0 -0
- /package/es/{components → packages/components}/form-render/src/types/fieldItem.js +0 -0
- /package/es/{components → packages/components}/form-render/src/types/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/utils/business.js +0 -0
- /package/es/{components → packages/components}/form-render/src/utils/dom.js +0 -0
- /package/es/{components → packages/components}/form-render/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/form-render/src/utils/schema.js +0 -0
- /package/es/{components → packages/components}/grid/index.js +0 -0
- /package/es/{components → packages/components}/grid/src/Grid.js +0 -0
- /package/es/{components → packages/components}/grid/src/hooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/export.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useConfigHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useDataHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useEventHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useExposeHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useFieldHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/tapHooks/useSetupHooks.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/useColumnConfigAdaptor.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/useTableContext.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/hooks/useTablePlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/anchorPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/anchorPlugin/tableAnchor.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/anchorPlugin/useAnchor.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/filterPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/filterPlugin/types.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rowClickPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rowGroupSettingPlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/plugins/virtualTreePlugin/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/types/index.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/types/pluginType.js +0 -0
- /package/es/{components → packages/components}/iho-table/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/index.js +0 -0
- /package/es/{components → packages/components}/info-header/index.js +0 -0
- /package/es/{components → packages/components}/insurance-sdk/index.js +0 -0
- /package/es/{components → packages/components}/insurance-sdk/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/insurance-sdk/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/insurance-sdk/src/utils/insurance.js +0 -0
- /package/es/{components → packages/components}/keyboard/index.js +0 -0
- /package/es/{components → packages/components}/keyboard/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/map/index.js +0 -0
- /package/es/{components → packages/components}/recommend-search/index.js +0 -0
- /package/es/{components → packages/components}/recommend-search/src/constant/index.js +0 -0
- /package/es/{components → packages/components}/recommend-search/src/types/index.js +0 -0
- /package/es/{components → packages/components}/scale-view/index.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/ScaleScore.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/composables/choose-common.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/address.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-address.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-cascader.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-checkbox.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-collection.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-datetime.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-input.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-map.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-radio.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-select.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-sign.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/r-upload.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/sign-com.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/components/formitem/standard-modal.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-computed.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-init.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-props.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-state.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-submit.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/scaleview-validate.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/use-component.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/use-evaluate.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/use-event.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/hooks/use-noData.js +0 -0
- /package/es/{components → packages/components}/scale-view/src/utils/judge-types.js +0 -0
- /package/es/{components → packages/components}/search-cascader/index.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/components/SearchMenu.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/components/index.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/hooks/useCssVariable.js +0 -0
- /package/es/{components → packages/components}/search-cascader/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/select-label/index.js +0 -0
- /package/es/{components → packages/components}/select-label/src/SelectLabel.vue2.js +0 -0
- /package/es/{components → packages/components}/select-person/index.js +0 -0
- /package/es/{components → packages/components}/select-person/src/SelectPerson.vue2.js +0 -0
- /package/es/{components → packages/components}/select-person/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/constants/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/hooks/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/hooks/useShortcutSignature.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/hooks/useShortcuts.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/types/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-provider/src/utils/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-setter/index.js +0 -0
- /package/es/{components → packages/components}/shortcut-setter/src/types/index.js +0 -0
- /package/es/{components → packages/components}/steps-wheel/index.js +0 -0
- /package/es/{components → packages/components}/time-line/index.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/index.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/hooks/upload-computed.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/hooks/upload-data.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/hooks/vod-computed.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/hooks/vod-data.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/vod-chunk-upload/index.js +0 -0
- /package/es/{components → packages/components}/vod-chunk-upload/src/vod-upload-modal.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/failure.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/no-permission.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/nodata.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/notfound.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/qr.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/success.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/video.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/video_default_cover.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/xb_big.png.js +0 -0
- /package/es/{shared → packages/shared}/assets/img/xb_small.png.js +0 -0
- /package/es/{shared → packages/shared}/components/SelectPage/index.js +0 -0
- /package/es/{shared → packages/shared}/components/SlotRender/SlotRender.js +0 -0
- /package/es/{shared → packages/shared}/components/SlotRender/index.js +0 -0
- /package/es/{shared → packages/shared}/components/SvgIcon/index.js +0 -0
- /package/es/{shared → packages/shared}/components/TextOverTooltip/index.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/index.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/core/componentBuilderHelper.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/core/componentStructure.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/core/renderHelper.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/core/sortableEvents.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/util/console.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/util/htmlHelper.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/util/string.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/util/tags.js +0 -0
- /package/es/{shared → packages/shared}/components/VueDraggable/src/vuedraggable.js +0 -0
- /package/es/{shared → packages/shared}/components/no-data/index.js +0 -0
- /package/es/{shared → packages/shared}/components/player-vod/player.js +0 -0
- /package/es/{shared → packages/shared}/components/player-vod/video-modal.js +0 -0
- /package/es/{shared → packages/shared}/global/variable.js +0 -0
- /package/es/{shared → packages/shared}/index.js +0 -0
- /package/es/{shared → packages/shared}/types/index.js +0 -0
- /package/es/{shared → packages/shared}/utils/anime.js +0 -0
- /package/es/{shared → packages/shared}/utils/colorLog.js +0 -0
- /package/es/{shared → packages/shared}/utils/index.js +0 -0
- /package/es/{shared → packages/shared}/utils/loadViewer.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncParallelBailHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncParallelHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncSeriesBailHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncSeriesHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncSeriesLoopHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/AsyncSeriesWaterfallHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/Hook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/HookCodeFactory.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/SyncBailHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/SyncHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/SyncLoopHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/tapable/SyncWaterfallHook.js +0 -0
- /package/es/{shared → packages/shared}/utils/utilExpand.js +0 -0
- /package/es/{shared → packages/shared}/utils/vexutils.js +0 -0
|
@@ -5,11 +5,19 @@ declare const ShortcutProvider: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
5
5
|
scope: {
|
|
6
6
|
type: (SymbolConstructor | StringConstructor)[];
|
|
7
7
|
};
|
|
8
|
+
autoFocus: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
8
12
|
}, {
|
|
9
13
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10
14
|
scope: {
|
|
11
15
|
type: (SymbolConstructor | StringConstructor)[];
|
|
12
16
|
};
|
|
17
|
+
autoFocus: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
13
21
|
}>> & {}>>;
|
|
14
22
|
shortcutWrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
15
23
|
manager: import("./src/hooks").ShortcutManager;
|
|
@@ -17,5 +25,11 @@ declare const ShortcutProvider: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
17
25
|
scope: {
|
|
18
26
|
type: (SymbolConstructor | StringConstructor)[];
|
|
19
27
|
};
|
|
20
|
-
|
|
28
|
+
autoFocus: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
autoFocus: boolean;
|
|
34
|
+
}>>;
|
|
21
35
|
export default ShortcutProvider;
|
|
@@ -3,11 +3,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
scope: {
|
|
4
4
|
type: (SymbolConstructor | StringConstructor)[];
|
|
5
5
|
};
|
|
6
|
+
autoFocus: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
}, {
|
|
7
11
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
12
|
scope: {
|
|
9
13
|
type: (SymbolConstructor | StringConstructor)[];
|
|
10
14
|
};
|
|
15
|
+
autoFocus: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
11
19
|
}>> & {}>>;
|
|
12
20
|
shortcutWrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
13
21
|
manager: ShortcutManager;
|
|
@@ -15,5 +23,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
23
|
scope: {
|
|
16
24
|
type: (SymbolConstructor | StringConstructor)[];
|
|
17
25
|
};
|
|
18
|
-
|
|
26
|
+
autoFocus: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
autoFocus: boolean;
|
|
32
|
+
}>;
|
|
19
33
|
export default _default;
|
|
@@ -1846,6 +1846,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1846
1846
|
lowCodeReactions: {
|
|
1847
1847
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
1848
1848
|
};
|
|
1849
|
+
linebarAutoHidden: {
|
|
1850
|
+
type: BooleanConstructor;
|
|
1851
|
+
};
|
|
1849
1852
|
}, {
|
|
1850
1853
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1851
1854
|
fieldList: {
|
|
@@ -1971,6 +1974,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1971
1974
|
lowCodeReactions: {
|
|
1972
1975
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
1973
1976
|
};
|
|
1977
|
+
linebarAutoHidden: {
|
|
1978
|
+
type: BooleanConstructor;
|
|
1979
|
+
};
|
|
1974
1980
|
}>> & {
|
|
1975
1981
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
1976
1982
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -1978,6 +1984,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1978
1984
|
}>>;
|
|
1979
1985
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
1980
1986
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
1987
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
1981
1988
|
formModel: import("@formily/core").Form<{
|
|
1982
1989
|
[x: string]: any;
|
|
1983
1990
|
}>;
|
|
@@ -2458,6 +2465,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2458
2465
|
lowCodeReactions: {
|
|
2459
2466
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
2460
2467
|
};
|
|
2468
|
+
linebarAutoHidden: {
|
|
2469
|
+
type: BooleanConstructor;
|
|
2470
|
+
};
|
|
2461
2471
|
}>> & {
|
|
2462
2472
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2463
2473
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2472,6 +2482,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2472
2482
|
scope: import("../../../es/shared/types").AnyObject;
|
|
2473
2483
|
consumer: boolean;
|
|
2474
2484
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
2485
|
+
linebarAutoHidden: boolean;
|
|
2475
2486
|
}>;
|
|
2476
2487
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2477
2488
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1848,6 +1848,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1848
1848
|
lowCodeReactions: {
|
|
1849
1849
|
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
1850
1850
|
};
|
|
1851
|
+
linebarAutoHidden: {
|
|
1852
|
+
type: BooleanConstructor;
|
|
1853
|
+
};
|
|
1851
1854
|
}, {
|
|
1852
1855
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1853
1856
|
fieldList: {
|
|
@@ -1973,6 +1976,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1973
1976
|
lowCodeReactions: {
|
|
1974
1977
|
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
1975
1978
|
};
|
|
1979
|
+
linebarAutoHidden: {
|
|
1980
|
+
type: BooleanConstructor;
|
|
1981
|
+
};
|
|
1976
1982
|
}>> & {
|
|
1977
1983
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
1978
1984
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -1980,6 +1986,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1980
1986
|
}>>;
|
|
1981
1987
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
1982
1988
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
1989
|
+
triggerAutoHidden: (field: import("../../../../es/components/form-render").GeneralField) => Promise<void>;
|
|
1983
1990
|
formModel: import("../../../../es/components/form-render").Form<{
|
|
1984
1991
|
[x: string]: any;
|
|
1985
1992
|
}>;
|
|
@@ -2460,6 +2467,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2460
2467
|
lowCodeReactions: {
|
|
2461
2468
|
type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
2462
2469
|
};
|
|
2470
|
+
linebarAutoHidden: {
|
|
2471
|
+
type: BooleanConstructor;
|
|
2472
|
+
};
|
|
2463
2473
|
}>> & {
|
|
2464
2474
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2465
2475
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2474,6 +2484,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2474
2484
|
scope: import("../../../../es/shared/types").AnyObject;
|
|
2475
2485
|
consumer: boolean;
|
|
2476
2486
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
2487
|
+
linebarAutoHidden: boolean;
|
|
2477
2488
|
}>;
|
|
2478
2489
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2479
2490
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/es/env.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly VITE_APP_TYPE: string;
|
|
5
|
-
// 更多环境变量...
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface ImportMeta {
|
|
9
|
-
readonly env: ImportMetaEnv;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare module '*.vue' {
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
import type { App, defineComponent } from 'vue';
|
|
15
|
-
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
-
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
-
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
-
install(app: App): void;
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
export default component;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.js';
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly VITE_APP_TYPE: string;
|
|
5
|
+
// 更多环境变量...
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface ImportMeta {
|
|
9
|
+
readonly env: ImportMetaEnv;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.vue' {
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
import type { App, defineComponent } from 'vue';
|
|
15
|
+
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
+
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
+
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
+
install(app: App): void;
|
|
19
|
+
};
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export default component;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare module '*.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { batchEnd, batchStart, batchScopeEnd, untrackEnd, untrackStart, batchScopeStart } from './reaction.js';
|
|
2
|
+
import { createBoundaryAnnotation } from './internals.js';
|
|
3
|
+
|
|
4
|
+
var action = createBoundaryAnnotation(function () {
|
|
5
|
+
batchStart();
|
|
6
|
+
untrackStart();
|
|
7
|
+
}, function () {
|
|
8
|
+
untrackEnd();
|
|
9
|
+
batchEnd();
|
|
10
|
+
});
|
|
11
|
+
action.scope = createBoundaryAnnotation(function () {
|
|
12
|
+
batchScopeStart();
|
|
13
|
+
untrackStart();
|
|
14
|
+
}, function () {
|
|
15
|
+
untrackEnd();
|
|
16
|
+
batchScopeEnd();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export { action };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ProxyRaw, RawProxy } from '../environment.js';
|
|
2
|
+
import { createAnnotation } from '../internals.js';
|
|
3
|
+
import { buildDataTree } from '../tree.js';
|
|
4
|
+
import { bindTargetKeyWithCurrentReaction, runReactionsFromTargetKey } from '../reaction.js';
|
|
5
|
+
|
|
6
|
+
var box = createAnnotation(function (_a) {
|
|
7
|
+
var target = _a.target, key = _a.key, value = _a.value;
|
|
8
|
+
var store = {
|
|
9
|
+
value: target ? target[key] : value,
|
|
10
|
+
};
|
|
11
|
+
var proxy = {
|
|
12
|
+
set: set,
|
|
13
|
+
get: get,
|
|
14
|
+
};
|
|
15
|
+
ProxyRaw.set(proxy, store);
|
|
16
|
+
RawProxy.set(store, proxy);
|
|
17
|
+
buildDataTree(target, key, store);
|
|
18
|
+
function get() {
|
|
19
|
+
bindTargetKeyWithCurrentReaction({
|
|
20
|
+
target: store,
|
|
21
|
+
key: key,
|
|
22
|
+
type: 'get',
|
|
23
|
+
});
|
|
24
|
+
return store.value;
|
|
25
|
+
}
|
|
26
|
+
function set(value) {
|
|
27
|
+
var oldValue = store.value;
|
|
28
|
+
store.value = value;
|
|
29
|
+
if (oldValue !== value) {
|
|
30
|
+
runReactionsFromTargetKey({
|
|
31
|
+
target: store,
|
|
32
|
+
key: key,
|
|
33
|
+
type: 'set',
|
|
34
|
+
oldValue: oldValue,
|
|
35
|
+
value: value,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (target) {
|
|
40
|
+
Object.defineProperty(target, key, {
|
|
41
|
+
value: proxy,
|
|
42
|
+
enumerable: true,
|
|
43
|
+
configurable: false,
|
|
44
|
+
writable: false,
|
|
45
|
+
});
|
|
46
|
+
return target;
|
|
47
|
+
}
|
|
48
|
+
return proxy;
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export { box };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ProxyRaw, RawProxy, ReactionStack } from '../environment.js';
|
|
2
|
+
import { createAnnotation } from '../internals.js';
|
|
3
|
+
import { buildDataTree } from '../tree.js';
|
|
4
|
+
import { isFn } from '../checkers.js';
|
|
5
|
+
import { hasRunningReaction, bindComputedReactions, isUntracking, bindTargetKeyWithCurrentReaction, batchStart, batchEnd, releaseBindingReactions, runReactionsFromTargetKey } from '../reaction.js';
|
|
6
|
+
|
|
7
|
+
var getDescriptor = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var getProto = Object.getPrototypeOf;
|
|
9
|
+
var ClassDescriptorMap = new WeakMap();
|
|
10
|
+
function getPropertyDescriptor(obj, key) {
|
|
11
|
+
if (!obj)
|
|
12
|
+
return;
|
|
13
|
+
return getDescriptor(obj, key) || getPropertyDescriptor(getProto(obj), key);
|
|
14
|
+
}
|
|
15
|
+
function getPropertyDescriptorCache(obj, key) {
|
|
16
|
+
var constructor = obj.constructor;
|
|
17
|
+
if (constructor === Object || constructor === Array)
|
|
18
|
+
return getPropertyDescriptor(obj, key);
|
|
19
|
+
var cache = ClassDescriptorMap.get(constructor) || {};
|
|
20
|
+
var descriptor = cache[key];
|
|
21
|
+
if (descriptor)
|
|
22
|
+
return descriptor;
|
|
23
|
+
var newDesc = getPropertyDescriptor(obj, key);
|
|
24
|
+
ClassDescriptorMap.set(constructor, cache);
|
|
25
|
+
cache[key] = newDesc;
|
|
26
|
+
return newDesc;
|
|
27
|
+
}
|
|
28
|
+
function getPrototypeDescriptor(target, key, value) {
|
|
29
|
+
if (!target) {
|
|
30
|
+
if (value) {
|
|
31
|
+
if (isFn(value)) {
|
|
32
|
+
return { get: value };
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
var descriptor = getPropertyDescriptorCache(target, key);
|
|
41
|
+
if (descriptor) {
|
|
42
|
+
return descriptor;
|
|
43
|
+
}
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
var computed = createAnnotation(function (_a) {
|
|
47
|
+
var target = _a.target, key = _a.key, value = _a.value;
|
|
48
|
+
var store = {};
|
|
49
|
+
var proxy = {};
|
|
50
|
+
var context = target ? target : store;
|
|
51
|
+
var property = target ? key : 'value';
|
|
52
|
+
var descriptor = getPrototypeDescriptor(target, property, value);
|
|
53
|
+
function compute() {
|
|
54
|
+
var _a;
|
|
55
|
+
store.value = (_a = descriptor.get) === null || _a === void 0 ? void 0 : _a.call(context);
|
|
56
|
+
}
|
|
57
|
+
function reaction() {
|
|
58
|
+
if (ReactionStack.indexOf(reaction) === -1) {
|
|
59
|
+
releaseBindingReactions(reaction);
|
|
60
|
+
try {
|
|
61
|
+
ReactionStack.push(reaction);
|
|
62
|
+
compute();
|
|
63
|
+
}
|
|
64
|
+
finally {
|
|
65
|
+
ReactionStack.pop();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
reaction._name = 'ComputedReaction';
|
|
70
|
+
reaction._scheduler = function () {
|
|
71
|
+
reaction._dirty = true;
|
|
72
|
+
runReactionsFromTargetKey({
|
|
73
|
+
target: context,
|
|
74
|
+
key: property,
|
|
75
|
+
value: store.value,
|
|
76
|
+
type: 'set',
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
reaction._isComputed = true;
|
|
80
|
+
reaction._dirty = true;
|
|
81
|
+
reaction._context = context;
|
|
82
|
+
reaction._property = property;
|
|
83
|
+
function get() {
|
|
84
|
+
if (hasRunningReaction()) {
|
|
85
|
+
bindComputedReactions(reaction);
|
|
86
|
+
}
|
|
87
|
+
if (!isUntracking()) {
|
|
88
|
+
//如果允许untracked过程中收集依赖,那么永远不会存在绑定,因为_dirty已经设置为false
|
|
89
|
+
if (reaction._dirty) {
|
|
90
|
+
reaction();
|
|
91
|
+
reaction._dirty = false;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
compute();
|
|
96
|
+
}
|
|
97
|
+
bindTargetKeyWithCurrentReaction({
|
|
98
|
+
target: context,
|
|
99
|
+
key: property,
|
|
100
|
+
type: 'get',
|
|
101
|
+
});
|
|
102
|
+
return store.value;
|
|
103
|
+
}
|
|
104
|
+
function set(value) {
|
|
105
|
+
var _a;
|
|
106
|
+
try {
|
|
107
|
+
batchStart();
|
|
108
|
+
(_a = descriptor.set) === null || _a === void 0 ? void 0 : _a.call(context, value);
|
|
109
|
+
}
|
|
110
|
+
finally {
|
|
111
|
+
batchEnd();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
if (target) {
|
|
115
|
+
Object.defineProperty(target, key, {
|
|
116
|
+
get: get,
|
|
117
|
+
set: set,
|
|
118
|
+
enumerable: true,
|
|
119
|
+
});
|
|
120
|
+
return target;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
Object.defineProperty(proxy, 'value', {
|
|
124
|
+
set: set,
|
|
125
|
+
get: get,
|
|
126
|
+
});
|
|
127
|
+
buildDataTree(target, key, store);
|
|
128
|
+
ProxyRaw.set(proxy, store);
|
|
129
|
+
RawProxy.set(store, proxy);
|
|
130
|
+
}
|
|
131
|
+
return proxy;
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
export { computed };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createAnnotation, createObservable } from '../internals.js';
|
|
2
|
+
import { bindTargetKeyWithCurrentReaction, runReactionsFromTargetKey } from '../reaction.js';
|
|
3
|
+
|
|
4
|
+
var observable = createAnnotation(function (_a) {
|
|
5
|
+
var target = _a.target, key = _a.key, value = _a.value;
|
|
6
|
+
var store = {
|
|
7
|
+
value: createObservable(target, key, target ? target[key] : value),
|
|
8
|
+
};
|
|
9
|
+
function get() {
|
|
10
|
+
bindTargetKeyWithCurrentReaction({
|
|
11
|
+
target: target,
|
|
12
|
+
key: key,
|
|
13
|
+
type: 'get',
|
|
14
|
+
});
|
|
15
|
+
return store.value;
|
|
16
|
+
}
|
|
17
|
+
function set(value) {
|
|
18
|
+
var oldValue = store.value;
|
|
19
|
+
value = createObservable(target, key, value);
|
|
20
|
+
store.value = value;
|
|
21
|
+
if (oldValue === value)
|
|
22
|
+
return;
|
|
23
|
+
runReactionsFromTargetKey({
|
|
24
|
+
target: target,
|
|
25
|
+
key: key,
|
|
26
|
+
type: 'set',
|
|
27
|
+
oldValue: oldValue,
|
|
28
|
+
value: value,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
if (target) {
|
|
32
|
+
Object.defineProperty(target, key, {
|
|
33
|
+
set: set,
|
|
34
|
+
get: get,
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: false,
|
|
37
|
+
});
|
|
38
|
+
return target;
|
|
39
|
+
}
|
|
40
|
+
return store.value;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export { observable };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ProxyRaw, RawProxy } from '../environment.js';
|
|
2
|
+
import { createAnnotation } from '../internals.js';
|
|
3
|
+
import { buildDataTree } from '../tree.js';
|
|
4
|
+
import { bindTargetKeyWithCurrentReaction, runReactionsFromTargetKey } from '../reaction.js';
|
|
5
|
+
|
|
6
|
+
var ref = createAnnotation(function (_a) {
|
|
7
|
+
var target = _a.target, key = _a.key, value = _a.value;
|
|
8
|
+
var store = {
|
|
9
|
+
value: target ? target[key] : value,
|
|
10
|
+
};
|
|
11
|
+
var proxy = {};
|
|
12
|
+
var context = target ? target : store;
|
|
13
|
+
var property = target ? key : 'value';
|
|
14
|
+
function get() {
|
|
15
|
+
bindTargetKeyWithCurrentReaction({
|
|
16
|
+
target: context,
|
|
17
|
+
key: property,
|
|
18
|
+
type: 'get',
|
|
19
|
+
});
|
|
20
|
+
return store.value;
|
|
21
|
+
}
|
|
22
|
+
function set(value) {
|
|
23
|
+
var oldValue = store.value;
|
|
24
|
+
store.value = value;
|
|
25
|
+
if (oldValue !== value) {
|
|
26
|
+
runReactionsFromTargetKey({
|
|
27
|
+
target: context,
|
|
28
|
+
key: property,
|
|
29
|
+
type: 'set',
|
|
30
|
+
oldValue: oldValue,
|
|
31
|
+
value: value,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (target) {
|
|
36
|
+
Object.defineProperty(target, key, {
|
|
37
|
+
get: get,
|
|
38
|
+
set: set,
|
|
39
|
+
enumerable: true,
|
|
40
|
+
});
|
|
41
|
+
return target;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
Object.defineProperty(proxy, 'value', {
|
|
45
|
+
set: set,
|
|
46
|
+
get: get,
|
|
47
|
+
});
|
|
48
|
+
buildDataTree(target, key, store);
|
|
49
|
+
ProxyRaw.set(proxy, store);
|
|
50
|
+
RawProxy.set(store, proxy);
|
|
51
|
+
}
|
|
52
|
+
return proxy;
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export { ref };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createAnnotation, createObservable } from '../internals.js';
|
|
2
|
+
import { bindTargetKeyWithCurrentReaction, runReactionsFromTargetKey } from '../reaction.js';
|
|
3
|
+
|
|
4
|
+
var shallow = createAnnotation(function (_a) {
|
|
5
|
+
var target = _a.target, key = _a.key, value = _a.value;
|
|
6
|
+
var store = {
|
|
7
|
+
value: createObservable(target, key, target ? target[key] : value, true),
|
|
8
|
+
};
|
|
9
|
+
function get() {
|
|
10
|
+
bindTargetKeyWithCurrentReaction({
|
|
11
|
+
target: target,
|
|
12
|
+
key: key,
|
|
13
|
+
type: 'get',
|
|
14
|
+
});
|
|
15
|
+
return store.value;
|
|
16
|
+
}
|
|
17
|
+
function set(value) {
|
|
18
|
+
var oldValue = store.value;
|
|
19
|
+
value = createObservable(target, key, value, true);
|
|
20
|
+
store.value = value;
|
|
21
|
+
if (oldValue === value)
|
|
22
|
+
return;
|
|
23
|
+
runReactionsFromTargetKey({
|
|
24
|
+
target: target,
|
|
25
|
+
key: key,
|
|
26
|
+
type: 'set',
|
|
27
|
+
oldValue: oldValue,
|
|
28
|
+
value: value,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
if (target) {
|
|
32
|
+
Object.defineProperty(target, key, {
|
|
33
|
+
set: set,
|
|
34
|
+
get: get,
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: false,
|
|
37
|
+
});
|
|
38
|
+
return target;
|
|
39
|
+
}
|
|
40
|
+
return store.value;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export { shallow };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var ArraySet = /** @class */ (function () {
|
|
2
|
+
function ArraySet(value) {
|
|
3
|
+
if (value === void 0) { value = []; }
|
|
4
|
+
this.forEachIndex = 0;
|
|
5
|
+
this.value = value;
|
|
6
|
+
}
|
|
7
|
+
ArraySet.prototype.add = function (item) {
|
|
8
|
+
if (!this.has(item)) {
|
|
9
|
+
this.value.push(item);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
ArraySet.prototype.has = function (item) {
|
|
13
|
+
return this.value.indexOf(item) > -1;
|
|
14
|
+
};
|
|
15
|
+
ArraySet.prototype.delete = function (item) {
|
|
16
|
+
var findIndex = this.value.indexOf(item);
|
|
17
|
+
if (findIndex > -1) {
|
|
18
|
+
this.value.splice(findIndex, 1);
|
|
19
|
+
if (findIndex <= this.forEachIndex) {
|
|
20
|
+
this.forEachIndex -= 1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
ArraySet.prototype.forEach = function (callback) {
|
|
25
|
+
if (this.value.length === 0)
|
|
26
|
+
return;
|
|
27
|
+
this.forEachIndex = 0;
|
|
28
|
+
for (; this.forEachIndex < this.value.length; this.forEachIndex++) {
|
|
29
|
+
callback(this.value[this.forEachIndex]);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
ArraySet.prototype.batchDelete = function (callback) {
|
|
33
|
+
if (this.value.length === 0)
|
|
34
|
+
return;
|
|
35
|
+
this.forEachIndex = 0;
|
|
36
|
+
for (; this.forEachIndex < this.value.length; this.forEachIndex++) {
|
|
37
|
+
var value = this.value[this.forEachIndex];
|
|
38
|
+
this.value.splice(this.forEachIndex, 1);
|
|
39
|
+
this.forEachIndex--;
|
|
40
|
+
callback(value);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
ArraySet.prototype.clear = function () {
|
|
44
|
+
this.value.length = 0;
|
|
45
|
+
};
|
|
46
|
+
return ArraySet;
|
|
47
|
+
}());
|
|
48
|
+
|
|
49
|
+
export { ArraySet };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './array.js';
|
|
2
|
+
import './environment.js';
|
|
3
|
+
|
|
4
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
|
+
__assign = Object.assign || function(t) {
|
|
6
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7
|
+
s = arguments[i];
|
|
8
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
9
|
+
t[p] = s[p];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
return __assign.apply(this, arguments);
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { batchEnd, batchStart, batchScopeEnd, batchScopeStart } from './reaction.js';
|
|
2
|
+
import { BatchCount, BatchEndpoints } from './environment.js';
|
|
3
|
+
import { createBoundaryAnnotation } from './internals.js';
|
|
4
|
+
import { isFn } from './checkers.js';
|
|
5
|
+
|
|
6
|
+
var batch = createBoundaryAnnotation(batchStart, batchEnd);
|
|
7
|
+
batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
|
|
8
|
+
batch.endpoint = function (callback) {
|
|
9
|
+
if (!isFn(callback))
|
|
10
|
+
return;
|
|
11
|
+
if (BatchCount.value === 0) {
|
|
12
|
+
callback();
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
BatchEndpoints.add(callback);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { batch };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var toString = Object.prototype.toString;
|
|
2
|
+
var isMap = function (val) {
|
|
3
|
+
return val && val instanceof Map;
|
|
4
|
+
};
|
|
5
|
+
var isSet = function (val) { return val && val instanceof Set; };
|
|
6
|
+
var isWeakMap = function (val) {
|
|
7
|
+
return val && val instanceof WeakMap;
|
|
8
|
+
};
|
|
9
|
+
var isWeakSet = function (val) {
|
|
10
|
+
return val && val instanceof WeakSet;
|
|
11
|
+
};
|
|
12
|
+
var isFn = function (val) { return typeof val === 'function'; };
|
|
13
|
+
var isArr = Array.isArray;
|
|
14
|
+
var isPlainObj = function (val) {
|
|
15
|
+
return toString.call(val) === '[object Object]';
|
|
16
|
+
};
|
|
17
|
+
var isValid = function (val) { return val !== null && val !== undefined; };
|
|
18
|
+
var isCollectionType = function (target) {
|
|
19
|
+
return (isMap(target) || isWeakMap(target) || isSet(target) || isWeakSet(target));
|
|
20
|
+
};
|
|
21
|
+
var isNormalType = function (target) {
|
|
22
|
+
return isPlainObj(target) || isArr(target);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { isArr, isCollectionType, isFn, isMap, isNormalType, isPlainObj, isSet, isValid, isWeakMap, isWeakSet };
|