cnhis-design-vue 3.1.40-beta.4 → 3.1.40-beta.5
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/{packages/components → components}/big-table/src/BigTable.vue.js +1 -1
- package/es/{packages/components/scale-view → components/big-table}/src/components/NoData.vue.js +1 -1
- package/es/{packages/components → components}/big-table/src/components/edit-form/edit-separate.vue.js +1 -1
- package/es/{packages/components → components}/big-table/src/components/input-button.vue.js +1 -1
- package/es/{packages/components → components}/big-table/src/components/separate.vue.js +1 -1
- package/es/{packages/components → components}/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
- package/es/{packages/components → components}/button-print/src/ButtonPrint.vue.js +1 -1
- package/es/{packages/components → components}/button-print/src/components/EditFormat.vue.js +1 -1
- package/es/{packages/components → components}/button-print/src/components/IdentityVerification.vue.js +1 -1
- package/es/{packages/components → components}/button-print/src/components/Preview.vue.js +1 -1
- package/es/{packages/components → components}/fabric-chart/src/FabricChart.vue.js +1 -1
- package/es/{packages/components → components}/fabric-chart/src/components/PopupTip.vue.js +1 -1
- package/es/{packages/components → components}/field-set/src/FieldSet.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/FormConfig.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/{packages/components → components}/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/{packages/components → components}/form-render/src/FormRender.vue.js +1 -1
- package/es/{packages/components → components}/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/{packages/components → components}/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -1
- package/es/{packages/components → components}/form-render/src/components/tooltipMessage.vue.js +1 -1
- package/es/{packages/components → components}/form-render/src/hooks/useAutoHidden.js +1 -9
- package/es/{packages/components → components}/iho-table/src/IhoTable.vue.js +1 -1
- package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/filter.vue.js +1 -1
- package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -1
- package/es/{packages/components → components}/info-header/src/HiddenContent.vue.js +1 -1
- package/es/{packages/components → components}/info-header/src/InfoEllipsis.vue.js +1 -1
- package/es/{packages/components → components}/info-header/src/InfoHeader.vue.js +1 -1
- package/es/{packages/components → components}/keyboard/src/Keyboard.vue.js +1 -1
- package/es/{packages/components → components}/keyboard/src/components/InputNumber.vue.js +1 -1
- package/es/{packages/components → components}/keyboard/src/components/NumberPanel.vue.js +1 -1
- package/es/{packages/components → components}/map/src/Map.vue.js +1 -1
- package/es/{packages/components → components}/recommend-search/src/RecommendSearch.vue.js +1 -1
- package/es/{packages/components → components}/recommend-search/src/components/BaseSearch.vue.js +1 -1
- package/es/{packages/components → components}/recommend-search/src/components/RecommendInput.vue.js +1 -1
- package/es/{packages/components → components}/recommend-search/src/components/RecommendMenu.vue.js +1 -1
- package/es/{packages/components → components}/recommend-search/src/components/RecommendSelect.vue.js +1 -1
- package/es/{packages/components → components}/scale-view/src/ScaleView.vue.js +1 -1
- package/es/{packages/components → components}/scale-view/src/components/AnswerParse.vue.js +1 -1
- package/es/{packages/components → components}/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
- package/es/{packages/components → components}/scale-view/src/components/EvaluatePage.vue.js +1 -1
- package/es/{packages/components → components}/scale-view/src/components/LoadingCom.vue.js +1 -1
- package/es/{packages/components/big-table → components/scale-view}/src/components/NoData.vue.js +1 -1
- package/es/{packages/components → components}/search-cascader/src/SearchCascader.vue.js +1 -1
- package/es/{packages/components → components}/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/{packages/components → components}/select-label/src/SelectLabel.vue.js +1 -1
- package/es/{packages/components → components}/select-label/src/components/label-classify.vue.js +1 -1
- package/es/{packages/components → components}/select-person/src/SelectPerson.vue.js +1 -1
- package/es/{packages/components → components}/shortcut-provider/src/ShortcutProvider.vue.js +1 -1
- package/es/{packages/components → components}/shortcut-setter/src/ShortcutSetter.vue.js +1 -1
- package/es/{packages/components → components}/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -1
- package/es/{packages/components → components}/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/{packages/components → components}/time-line/src/TimeLine.vue.js +1 -1
- package/es/{packages/components → components}/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -1
- package/es/{packages/components → components}/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
- package/es/{packages/shared → shared}/components/SelectPage/SelectPage.vue.js +1 -1
- package/es/{packages/shared → shared}/components/SvgIcon/SvgIcon.vue.js +1 -1
- package/es/{packages/shared → shared}/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
- package/es/{packages/shared → shared}/components/no-data/NoData.vue.js +1 -1
- package/package.json +3 -2
- package/es/node_modules/@formily/reactive/esm/action.js +0 -19
- package/es/node_modules/@formily/reactive/esm/annotations/box.js +0 -51
- package/es/node_modules/@formily/reactive/esm/annotations/computed.js +0 -134
- package/es/node_modules/@formily/reactive/esm/annotations/observable.js +0 -43
- package/es/node_modules/@formily/reactive/esm/annotations/ref.js +0 -55
- package/es/node_modules/@formily/reactive/esm/annotations/shallow.js +0 -43
- package/es/node_modules/@formily/reactive/esm/array.js +0 -49
- package/es/node_modules/@formily/reactive/esm/autorun.js +0 -14
- package/es/node_modules/@formily/reactive/esm/batch.js +0 -19
- package/es/node_modules/@formily/reactive/esm/checkers.js +0 -25
- package/es/node_modules/@formily/reactive/esm/environment.js +0 -18
- package/es/node_modules/@formily/reactive/esm/externals.js +0 -44
- package/es/node_modules/@formily/reactive/esm/handlers.js +0 -265
- package/es/node_modules/@formily/reactive/esm/internals.js +0 -114
- package/es/node_modules/@formily/reactive/esm/observable.js +0 -19
- package/es/node_modules/@formily/reactive/esm/reaction.js +0 -193
- package/es/node_modules/@formily/reactive/esm/tree.js +0 -67
- package/es/node_modules/@formily/reactive/esm/untracked.js +0 -6
- /package/es/{packages/components → components}/annotation-edit/index.js +0 -0
- /package/es/{packages/components → components}/annotation-edit/src/AnnotationEdit.js +0 -0
- /package/es/{packages/components → components}/annotation-edit/src/type.js +0 -0
- /package/es/{packages/components → components}/big-table/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/BigTable.vue2.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableEmits.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableProps.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableState.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-date.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-input.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-select.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-time.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/useCommon.js +0 -0
- /package/es/{packages/components → components}/big-table/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useAnchor.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useAnnotation.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useBatchEditing.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useEdit.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useEvent.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useFormat.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useNestTable.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useSeparateRow.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useTableParse.js +0 -0
- /package/es/{packages/components → components}/big-table/src/utils.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/index.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/zoomScroll.js +0 -0
- /package/es/{packages/components → components}/button-print/index.js +0 -0
- /package/es/{packages/components → components}/button-print/src/ButtonPrint.vue2.js +0 -0
- /package/es/{packages/components → components}/button-print/src/components/Preview.vue2.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/browserPrint.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/dialog.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/print.js +0 -0
- /package/es/{packages/components → components}/editor/index.js +0 -0
- /package/es/{packages/components → components}/editor/src/Editor.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/components/PopupMenu.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/components/useStyle.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/constant.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcess.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcessChart.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBottom.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCenter.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCommon.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCumputedPoint.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useDraw.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useEvent.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useGrid.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useLeft.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useOther.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useRight.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useShadow.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useTemperatureChart.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useTop.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/interface.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/utils/utils.js +0 -0
- /package/es/{packages/components → components}/field-set/index.js +0 -0
- /package/es/{packages/components → components}/form-config/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/FormConfigMaterialItem.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/renderer/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useConfigurationField.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useDataNormalize.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/usePresetRenderer.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useSortalbeConfig.js +0 -0
- /package/es/{packages/components → components}/form-config/src/types/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/form-render/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/combination.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/complex.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/date.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/formItem.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/input.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/inputGroup.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/inputNumber.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/levelSearchCascader.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/lineBar/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/radio_checkbox.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/remoteSearch.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/searchCascade.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/select.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/simpleComponent.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/slider.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/switch.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/textarea.js +0 -0
- /package/es/{packages/components → components}/form-render/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useAnchor.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useAsyncQueue.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useBusinessBinding.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useChangeContext.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useCommonInjection.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useCommonLog.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useComplexOptions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFieldListAdaptor.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFieldNormalize.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFieldVisitor.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormContext.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormEvent.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormField.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormItemDeps.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderLifeCycle.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderOptions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRequest.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormValidator.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useLowCodeReactions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useNuiThemeOverrides.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/usePresetScope.js +0 -0
- /package/es/{packages/components → components}/form-render/src/types/fieldItem.js +0 -0
- /package/es/{packages/components → components}/form-render/src/types/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/business.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/dom.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/schema.js +0 -0
- /package/es/{packages/components → components}/grid/index.js +0 -0
- /package/es/{packages/components → components}/grid/src/Grid.js +0 -0
- /package/es/{packages/components → components}/grid/src/hooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/export.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useConfigHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDataHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useEventHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useExposeHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useFieldHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useSetupHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useColumnConfigAdaptor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useTableContext.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useTablePlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/tableAnchor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/useAnchor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/types.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowClickPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/virtualTreePlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/types/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/types/pluginType.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/index.js +0 -0
- /package/es/{packages/components → components}/info-header/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/utils/insurance.js +0 -0
- /package/es/{packages/components → components}/keyboard/index.js +0 -0
- /package/es/{packages/components → components}/keyboard/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/map/index.js +0 -0
- /package/es/{packages/components → components}/recommend-search/index.js +0 -0
- /package/es/{packages/components → components}/recommend-search/src/constant/index.js +0 -0
- /package/es/{packages/components → components}/recommend-search/src/types/index.js +0 -0
- /package/es/{packages/components → components}/scale-view/index.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/ScaleScore.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/composables/choose-common.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/address.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-address.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-cascader.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-checkbox.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-collection.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-datetime.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-input.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-map.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-radio.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-select.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-sign.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-upload.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/sign-com.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/standard-modal.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-computed.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-init.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-props.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-state.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-submit.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-validate.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-component.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-evaluate.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-event.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-noData.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/utils/judge-types.js +0 -0
- /package/es/{packages/components → components}/search-cascader/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/components/SearchMenu.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/components/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/hooks/useCssVariable.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/select-label/index.js +0 -0
- /package/es/{packages/components → components}/select-label/src/SelectLabel.vue2.js +0 -0
- /package/es/{packages/components → components}/select-person/index.js +0 -0
- /package/es/{packages/components → components}/select-person/src/SelectPerson.vue2.js +0 -0
- /package/es/{packages/components → components}/select-person/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcutSignature.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcuts.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/types/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-setter/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-setter/src/types/index.js +0 -0
- /package/es/{packages/components → components}/steps-wheel/index.js +0 -0
- /package/es/{packages/components → components}/time-line/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-computed.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-data.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-computed.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-data.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/vod-chunk-upload/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/vod-upload-modal.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/failure.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/no-permission.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/nodata.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/notfound.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/qr.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/success.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/video.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/video_default_cover.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/xb_big.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/xb_small.png.js +0 -0
- /package/es/{packages/shared → shared}/components/SelectPage/index.js +0 -0
- /package/es/{packages/shared → shared}/components/SlotRender/SlotRender.js +0 -0
- /package/es/{packages/shared → shared}/components/SlotRender/index.js +0 -0
- /package/es/{packages/shared → shared}/components/SvgIcon/index.js +0 -0
- /package/es/{packages/shared → shared}/components/TextOverTooltip/index.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/index.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentBuilderHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentStructure.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/renderHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/sortableEvents.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/console.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/htmlHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/string.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/tags.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/vuedraggable.js +0 -0
- /package/es/{packages/shared → shared}/components/no-data/index.js +0 -0
- /package/es/{packages/shared → shared}/components/player-vod/player.js +0 -0
- /package/es/{packages/shared → shared}/components/player-vod/video-modal.js +0 -0
- /package/es/{packages/shared → shared}/global/variable.js +0 -0
- /package/es/{packages/shared → shared}/index.js +0 -0
- /package/es/{packages/shared → shared}/types/index.js +0 -0
- /package/es/{packages/shared → shared}/utils/anime.js +0 -0
- /package/es/{packages/shared → shared}/utils/colorLog.js +0 -0
- /package/es/{packages/shared → shared}/utils/index.js +0 -0
- /package/es/{packages/shared → shared}/utils/loadViewer.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesLoopHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesWaterfallHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/Hook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/HookCodeFactory.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncLoopHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncWaterfallHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/utilExpand.js +0 -0
- /package/es/{packages/shared → shared}/utils/vexutils.js +0 -0
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import { bindTargetKeyWithCurrentReaction, runReactionsFromTargetKey } from './reaction.js';
|
|
2
|
-
import { ProxyRaw, RawProxy } from './environment.js';
|
|
3
|
-
import { isObservable, isSupportObservable } from './externals.js';
|
|
4
|
-
import { createObservable } from './internals.js';
|
|
5
|
-
|
|
6
|
-
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
7
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
8
|
-
if (!m) return o;
|
|
9
|
-
var i = m.call(o), r, ar = [], e;
|
|
10
|
-
try {
|
|
11
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
12
|
-
}
|
|
13
|
-
catch (error) { e = { error: error }; }
|
|
14
|
-
finally {
|
|
15
|
-
try {
|
|
16
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
17
|
-
}
|
|
18
|
-
finally { if (e) throw e.error; }
|
|
19
|
-
}
|
|
20
|
-
return ar;
|
|
21
|
-
};
|
|
22
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
23
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
24
|
-
if (ar || !(i in from)) {
|
|
25
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
26
|
-
ar[i] = from[i];
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
30
|
-
};
|
|
31
|
-
var _a;
|
|
32
|
-
var wellKnownSymbols = new Set(Object.getOwnPropertyNames(Symbol)
|
|
33
|
-
.map(function (key) { return Symbol[key]; })
|
|
34
|
-
.filter(function (value) { return typeof value === 'symbol'; }));
|
|
35
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
36
|
-
function findObservable(target, key, value) {
|
|
37
|
-
var observableObj = RawProxy.get(value);
|
|
38
|
-
if (observableObj) {
|
|
39
|
-
return observableObj;
|
|
40
|
-
}
|
|
41
|
-
if (!isObservable(value) && isSupportObservable(value)) {
|
|
42
|
-
return createObservable(target, key, value);
|
|
43
|
-
}
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
function patchIterator(target, key, iterator, isEntries) {
|
|
47
|
-
var originalNext = iterator.next;
|
|
48
|
-
iterator.next = function () {
|
|
49
|
-
var _a = originalNext.call(iterator), done = _a.done, value = _a.value;
|
|
50
|
-
if (!done) {
|
|
51
|
-
if (isEntries) {
|
|
52
|
-
value[1] = findObservable(target, key, value[1]);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
value = findObservable(target, key, value);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return { done: done, value: value };
|
|
59
|
-
};
|
|
60
|
-
return iterator;
|
|
61
|
-
}
|
|
62
|
-
var instrumentations = (_a = {
|
|
63
|
-
has: function (key) {
|
|
64
|
-
var target = ProxyRaw.get(this);
|
|
65
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
66
|
-
bindTargetKeyWithCurrentReaction({ target: target, key: key, type: 'has' });
|
|
67
|
-
return proto.has.apply(target, arguments);
|
|
68
|
-
},
|
|
69
|
-
get: function (key) {
|
|
70
|
-
var target = ProxyRaw.get(this);
|
|
71
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
72
|
-
bindTargetKeyWithCurrentReaction({ target: target, key: key, type: 'get' });
|
|
73
|
-
return findObservable(target, key, proto.get.apply(target, arguments));
|
|
74
|
-
},
|
|
75
|
-
add: function (key) {
|
|
76
|
-
var target = ProxyRaw.get(this);
|
|
77
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
78
|
-
var hadKey = proto.has.call(target, key);
|
|
79
|
-
// forward the operation before queueing reactions
|
|
80
|
-
var result = proto.add.apply(target, arguments);
|
|
81
|
-
if (!hadKey) {
|
|
82
|
-
runReactionsFromTargetKey({ target: target, key: key, value: key, type: 'add' });
|
|
83
|
-
}
|
|
84
|
-
return result;
|
|
85
|
-
},
|
|
86
|
-
set: function (key, value) {
|
|
87
|
-
var target = ProxyRaw.get(this);
|
|
88
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
89
|
-
var hadKey = proto.has.call(target, key);
|
|
90
|
-
var oldValue = proto.get.call(target, key);
|
|
91
|
-
// forward the operation before queueing reactions
|
|
92
|
-
var result = proto.set.apply(target, arguments);
|
|
93
|
-
if (!hadKey) {
|
|
94
|
-
runReactionsFromTargetKey({ target: target, key: key, value: value, type: 'add' });
|
|
95
|
-
}
|
|
96
|
-
else if (value !== oldValue) {
|
|
97
|
-
runReactionsFromTargetKey({ target: target, key: key, value: value, oldValue: oldValue, type: 'set' });
|
|
98
|
-
}
|
|
99
|
-
return result;
|
|
100
|
-
},
|
|
101
|
-
delete: function (key) {
|
|
102
|
-
var target = ProxyRaw.get(this);
|
|
103
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
104
|
-
var hadKey = proto.has.call(target, key);
|
|
105
|
-
var oldValue = proto.get ? proto.get.call(target, key) : undefined;
|
|
106
|
-
// forward the operation before queueing reactions
|
|
107
|
-
var result = proto.delete.apply(target, arguments);
|
|
108
|
-
if (hadKey) {
|
|
109
|
-
runReactionsFromTargetKey({ target: target, key: key, oldValue: oldValue, type: 'delete' });
|
|
110
|
-
}
|
|
111
|
-
return result;
|
|
112
|
-
},
|
|
113
|
-
clear: function () {
|
|
114
|
-
var target = ProxyRaw.get(this);
|
|
115
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
116
|
-
var hadItems = target.size !== 0;
|
|
117
|
-
var oldTarget = target instanceof Map ? new Map(target) : new Set(target);
|
|
118
|
-
// forward the operation before queueing reactions
|
|
119
|
-
var result = proto.clear.apply(target, arguments);
|
|
120
|
-
if (hadItems) {
|
|
121
|
-
runReactionsFromTargetKey({ target: target, oldTarget: oldTarget, type: 'clear' });
|
|
122
|
-
}
|
|
123
|
-
return result;
|
|
124
|
-
},
|
|
125
|
-
forEach: function (cb) {
|
|
126
|
-
var _a;
|
|
127
|
-
var args = [];
|
|
128
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
129
|
-
args[_i - 1] = arguments[_i];
|
|
130
|
-
}
|
|
131
|
-
var target = ProxyRaw.get(this);
|
|
132
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
133
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
134
|
-
// swap out the raw values with their observable pairs
|
|
135
|
-
// before passing them to the callback
|
|
136
|
-
var wrappedCb = function (value, key) {
|
|
137
|
-
var args = [];
|
|
138
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
139
|
-
args[_i - 2] = arguments[_i];
|
|
140
|
-
}
|
|
141
|
-
return cb.apply(void 0, __spreadArray([findObservable(target, key, value), key], __read(args), false));
|
|
142
|
-
};
|
|
143
|
-
return (_a = proto.forEach).call.apply(_a, __spreadArray([target, wrappedCb], __read(args), false));
|
|
144
|
-
},
|
|
145
|
-
keys: function () {
|
|
146
|
-
var target = ProxyRaw.get(this);
|
|
147
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
148
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
149
|
-
return proto.keys.apply(target, arguments);
|
|
150
|
-
},
|
|
151
|
-
values: function () {
|
|
152
|
-
var target = ProxyRaw.get(this);
|
|
153
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
154
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
155
|
-
var iterator = proto.values.apply(target, arguments);
|
|
156
|
-
return patchIterator(target, '', iterator, false);
|
|
157
|
-
},
|
|
158
|
-
entries: function () {
|
|
159
|
-
var target = ProxyRaw.get(this);
|
|
160
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
161
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
162
|
-
var iterator = proto.entries.apply(target, arguments);
|
|
163
|
-
return patchIterator(target, '', iterator, true);
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
_a[Symbol.iterator] = function () {
|
|
167
|
-
var target = ProxyRaw.get(this);
|
|
168
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
169
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
170
|
-
var iterator = proto[Symbol.iterator].apply(target, arguments);
|
|
171
|
-
return patchIterator(target, '', iterator, target instanceof Map);
|
|
172
|
-
},
|
|
173
|
-
Object.defineProperty(_a, "size", {
|
|
174
|
-
get: function () {
|
|
175
|
-
var target = ProxyRaw.get(this);
|
|
176
|
-
var proto = Reflect.getPrototypeOf(this);
|
|
177
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
178
|
-
return Reflect.get(proto, 'size', target);
|
|
179
|
-
},
|
|
180
|
-
enumerable: false,
|
|
181
|
-
configurable: true
|
|
182
|
-
}),
|
|
183
|
-
_a);
|
|
184
|
-
var collectionHandlers = {
|
|
185
|
-
get: function (target, key, receiver) {
|
|
186
|
-
// instrument methods and property accessors to be reactive
|
|
187
|
-
target = hasOwnProperty.call(instrumentations, key)
|
|
188
|
-
? instrumentations
|
|
189
|
-
: target;
|
|
190
|
-
return Reflect.get(target, key, receiver);
|
|
191
|
-
},
|
|
192
|
-
};
|
|
193
|
-
var baseHandlers = {
|
|
194
|
-
get: function (target, key, receiver) {
|
|
195
|
-
if (!key)
|
|
196
|
-
return;
|
|
197
|
-
var result = target[key]; // use Reflect.get is too slow
|
|
198
|
-
if (typeof key === 'symbol' && wellKnownSymbols.has(key)) {
|
|
199
|
-
return result;
|
|
200
|
-
}
|
|
201
|
-
bindTargetKeyWithCurrentReaction({ target: target, key: key, receiver: receiver, type: 'get' });
|
|
202
|
-
var observableResult = RawProxy.get(result);
|
|
203
|
-
if (observableResult) {
|
|
204
|
-
return observableResult;
|
|
205
|
-
}
|
|
206
|
-
if (!isObservable(result) && isSupportObservable(result)) {
|
|
207
|
-
var descriptor = Reflect.getOwnPropertyDescriptor(target, key);
|
|
208
|
-
if (!descriptor ||
|
|
209
|
-
!(descriptor.writable === false && descriptor.configurable === false)) {
|
|
210
|
-
return createObservable(target, key, result);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
return result;
|
|
214
|
-
},
|
|
215
|
-
has: function (target, key) {
|
|
216
|
-
var result = Reflect.has(target, key);
|
|
217
|
-
bindTargetKeyWithCurrentReaction({ target: target, key: key, type: 'has' });
|
|
218
|
-
return result;
|
|
219
|
-
},
|
|
220
|
-
ownKeys: function (target) {
|
|
221
|
-
var keys = Reflect.ownKeys(target);
|
|
222
|
-
bindTargetKeyWithCurrentReaction({ target: target, type: 'iterate' });
|
|
223
|
-
return keys;
|
|
224
|
-
},
|
|
225
|
-
set: function (target, key, value, receiver) {
|
|
226
|
-
var hadKey = hasOwnProperty.call(target, key);
|
|
227
|
-
var newValue = createObservable(target, key, value);
|
|
228
|
-
var oldValue = target[key];
|
|
229
|
-
target[key] = newValue; // use Reflect.set is too slow
|
|
230
|
-
if (!hadKey) {
|
|
231
|
-
runReactionsFromTargetKey({
|
|
232
|
-
target: target,
|
|
233
|
-
key: key,
|
|
234
|
-
value: newValue,
|
|
235
|
-
oldValue: oldValue,
|
|
236
|
-
receiver: receiver,
|
|
237
|
-
type: 'add',
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
else if (value !== oldValue) {
|
|
241
|
-
runReactionsFromTargetKey({
|
|
242
|
-
target: target,
|
|
243
|
-
key: key,
|
|
244
|
-
value: newValue,
|
|
245
|
-
oldValue: oldValue,
|
|
246
|
-
receiver: receiver,
|
|
247
|
-
type: 'set',
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
return true;
|
|
251
|
-
},
|
|
252
|
-
deleteProperty: function (target, key) {
|
|
253
|
-
var oldValue = target[key];
|
|
254
|
-
delete target[key];
|
|
255
|
-
runReactionsFromTargetKey({
|
|
256
|
-
target: target,
|
|
257
|
-
key: key,
|
|
258
|
-
oldValue: oldValue,
|
|
259
|
-
type: 'delete',
|
|
260
|
-
});
|
|
261
|
-
return true;
|
|
262
|
-
},
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
export { baseHandlers, collectionHandlers };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { isNormalType, isCollectionType, isFn } from './checkers.js';
|
|
2
|
-
import { MakeObservableSymbol, ProxyRaw, RawShallowProxy, RawProxy } from './environment.js';
|
|
3
|
-
import { baseHandlers, collectionHandlers } from './handlers.js';
|
|
4
|
-
import { getDataNode, buildDataTree } from './tree.js';
|
|
5
|
-
import { isSupportObservable } from './externals.js';
|
|
6
|
-
|
|
7
|
-
var createNormalProxy = function (target, shallow) {
|
|
8
|
-
var proxy = new Proxy(target, baseHandlers);
|
|
9
|
-
ProxyRaw.set(proxy, target);
|
|
10
|
-
if (shallow) {
|
|
11
|
-
RawShallowProxy.set(target, proxy);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
RawProxy.set(target, proxy);
|
|
15
|
-
}
|
|
16
|
-
return proxy;
|
|
17
|
-
};
|
|
18
|
-
var createCollectionProxy = function (target, shallow) {
|
|
19
|
-
var proxy = new Proxy(target, collectionHandlers);
|
|
20
|
-
ProxyRaw.set(proxy, target);
|
|
21
|
-
if (shallow) {
|
|
22
|
-
RawShallowProxy.set(target, proxy);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
RawProxy.set(target, proxy);
|
|
26
|
-
}
|
|
27
|
-
return proxy;
|
|
28
|
-
};
|
|
29
|
-
var createShallowProxy = function (target) {
|
|
30
|
-
if (isNormalType(target))
|
|
31
|
-
return createNormalProxy(target, true);
|
|
32
|
-
if (isCollectionType(target))
|
|
33
|
-
return createCollectionProxy(target, true);
|
|
34
|
-
return target;
|
|
35
|
-
};
|
|
36
|
-
var createObservable = function (target, key, value, shallow) {
|
|
37
|
-
if (typeof value !== 'object')
|
|
38
|
-
return value;
|
|
39
|
-
var raw = ProxyRaw.get(value);
|
|
40
|
-
if (!!raw) {
|
|
41
|
-
var node = getDataNode(raw);
|
|
42
|
-
if (!node.target)
|
|
43
|
-
node.target = target;
|
|
44
|
-
node.key = key;
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
if (!isSupportObservable(value))
|
|
48
|
-
return value;
|
|
49
|
-
if (target) {
|
|
50
|
-
var parentRaw = ProxyRaw.get(target) || target;
|
|
51
|
-
var isShallowParent = RawShallowProxy.get(parentRaw);
|
|
52
|
-
if (isShallowParent)
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
buildDataTree(target, key, value);
|
|
56
|
-
if (shallow)
|
|
57
|
-
return createShallowProxy(value);
|
|
58
|
-
if (isNormalType(value))
|
|
59
|
-
return createNormalProxy(value);
|
|
60
|
-
if (isCollectionType(value))
|
|
61
|
-
return createCollectionProxy(value);
|
|
62
|
-
return value;
|
|
63
|
-
};
|
|
64
|
-
var createAnnotation = function (maker) {
|
|
65
|
-
var annotation = function (target) {
|
|
66
|
-
return maker({ value: target });
|
|
67
|
-
};
|
|
68
|
-
if (isFn(maker)) {
|
|
69
|
-
annotation[MakeObservableSymbol] = maker;
|
|
70
|
-
}
|
|
71
|
-
return annotation;
|
|
72
|
-
};
|
|
73
|
-
var createBoundaryFunction = function (start, end) {
|
|
74
|
-
function boundary(fn) {
|
|
75
|
-
var results;
|
|
76
|
-
try {
|
|
77
|
-
start();
|
|
78
|
-
if (isFn(fn)) {
|
|
79
|
-
results = fn();
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
finally {
|
|
83
|
-
end();
|
|
84
|
-
}
|
|
85
|
-
return results;
|
|
86
|
-
}
|
|
87
|
-
boundary.bound = createBindFunction(boundary);
|
|
88
|
-
return boundary;
|
|
89
|
-
};
|
|
90
|
-
var createBindFunction = function (boundary) {
|
|
91
|
-
function bind(callback, context) {
|
|
92
|
-
return (function () {
|
|
93
|
-
var args = [];
|
|
94
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
95
|
-
args[_i] = arguments[_i];
|
|
96
|
-
}
|
|
97
|
-
return boundary(function () { return callback.apply(context, args); });
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
return bind;
|
|
101
|
-
};
|
|
102
|
-
var createBoundaryAnnotation = function (start, end) {
|
|
103
|
-
var boundary = createBoundaryFunction(start, end);
|
|
104
|
-
var annotation = createAnnotation(function (_a) {
|
|
105
|
-
var target = _a.target, key = _a.key;
|
|
106
|
-
target[key] = boundary.bound(target[key], target);
|
|
107
|
-
return target;
|
|
108
|
-
});
|
|
109
|
-
boundary[MakeObservableSymbol] = annotation;
|
|
110
|
-
boundary.bound[MakeObservableSymbol] = annotation;
|
|
111
|
-
return boundary;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
export { createAnnotation, createBindFunction, createBoundaryAnnotation, createBoundaryFunction, createObservable };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { observable as observable$1 } from './annotations/observable.js';
|
|
2
|
-
import { box } from './annotations/box.js';
|
|
3
|
-
import { ref } from './annotations/ref.js';
|
|
4
|
-
import { shallow } from './annotations/shallow.js';
|
|
5
|
-
import { computed } from './annotations/computed.js';
|
|
6
|
-
import { MakeObservableSymbol } from './environment.js';
|
|
7
|
-
import { createObservable } from './internals.js';
|
|
8
|
-
|
|
9
|
-
function observable(target) {
|
|
10
|
-
return createObservable(null, null, target);
|
|
11
|
-
}
|
|
12
|
-
observable.box = box;
|
|
13
|
-
observable.ref = ref;
|
|
14
|
-
observable.deep = observable$1;
|
|
15
|
-
observable.shallow = shallow;
|
|
16
|
-
observable.computed = computed;
|
|
17
|
-
observable[MakeObservableSymbol] = observable$1;
|
|
18
|
-
|
|
19
|
-
export { observable };
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { isFn } from './checkers.js';
|
|
2
|
-
import { ArraySet } from './array.js';
|
|
3
|
-
import { RawReactionsMap, ReactionStack, BatchCount, PendingReactions, BatchEndpoints, PendingScopeReactions, ObserverListeners, BatchScope, UntrackCount } from './environment.js';
|
|
4
|
-
|
|
5
|
-
var ITERATION_KEY = Symbol('iteration key');
|
|
6
|
-
var addRawReactionsMap = function (target, key, reaction) {
|
|
7
|
-
var reactionsMap = RawReactionsMap.get(target);
|
|
8
|
-
if (reactionsMap) {
|
|
9
|
-
var reactions = reactionsMap.get(key);
|
|
10
|
-
if (reactions) {
|
|
11
|
-
reactions.add(reaction);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
reactionsMap.set(key, new ArraySet([reaction]));
|
|
15
|
-
}
|
|
16
|
-
return reactionsMap;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
var reactionsMap_1 = new Map([
|
|
20
|
-
[key, new ArraySet([reaction])],
|
|
21
|
-
]);
|
|
22
|
-
RawReactionsMap.set(target, reactionsMap_1);
|
|
23
|
-
return reactionsMap_1;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var addReactionsMapToReaction = function (reaction, reactionsMap) {
|
|
27
|
-
var bindSet = reaction._reactionsSet;
|
|
28
|
-
if (bindSet) {
|
|
29
|
-
bindSet.add(reactionsMap);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
reaction._reactionsSet = new ArraySet([reactionsMap]);
|
|
33
|
-
}
|
|
34
|
-
return bindSet;
|
|
35
|
-
};
|
|
36
|
-
var getReactionsFromTargetKey = function (target, key) {
|
|
37
|
-
var reactionsMap = RawReactionsMap.get(target);
|
|
38
|
-
var reactions = [];
|
|
39
|
-
if (reactionsMap) {
|
|
40
|
-
var map = reactionsMap.get(key);
|
|
41
|
-
if (map) {
|
|
42
|
-
map.forEach(function (reaction) {
|
|
43
|
-
if (reactions.indexOf(reaction) === -1) {
|
|
44
|
-
reactions.push(reaction);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return reactions;
|
|
50
|
-
};
|
|
51
|
-
var runReactions = function (target, key) {
|
|
52
|
-
var reactions = getReactionsFromTargetKey(target, key);
|
|
53
|
-
var prevUntrackCount = UntrackCount.value;
|
|
54
|
-
UntrackCount.value = 0;
|
|
55
|
-
for (var i = 0, len = reactions.length; i < len; i++) {
|
|
56
|
-
var reaction = reactions[i];
|
|
57
|
-
if (reaction._isComputed) {
|
|
58
|
-
reaction._scheduler(reaction);
|
|
59
|
-
}
|
|
60
|
-
else if (isScopeBatching()) {
|
|
61
|
-
PendingScopeReactions.add(reaction);
|
|
62
|
-
}
|
|
63
|
-
else if (isBatching()) {
|
|
64
|
-
PendingReactions.add(reaction);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
if (isFn(reaction._scheduler)) {
|
|
68
|
-
reaction._scheduler(reaction);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
reaction();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
UntrackCount.value = prevUntrackCount;
|
|
76
|
-
};
|
|
77
|
-
var notifyObservers = function (operation) {
|
|
78
|
-
ObserverListeners.forEach(function (fn) { return fn(operation); });
|
|
79
|
-
};
|
|
80
|
-
var bindTargetKeyWithCurrentReaction = function (operation) {
|
|
81
|
-
var key = operation.key, type = operation.type, target = operation.target;
|
|
82
|
-
if (type === 'iterate') {
|
|
83
|
-
key = ITERATION_KEY;
|
|
84
|
-
}
|
|
85
|
-
var current = ReactionStack[ReactionStack.length - 1];
|
|
86
|
-
if (isUntracking())
|
|
87
|
-
return;
|
|
88
|
-
if (current) {
|
|
89
|
-
addReactionsMapToReaction(current, addRawReactionsMap(target, key, current));
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
var bindComputedReactions = function (reaction) {
|
|
93
|
-
if (isFn(reaction)) {
|
|
94
|
-
var current = ReactionStack[ReactionStack.length - 1];
|
|
95
|
-
if (current) {
|
|
96
|
-
var computes = current._computesSet;
|
|
97
|
-
if (computes) {
|
|
98
|
-
computes.add(reaction);
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
current._computesSet = new ArraySet([reaction]);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
var runReactionsFromTargetKey = function (operation) {
|
|
107
|
-
var key = operation.key, type = operation.type, target = operation.target, oldTarget = operation.oldTarget;
|
|
108
|
-
batchStart();
|
|
109
|
-
notifyObservers(operation);
|
|
110
|
-
if (type === 'clear') {
|
|
111
|
-
oldTarget.forEach(function (_, key) {
|
|
112
|
-
runReactions(target, key);
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
runReactions(target, key);
|
|
117
|
-
}
|
|
118
|
-
if (type === 'add' || type === 'delete' || type === 'clear') {
|
|
119
|
-
var newKey = Array.isArray(target) ? 'length' : ITERATION_KEY;
|
|
120
|
-
runReactions(target, newKey);
|
|
121
|
-
}
|
|
122
|
-
batchEnd();
|
|
123
|
-
};
|
|
124
|
-
var hasRunningReaction = function () {
|
|
125
|
-
return ReactionStack.length > 0;
|
|
126
|
-
};
|
|
127
|
-
var releaseBindingReactions = function (reaction) {
|
|
128
|
-
var _a;
|
|
129
|
-
(_a = reaction._reactionsSet) === null || _a === void 0 ? void 0 : _a.forEach(function (reactionsMap) {
|
|
130
|
-
reactionsMap.forEach(function (reactions) {
|
|
131
|
-
reactions.delete(reaction);
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
PendingReactions.delete(reaction);
|
|
135
|
-
PendingScopeReactions.delete(reaction);
|
|
136
|
-
delete reaction._reactionsSet;
|
|
137
|
-
};
|
|
138
|
-
var batchStart = function () {
|
|
139
|
-
BatchCount.value++;
|
|
140
|
-
};
|
|
141
|
-
var batchEnd = function () {
|
|
142
|
-
BatchCount.value--;
|
|
143
|
-
if (BatchCount.value === 0) {
|
|
144
|
-
var prevUntrackCount = UntrackCount.value;
|
|
145
|
-
UntrackCount.value = 0;
|
|
146
|
-
executePendingReactions();
|
|
147
|
-
executeBatchEndpoints();
|
|
148
|
-
UntrackCount.value = prevUntrackCount;
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
var batchScopeStart = function () {
|
|
152
|
-
BatchScope.value = true;
|
|
153
|
-
};
|
|
154
|
-
var batchScopeEnd = function () {
|
|
155
|
-
var prevUntrackCount = UntrackCount.value;
|
|
156
|
-
BatchScope.value = false;
|
|
157
|
-
UntrackCount.value = 0;
|
|
158
|
-
PendingScopeReactions.batchDelete(function (reaction) {
|
|
159
|
-
if (isFn(reaction._scheduler)) {
|
|
160
|
-
reaction._scheduler(reaction);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
reaction();
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
UntrackCount.value = prevUntrackCount;
|
|
167
|
-
};
|
|
168
|
-
var untrackStart = function () {
|
|
169
|
-
UntrackCount.value++;
|
|
170
|
-
};
|
|
171
|
-
var untrackEnd = function () {
|
|
172
|
-
UntrackCount.value--;
|
|
173
|
-
};
|
|
174
|
-
var isBatching = function () { return BatchCount.value > 0; };
|
|
175
|
-
var isScopeBatching = function () { return BatchScope.value; };
|
|
176
|
-
var isUntracking = function () { return UntrackCount.value > 0; };
|
|
177
|
-
var executePendingReactions = function () {
|
|
178
|
-
PendingReactions.batchDelete(function (reaction) {
|
|
179
|
-
if (isFn(reaction._scheduler)) {
|
|
180
|
-
reaction._scheduler(reaction);
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
reaction();
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
};
|
|
187
|
-
var executeBatchEndpoints = function () {
|
|
188
|
-
BatchEndpoints.batchDelete(function (callback) {
|
|
189
|
-
callback();
|
|
190
|
-
});
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
export { batchEnd, batchScopeEnd, batchScopeStart, batchStart, bindComputedReactions, bindTargetKeyWithCurrentReaction, executeBatchEndpoints, executePendingReactions, hasRunningReaction, isBatching, isScopeBatching, isUntracking, releaseBindingReactions, runReactionsFromTargetKey, untrackEnd, untrackStart };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ProxyRaw, RawNode } from './environment.js';
|
|
2
|
-
|
|
3
|
-
var DataNode = /** @class */ (function () {
|
|
4
|
-
function DataNode(target, key, value) {
|
|
5
|
-
this.target = target;
|
|
6
|
-
this.key = key;
|
|
7
|
-
this.value = value;
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(DataNode.prototype, "path", {
|
|
10
|
-
get: function () {
|
|
11
|
-
if (!this.parent)
|
|
12
|
-
return this.key ? [this.key] : [];
|
|
13
|
-
return this.parent.path.concat(this.key);
|
|
14
|
-
},
|
|
15
|
-
enumerable: false,
|
|
16
|
-
configurable: true
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(DataNode.prototype, "targetRaw", {
|
|
19
|
-
get: function () {
|
|
20
|
-
return ProxyRaw.get(this.target) || this.target;
|
|
21
|
-
},
|
|
22
|
-
enumerable: false,
|
|
23
|
-
configurable: true
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(DataNode.prototype, "parent", {
|
|
26
|
-
get: function () {
|
|
27
|
-
if (!this.target)
|
|
28
|
-
return;
|
|
29
|
-
return getDataNode(this.targetRaw);
|
|
30
|
-
},
|
|
31
|
-
enumerable: false,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
DataNode.prototype.isEqual = function (node) {
|
|
35
|
-
if (this.key) {
|
|
36
|
-
return node.targetRaw === this.targetRaw && node.key === this.key;
|
|
37
|
-
}
|
|
38
|
-
return node.value === this.value;
|
|
39
|
-
};
|
|
40
|
-
DataNode.prototype.contains = function (node) {
|
|
41
|
-
if (node === this)
|
|
42
|
-
return true;
|
|
43
|
-
var parent = node.parent;
|
|
44
|
-
while (!!parent) {
|
|
45
|
-
if (this.isEqual(parent))
|
|
46
|
-
return true;
|
|
47
|
-
parent = parent.parent;
|
|
48
|
-
}
|
|
49
|
-
return false;
|
|
50
|
-
};
|
|
51
|
-
return DataNode;
|
|
52
|
-
}());
|
|
53
|
-
var getDataNode = function (raw) {
|
|
54
|
-
return RawNode.get(raw);
|
|
55
|
-
};
|
|
56
|
-
var setDataNode = function (raw, node) {
|
|
57
|
-
RawNode.set(raw, node);
|
|
58
|
-
};
|
|
59
|
-
var buildDataTree = function (target, key, value) {
|
|
60
|
-
var raw = ProxyRaw.get(value) || value;
|
|
61
|
-
var currentNode = getDataNode(raw);
|
|
62
|
-
if (currentNode)
|
|
63
|
-
return currentNode;
|
|
64
|
-
setDataNode(raw, new DataNode(target, key, value));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export { DataNode, buildDataTree, getDataNode, setDataNode };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/es/{packages/components → components}/big-table/src/components/edit-form/edit-date.js
RENAMED
|
File without changes
|
/package/es/{packages/components → components}/big-table/src/components/edit-form/edit-input.js
RENAMED
|
File without changes
|
/package/es/{packages/components → components}/big-table/src/components/edit-form/edit-select.js
RENAMED
|
File without changes
|