cnhis-design-vue 3.3.1-release.5 → 3.3.2-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/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +20 -0
- package/es/components/audio-sdk/src/Index.vue.d.ts +20 -0
- package/es/components/audio-sdk/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +1 -0
- package/es/components/audio-sdk/src/audioSDK.js +11 -3
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +10 -0
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +10 -0
- package/es/components/audio-sdk/src/components/recording.vue2.js +5 -0
- package/es/components/audio-sdk/src/constants/index.d.ts +1 -0
- package/es/components/audio-sdk/src/constants/index.js +3 -0
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
- package/es/components/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- 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/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/card-render/index.d.ts +4 -4
- package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
- package/es/components/field-editor/index.d.ts +4 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +80 -5
- package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.d.ts +2 -1
- package/es/components/form-config/src/constants/index.js +12 -11
- package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
- package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
- package/es/components/form-config/src/hooks/useLocale.js +32 -31
- package/es/components/form-config/src/types/index.d.ts +1 -0
- package/es/components/form-render/index.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue2.js +3 -2
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
- package/es/components/form-render/src/components/renderer/input.js +39 -7
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +11 -10
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/text.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
- package/es/components/form-render/src/components/renderer/textarea.js +36 -8
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
- package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.js +5 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -0
- package/es/components/form-render/src/utils/schema.js +60 -15
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +10 -10
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/index.d.ts +13 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
- package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +6 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +0 -3
- package/es/components/info-header/index.d.ts +13 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +6 -6
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +24 -21
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +16 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +11 -11
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/CancelRadio/CancelRadio.d.ts +7 -0
- package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +76 -77
- package/es/components/ai-chat/index.d.ts +0 -680
- package/es/components/ai-chat/index.js +0 -10
- package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
- package/es/components/ai-chat/src/Index.vue.js +0 -6
- package/es/components/ai-chat/src/Index.vue2.js +0 -175
- package/es/components/ai-chat/src/api/index.d.ts +0 -8
- package/es/components/ai-chat/src/api/index.js +0 -87
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
- package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
- package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
- package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
- package/es/components/ai-chat/src/components/ChatCard.js +0 -403
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
- package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
- package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMain.js +0 -350
- package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
- package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
- package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
- package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
- package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
- package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
- package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
- package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
- package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
- package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
- package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
- package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
- package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
- package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
- package/es/components/ai-chat/src/hooks/index.js +0 -2
- package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
- package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
- package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
- package/es/components/ai-chat/src/hooks/useData.js +0 -289
- package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
- package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
- package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
- package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
- package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
- package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
- package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
- package/es/components/ai-chat/src/types/index.d.ts +0 -45
- package/es/components/ai-chat/src/types/index.js +0 -1
- package/es/components/ai-chat/src/utils/index.d.ts +0 -7
- package/es/components/ai-chat/src/utils/index.js +0 -41
- package/es/components/ai-chat/style/index.css +0 -1
- package/es/shared/assets/img/ai__avatar.png.js +0 -3
- package/es/shared/assets/img/file-emr.png.js +0 -3
- package/es/shared/assets/img/file.png.js +0 -3
- package/es/shared/assets/img/logo.png.js +0 -3
- package/es/shared/assets/img/use.png.js +0 -3
@@ -16,7 +16,7 @@ import { findFieldItemByKey } from '../utils/index.js';
|
|
16
16
|
import '../../../../shared/components/VueDraggable/src/vuedraggable.js';
|
17
17
|
import { useConfigurationField } from '../hooks/useConfigurationField.js';
|
18
18
|
|
19
|
-
var _a;
|
19
|
+
var _a, _b, _c;
|
20
20
|
const _hoisted_1 = {
|
21
21
|
class: "form-config__connectionOperation"
|
22
22
|
};
|
@@ -47,7 +47,7 @@ const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
|
|
47
47
|
style: {
|
48
48
|
"word-break": "keep-all"
|
49
49
|
}
|
50
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || "\u5B57\u6BB5", -1);
|
50
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.9")) || "\u5B57\u6BB5", -1);
|
51
51
|
const _hoisted_10 = {
|
52
52
|
key: 1
|
53
53
|
};
|
@@ -149,8 +149,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
149
149
|
return result;
|
150
150
|
}
|
151
151
|
function isOppositeConfig(c1, c2) {
|
152
|
-
var _a2,
|
153
|
-
if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((
|
152
|
+
var _a2, _b2;
|
153
|
+
if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((_b2 = c2.conObj) == null ? void 0 : _b2.length)) {
|
154
154
|
return false;
|
155
155
|
}
|
156
156
|
if (c1.conObj && c2.conObj && c1.conObj.some((condition) => !c2.conObj.find((condition2) => isOppositeConObj(condition, condition2)))) {
|
@@ -195,10 +195,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
195
195
|
}) => getLabel(field_key)), ...bindFields]).filter((label) => !!label && isString(label));
|
196
196
|
return labels.length ? `( \u76F8\u5173\u5B57\u6BB5: ${labels} )` : "";
|
197
197
|
function getLabel(key) {
|
198
|
-
var _a2,
|
199
|
-
return (
|
198
|
+
var _a2, _b2;
|
199
|
+
return (_b2 = (_a2 = fieldOptions.value.find((option) => {
|
200
200
|
return isString(key) ? key === option.key : isObject(key) ? Reflect.get(key, "field") === option.key : false;
|
201
|
-
})) == null ? void 0 : _a2.name) != null ?
|
201
|
+
})) == null ? void 0 : _a2.name) != null ? _b2 : key;
|
202
202
|
}
|
203
203
|
}
|
204
204
|
function addCondition(config) {
|
@@ -258,12 +258,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
258
258
|
const currentTypeList = reactive([]);
|
259
259
|
const dialog = useDialog();
|
260
260
|
async function onNegativeClick() {
|
261
|
-
var _a2,
|
261
|
+
var _a2, _b2, _c2, _d, _e, _f;
|
262
262
|
dialog.warning({
|
263
263
|
title: "\u63D0\u793A",
|
264
264
|
content: "\u76F4\u63A5\u5173\u95ED\u5F39\u7A97\u4F1A\u4E22\u5931\u5DF2\u7F16\u8F91\u7684\u914D\u7F6E, \u786E\u5B9A\u8981\u5173\u95ED\u5417?",
|
265
|
-
positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A",
|
266
|
-
negativeText: ((
|
265
|
+
positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A",
|
266
|
+
negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
|
267
267
|
onPositiveClick: () => {
|
268
268
|
showRef.value = false;
|
269
269
|
valueRef.value = [];
|
@@ -314,14 +314,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
314
314
|
generateFieldListByKeys
|
315
315
|
} = useConfigurationField();
|
316
316
|
const setValueFormFieldList = (field) => {
|
317
|
-
var _a2,
|
318
|
-
const fieldItemList = (
|
317
|
+
var _a2, _b2;
|
318
|
+
const fieldItemList = (_b2 = (_a2 = props.bindFormRenderRef) == null ? void 0 : _a2.getFieldList()) != null ? _b2 : [];
|
319
319
|
return [...generateFieldListByKeys([EditAbleField.DEFAULT_VALUE], setValueFieldOptions.value.find((item) => item.key === field), findFieldItemByKey(fieldItemList, field)).map((item) => {
|
320
|
-
var _a3;
|
320
|
+
var _a3, _b3, _c2;
|
321
321
|
return {
|
322
322
|
...item,
|
323
323
|
val_key: "value",
|
324
|
-
alias: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.22")) || "\u503C",
|
324
|
+
alias: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.22")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.22")) || "\u503C",
|
325
325
|
decoratorProps: {
|
326
326
|
showFeedback: false
|
327
327
|
}
|
@@ -363,8 +363,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
363
363
|
onClick: onNegativeClick
|
364
364
|
}, {
|
365
365
|
default: withCtx(() => {
|
366
|
-
var _a2;
|
367
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
366
|
+
var _a2, _b2, _c2;
|
367
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
368
368
|
}),
|
369
369
|
_: 1
|
370
370
|
}), createVNode(unref(NButton), {
|
@@ -373,8 +373,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
373
373
|
type: "primary"
|
374
374
|
}, {
|
375
375
|
default: withCtx(() => {
|
376
|
-
var _a2;
|
377
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
|
376
|
+
var _a2, _b2, _c2;
|
377
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
|
378
378
|
}),
|
379
379
|
_: 1
|
380
380
|
})]),
|
@@ -435,8 +435,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
435
435
|
size: "small"
|
436
436
|
}, {
|
437
437
|
default: withCtx(() => {
|
438
|
-
var _a2;
|
439
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || "\u79FB\u9664")];
|
438
|
+
var _a2, _b2, _c2;
|
439
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
|
440
440
|
}),
|
441
441
|
_: 2
|
442
442
|
}, 1032, ["onClick"])]),
|
@@ -502,30 +502,30 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
502
502
|
size: "small"
|
503
503
|
}, {
|
504
504
|
default: withCtx(() => {
|
505
|
-
var _a2;
|
506
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || "\u79FB\u9664")];
|
505
|
+
var _a2, _b2, _c2;
|
506
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
|
507
507
|
}),
|
508
508
|
_: 2
|
509
509
|
}, 1032, ["disabled", "onClick"])]);
|
510
510
|
}), 128))]),
|
511
511
|
_: 2
|
512
512
|
}, 1024)]), createElementVNode("section", _hoisted_5, [createElementVNode("div", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(connectionTypeOptions), (type) => {
|
513
|
-
var _a2,
|
513
|
+
var _a2, _b2;
|
514
514
|
return openBlock(), createElementBlock("div", {
|
515
515
|
key: type.value,
|
516
516
|
class: normalizeClass({
|
517
517
|
"is-active": currentTypeList[index] === type.value
|
518
518
|
}),
|
519
519
|
onClick: ($event) => currentTypeList[index] = type.value
|
520
|
-
}, toDisplayString(type.label) + " ( " + toDisplayString((
|
520
|
+
}, toDisplayString(type.label) + " ( " + toDisplayString((_b2 = (_a2 = item[type.value]) == null ? void 0 : _a2.length) != null ? _b2 : 0) + " ) ", 11, _hoisted_6);
|
521
521
|
}), 128))]), createElementVNode("div", null, [currentTypeList[index] === "setValueField" ? (openBlock(), createElementBlock("section", _hoisted_7, [createElementVNode("header", _hoisted_8, [createVNode(unref(NButton), {
|
522
522
|
type: "primary",
|
523
523
|
size: "tiny",
|
524
524
|
onClick: ($event) => addSetValueField(item)
|
525
525
|
}, {
|
526
526
|
default: withCtx(() => {
|
527
|
-
var _a2;
|
528
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E")];
|
527
|
+
var _a2, _b2, _c2;
|
528
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E")];
|
529
529
|
}),
|
530
530
|
_: 2
|
531
531
|
}, 1032, ["onClick"])]), (openBlock(true), createElementBlock(Fragment, null, renderList(item.setValueField || [], (setFieldItem, setFieldIndex) => {
|
@@ -15,7 +15,8 @@ export declare enum EditAbleField {
|
|
15
15
|
REQUIRED = "required",
|
16
16
|
EDITABLE = "editable",
|
17
17
|
SHOW = "show",
|
18
|
-
ROWS = "initialHigh"
|
18
|
+
ROWS = "initialHigh",
|
19
|
+
CONFIRM = "confirmBeforeValueChange"
|
19
20
|
}
|
20
21
|
export declare function widgetWidthOptionConfig(): {
|
21
22
|
option: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { range } from 'lodash-es';
|
2
2
|
import { useFormConfigLocale } from '../hooks/useLocale.js';
|
3
3
|
|
4
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
4
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
5
5
|
function getWidgetText(type) {
|
6
6
|
const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR", useFormConfigLocale("layoutArea.linebar")], ["NEWLINE", useFormConfigLocale("layoutArea.linebreak")]]);
|
7
7
|
return WidgetTextMap.get(type) || "";
|
@@ -20,6 +20,7 @@ var EditAbleField = /* @__PURE__ */ ((EditAbleField2) => {
|
|
20
20
|
EditAbleField2["EDITABLE"] = "editable";
|
21
21
|
EditAbleField2["SHOW"] = "show";
|
22
22
|
EditAbleField2["ROWS"] = "initialHigh";
|
23
|
+
EditAbleField2["CONFIRM"] = "confirmBeforeValueChange";
|
23
24
|
return EditAbleField2;
|
24
25
|
})(EditAbleField || {});
|
25
26
|
function widgetWidthOptionConfig() {
|
@@ -128,34 +129,34 @@ const conditionOppositeMap = {
|
|
128
129
|
};
|
129
130
|
const conditionTypeOptions = [{
|
130
131
|
value: "EQ",
|
131
|
-
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || "\u7B49\u4E8E"
|
132
|
+
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.317")) || "\u7B49\u4E8E"
|
132
133
|
}, {
|
133
134
|
value: "NEQ",
|
134
|
-
label: ((
|
135
|
+
label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.318")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.318")) || "\u4E0D\u7B49\u4E8E"
|
135
136
|
}, {
|
136
137
|
value: "CL",
|
137
|
-
label: ((
|
138
|
+
label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.340")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.340")) || "\u5305\u542B"
|
138
139
|
}, {
|
139
140
|
value: "NC",
|
140
|
-
label: ((
|
141
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.341")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.341")) || "\u4E0D\u5305\u542B"
|
141
142
|
}, {
|
142
143
|
value: "NULL",
|
143
|
-
label: ((
|
144
|
+
label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.338")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.338")) || "\u4E3A\u7A7A"
|
144
145
|
}, {
|
145
146
|
value: "NOT_NULL",
|
146
|
-
label: ((
|
147
|
+
label: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.339")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A"
|
147
148
|
}, {
|
148
149
|
value: "BIG",
|
149
|
-
label: ((
|
150
|
+
label: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.319")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.319")) || "\u5927\u4E8E"
|
150
151
|
}, {
|
151
152
|
value: "BIGEQ",
|
152
|
-
label: ((
|
153
|
+
label: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.321")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E"
|
153
154
|
}, {
|
154
155
|
value: "LESS",
|
155
|
-
label: ((
|
156
|
+
label: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.320")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.320")) || "\u5C0F\u4E8E"
|
156
157
|
}, {
|
157
158
|
value: "LESSEQ",
|
158
|
-
label: ((
|
159
|
+
label: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.322")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E"
|
159
160
|
}];
|
160
161
|
const connectionTypeOppositeMap = {
|
161
162
|
showField: "hideField",
|
@@ -73,6 +73,24 @@ function useConfigurationField() {
|
|
73
73
|
elem_width: 6,
|
74
74
|
is_edit: (formConfigItem == null ? void 0 : formConfigItem.editableDisabled) ? "0" : "1",
|
75
75
|
...isEditOptionConfig()
|
76
|
+
})], [EditAbleField.CONFIRM, (formConfigItem) => ({
|
77
|
+
alias: useFormConfigLocale("configArea.confirm"),
|
78
|
+
html_type: "SWITCH",
|
79
|
+
elem_width: 6,
|
80
|
+
reactions: [{
|
81
|
+
dependencies: [EditAbleField.EDITABLE],
|
82
|
+
fulfill: {
|
83
|
+
run: `$self.value = $deps[0] && $self.value`
|
84
|
+
}
|
85
|
+
}, {
|
86
|
+
dependencies: [EditAbleField.EDITABLE],
|
87
|
+
fulfill: {
|
88
|
+
state: {
|
89
|
+
disabled: "{{!$deps[0]}}"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}],
|
93
|
+
...isEditOptionConfig()
|
76
94
|
})], [EditAbleField.REQUIRED, (formConfigItem) => ({
|
77
95
|
alias: useFormConfigLocale("configArea.isRequired"),
|
78
96
|
html_type: "SWITCH",
|
@@ -105,7 +123,7 @@ function useConfigurationField() {
|
|
105
123
|
});
|
106
124
|
}
|
107
125
|
const htmlMap = new Map([["LINE_BAR", [EditAbleField.KEY, EditAbleField.NAME, EditAbleField.ALIAS, EditAbleField.LAYOUT_WIDTH_ENUM, EditAbleField.NOTES, EditAbleField.DEFAULT_EXPAND, EditAbleField.FOLD]], ["NEWLINE", [EditAbleField.KEY, EditAbleField.NAME, EditAbleField.ALIAS]], ...["COMPLEX", "COMBINATION"].map((key) => [key, [EditAbleField.KEY, EditAbleField.NAME, EditAbleField.ALIAS, EditAbleField.LAYOUT_WIDTH_ENUM]])]);
|
108
|
-
const defaultItems = [EditAbleField.KEY, EditAbleField.NAME, EditAbleField.ALIAS, EditAbleField.DEFAULT_VALUE, EditAbleField.LAYOUT_WIDTH_ENUM, EditAbleField.DESC, EditAbleField.NOTES, EditAbleField.EDITABLE, EditAbleField.REQUIRED, EditAbleField.SHOW];
|
126
|
+
const defaultItems = [EditAbleField.KEY, EditAbleField.NAME, EditAbleField.ALIAS, EditAbleField.DEFAULT_VALUE, EditAbleField.LAYOUT_WIDTH_ENUM, EditAbleField.DESC, EditAbleField.NOTES, EditAbleField.EDITABLE, EditAbleField.CONFIRM, EditAbleField.REQUIRED, EditAbleField.SHOW];
|
109
127
|
function generateFieldListByFormConfigItem(formConfigItem, fieldItem) {
|
110
128
|
var _a;
|
111
129
|
const keys = htmlMap.get(formConfigItem.type) || defaultItems;
|
@@ -2,49 +2,50 @@ import { deepMerge } from '../../../../shared/utils/index.js';
|
|
2
2
|
import { property } from 'lodash-es';
|
3
3
|
import { reactive } from 'vue';
|
4
4
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja;
|
6
6
|
const formConfigLocale = reactive({
|
7
7
|
materialArea: {
|
8
|
-
areaName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || "\u7269\u6599\u533A",
|
9
|
-
createMaterialPlaceholder: ((
|
8
|
+
areaName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.1")) || "\u7269\u6599\u533A",
|
9
|
+
createMaterialPlaceholder: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.2")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.2")) || "\u8BF7\u9009\u62E9\u989D\u5916\u7269\u6599",
|
10
10
|
toString() {
|
11
11
|
return this.areaName;
|
12
12
|
}
|
13
13
|
},
|
14
14
|
layoutArea: {
|
15
|
-
areaName: ((
|
16
|
-
linebreak: ((
|
17
|
-
linebar: ((
|
18
|
-
createLinebreak: ((
|
19
|
-
createLinebar: ((
|
15
|
+
areaName: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.3")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.3")) || "\u5E03\u5C40\u533A",
|
16
|
+
linebreak: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.4")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.4")) || "\u5206\u884C\u7B26",
|
17
|
+
linebar: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.5")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.5")) || "\u5206\u7EBF\u680F",
|
18
|
+
createLinebreak: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.6")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.6")) || "\u65B0\u5EFA\u5206\u884C\u7B26",
|
19
|
+
createLinebar: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.7")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.7")) || "\u65B0\u5EFA\u5206\u7EBF\u680F",
|
20
20
|
toString() {
|
21
21
|
return this.areaName;
|
22
22
|
}
|
23
23
|
},
|
24
24
|
configArea: {
|
25
|
-
areaName: ((
|
26
|
-
field: ((
|
27
|
-
name: ((
|
28
|
-
alias: ((
|
29
|
-
defaultValue: ((
|
30
|
-
width: ((
|
31
|
-
describeText: ((
|
32
|
-
tips: ((
|
33
|
-
isRequired: ((
|
34
|
-
isEditable: ((
|
35
|
-
isExpand: ((
|
36
|
-
isFoldAble: ((
|
37
|
-
isShow: ((
|
38
|
-
modifyOptionTitle: ((
|
39
|
-
modifyOptionName: ((
|
40
|
-
modifyOptionOriginText: ((
|
41
|
-
modifyOptionNewText: ((
|
42
|
-
rowsHeight: ((
|
43
|
-
rowsTips: ((
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
25
|
+
areaName: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.8")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.8")) || "\u914D\u7F6E\u533A",
|
26
|
+
field: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.9")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.9")) || "\u5B57\u6BB5",
|
27
|
+
name: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.10")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.10")) || "\u540D\u79F0",
|
28
|
+
alias: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.11")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.11")) || "\u522B\u540D",
|
29
|
+
defaultValue: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.12")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.12")) || "\u9ED8\u8BA4\u503C",
|
30
|
+
width: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.13")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.13")) || "\u5BBD\u5EA6",
|
31
|
+
describeText: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.14")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.14")) || "\u8BF4\u660E\u6587\u672C",
|
32
|
+
tips: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.15")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A",
|
33
|
+
isRequired: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.16")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B",
|
34
|
+
isEditable: ((_W = window.getLanguageByCode) == null ? void 0 : _W.call(window, "10010.1.17")) || ((_Y = (_X = window.top) == null ? void 0 : _X.getLanguageByCode) == null ? void 0 : _Y.call(_X, "10010.1.17")) || "\u662F\u5426\u53EF\u7F16\u8F91",
|
35
|
+
isExpand: ((_Z = window.getLanguageByCode) == null ? void 0 : _Z.call(window, "10010.1.18")) || ((_$ = (__ = window.top) == null ? void 0 : __.getLanguageByCode) == null ? void 0 : _$.call(__, "10010.1.18")) || "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00",
|
36
|
+
isFoldAble: ((_aa = window.getLanguageByCode) == null ? void 0 : _aa.call(window, "10010.1.19")) || ((_ca = (_ba = window.top) == null ? void 0 : _ba.getLanguageByCode) == null ? void 0 : _ca.call(_ba, "10010.1.19")) || "\u662F\u5426\u53EF\u6298\u53E0",
|
37
|
+
isShow: ((_da = window.getLanguageByCode) == null ? void 0 : _da.call(window, "10010.1.20")) || ((_fa = (_ea = window.top) == null ? void 0 : _ea.getLanguageByCode) == null ? void 0 : _fa.call(_ea, "10010.1.20")) || "\u662F\u5426\u663E\u793A",
|
38
|
+
modifyOptionTitle: ((_ga = window.getLanguageByCode) == null ? void 0 : _ga.call(window, "10010.1.21")) || ((_ia = (_ha = window.top) == null ? void 0 : _ha.getLanguageByCode) == null ? void 0 : _ia.call(_ha, "10010.1.21")) || "\u4FEE\u6539\u9009\u9879\u6587\u672C",
|
39
|
+
modifyOptionName: ((_ja = window.getLanguageByCode) == null ? void 0 : _ja.call(window, "10010.1.22")) || ((_la = (_ka = window.top) == null ? void 0 : _ka.getLanguageByCode) == null ? void 0 : _la.call(_ka, "10010.1.22")) || "\u503C",
|
40
|
+
modifyOptionOriginText: ((_ma = window.getLanguageByCode) == null ? void 0 : _ma.call(window, "10010.1.23")) || ((_oa = (_na = window.top) == null ? void 0 : _na.getLanguageByCode) == null ? void 0 : _oa.call(_na, "10010.1.23")) || "\u539F\u6587\u672C",
|
41
|
+
modifyOptionNewText: ((_pa = window.getLanguageByCode) == null ? void 0 : _pa.call(window, "10010.1.24")) || ((_ra = (_qa = window.top) == null ? void 0 : _qa.getLanguageByCode) == null ? void 0 : _ra.call(_qa, "10010.1.24")) || "\u8C03\u6574\u540E\u6587\u672C",
|
42
|
+
rowsHeight: ((_sa = window.getLanguageByCode) == null ? void 0 : _sa.call(window, "10010.1.25")) || ((_ua = (_ta = window.top) == null ? void 0 : _ta.getLanguageByCode) == null ? void 0 : _ua.call(_ta, "10010.1.25")) || "\u9AD8\u5EA6",
|
43
|
+
rowsTips: ((_va = window.getLanguageByCode) == null ? void 0 : _va.call(window, "10010.1.26")) || ((_xa = (_wa = window.top) == null ? void 0 : _wa.getLanguageByCode) == null ? void 0 : _xa.call(_wa, "10010.1.26")) || "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6",
|
44
|
+
confirm: "\u662F\u5426\u5728\u4FEE\u6539\u503C\u540E\u5F39\u7A97\u63D0\u9192",
|
45
|
+
positiveBtn: ((_ya = window.getLanguageByCode) == null ? void 0 : _ya.call(window, "10010.1.27")) || ((_Aa = (_za = window.top) == null ? void 0 : _za.getLanguageByCode) == null ? void 0 : _Aa.call(_za, "10010.1.27")) || "\u786E\u5B9A",
|
46
|
+
negativeBtn: ((_Ba = window.getLanguageByCode) == null ? void 0 : _Ba.call(window, "10010.1.28")) || ((_Da = (_Ca = window.top) == null ? void 0 : _Ca.getLanguageByCode) == null ? void 0 : _Da.call(_Ca, "10010.1.28")) || "\u53D6\u6D88",
|
47
|
+
fullLine: ((_Ea = window.getLanguageByCode) == null ? void 0 : _Ea.call(window, "10010.1.29")) || ((_Ga = (_Fa = window.top) == null ? void 0 : _Fa.getLanguageByCode) == null ? void 0 : _Ga.call(_Fa, "10010.1.29")) || "\u6574\u884C",
|
48
|
+
halfLine: ((_Ha = window.getLanguageByCode) == null ? void 0 : _Ha.call(window, "10010.1.30")) || ((_Ja = (_Ia = window.top) == null ? void 0 : _Ia.getLanguageByCode) == null ? void 0 : _Ja.call(_Ia, "10010.1.30")) || "\u534A\u884C",
|
48
49
|
toString() {
|
49
50
|
return this.areaName;
|
50
51
|
}
|
@@ -210,6 +210,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
210
210
|
type: BooleanConstructor;
|
211
211
|
};
|
212
212
|
lazyRender: BooleanConstructor;
|
213
|
+
dialogFn: {};
|
213
214
|
}, {
|
214
215
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
215
216
|
fieldList: {
|
@@ -413,6 +414,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
413
414
|
type: BooleanConstructor;
|
414
415
|
};
|
415
416
|
lazyRender: BooleanConstructor;
|
417
|
+
dialogFn: {};
|
416
418
|
}>> & {
|
417
419
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
418
420
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -589,6 +591,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
589
591
|
feedbackType: "default" | "tooltip";
|
590
592
|
fixMemoLeak: boolean;
|
591
593
|
lazyRender: boolean;
|
594
|
+
dialogFn: any;
|
592
595
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
593
596
|
[key: symbol]: any;
|
594
597
|
[key: `x-${string}`]: any;
|
@@ -976,6 +979,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
976
979
|
type: BooleanConstructor;
|
977
980
|
};
|
978
981
|
lazyRender: BooleanConstructor;
|
982
|
+
dialogFn: {};
|
979
983
|
}>> & {
|
980
984
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
981
985
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -205,6 +205,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
205
205
|
type: BooleanConstructor;
|
206
206
|
};
|
207
207
|
lazyRender: BooleanConstructor;
|
208
|
+
dialogFn: {};
|
208
209
|
}, {
|
209
210
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
210
211
|
fieldList: {
|
@@ -408,6 +409,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
408
409
|
type: BooleanConstructor;
|
409
410
|
};
|
410
411
|
lazyRender: BooleanConstructor;
|
412
|
+
dialogFn: {};
|
411
413
|
}>> & {
|
412
414
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
413
415
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -584,6 +586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
584
586
|
feedbackType: "default" | "tooltip";
|
585
587
|
fixMemoLeak: boolean;
|
586
588
|
lazyRender: boolean;
|
589
|
+
dialogFn: any;
|
587
590
|
}>) => Record<string, import("@formily/vue").Stringify<{
|
588
591
|
[key: symbol]: any;
|
589
592
|
[key: `x-${string}`]: any;
|
@@ -971,6 +974,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
971
974
|
type: BooleanConstructor;
|
972
975
|
};
|
973
976
|
lazyRender: BooleanConstructor;
|
977
|
+
dialogFn: {};
|
974
978
|
}>> & {
|
975
979
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
976
980
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -192,7 +192,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
192
192
|
fixMemoLeak: {
|
193
193
|
type: Boolean
|
194
194
|
},
|
195
|
-
lazyRender: Boolean
|
195
|
+
lazyRender: Boolean,
|
196
|
+
dialogFn: {}
|
196
197
|
},
|
197
198
|
emits: [
|
198
199
|
"formChange",
|
@@ -307,7 +308,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
307
308
|
const wordbookSettingHandler = useWordbookSetting().create(formModel, changeContextCollector);
|
308
309
|
const {
|
309
310
|
schemaAdaptor
|
310
|
-
} = useFieldListAdaptor(businessCollector, props
|
311
|
+
} = useFieldListAdaptor(businessCollector, props);
|
311
312
|
let _fieldList = props.fieldList || [];
|
312
313
|
let incrementalRenderList = [];
|
313
314
|
const parsedSchema = computed(() => {
|
@@ -208,6 +208,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
208
208
|
type: BooleanConstructor;
|
209
209
|
};
|
210
210
|
lazyRender: BooleanConstructor;
|
211
|
+
dialogFn: {};
|
211
212
|
}, {
|
212
213
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
213
214
|
fieldList: {
|
@@ -411,6 +412,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
411
412
|
type: BooleanConstructor;
|
412
413
|
};
|
413
414
|
lazyRender: BooleanConstructor;
|
415
|
+
dialogFn: {};
|
414
416
|
}>> & {
|
415
417
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
416
418
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -587,6 +589,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
587
589
|
feedbackType: "default" | "tooltip";
|
588
590
|
fixMemoLeak: boolean;
|
589
591
|
lazyRender: boolean;
|
592
|
+
dialogFn: any;
|
590
593
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
591
594
|
[key: symbol]: any;
|
592
595
|
[key: `x-${string}`]: any;
|
@@ -974,6 +977,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
974
977
|
type: BooleanConstructor;
|
975
978
|
};
|
976
979
|
lazyRender: BooleanConstructor;
|
980
|
+
dialogFn: {};
|
977
981
|
}>> & {
|
978
982
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
979
983
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -79,7 +79,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
79
79
|
const globProps = inject(InjectionFormGlobalProps);
|
80
80
|
const {
|
81
81
|
schemaAdaptor
|
82
|
-
} = useFieldListAdaptor(collector, globProps
|
82
|
+
} = useFieldListAdaptor(collector, globProps);
|
83
83
|
return () => {
|
84
84
|
return createVNode("section", {
|
85
85
|
"class": "form-render__combination"
|
package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js
CHANGED
@@ -53,8 +53,8 @@ function useCombination(props) {
|
|
53
53
|
"component": AddCircleOutline
|
54
54
|
}, null),
|
55
55
|
default: () => {
|
56
|
-
var _a2;
|
57
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E";
|
56
|
+
var _a2, _b, _c;
|
57
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
58
58
|
}
|
59
59
|
})]);
|
60
60
|
}
|
@@ -162,8 +162,8 @@ const script = /* @__PURE__ */ defineComponent({
|
|
162
162
|
"component": AddCircleOutline
|
163
163
|
}, null),
|
164
164
|
default: () => {
|
165
|
-
var _a;
|
166
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || "\u65B0\u589E";
|
165
|
+
var _a, _b, _c;
|
166
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
167
167
|
}
|
168
168
|
})]), range(currentGroupNum.value).map((_, idx) => createVNode("section", {
|
169
169
|
"class": "form-render__combinationContentJson"
|
@@ -47,7 +47,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
47
47
|
setup(props, {
|
48
48
|
emit
|
49
49
|
}) {
|
50
|
-
var _a;
|
50
|
+
var _a, _b, _c;
|
51
51
|
const {
|
52
52
|
field
|
53
53
|
} = useFormField();
|
@@ -101,7 +101,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
101
101
|
}
|
102
102
|
}
|
103
103
|
const fieldListWithOperation = fieldList.concat({
|
104
|
-
alias: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || "\u64CD\u4F5C",
|
104
|
+
alias: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C",
|
105
105
|
columnName: "operation",
|
106
106
|
width: 60,
|
107
107
|
isFixed: 2,
|
@@ -10,7 +10,7 @@ export declare const DATE: import("vue").DefineComponent<{
|
|
10
10
|
validate: {
|
11
11
|
type: PropType<Partial<{
|
12
12
|
[key: string]: any;
|
13
|
-
obj_type: "password" | "sex" | "age" | "email" | "
|
13
|
+
obj_type: "password" | "sex" | "age" | "email" | "birthday" | "id_card" | "age_unit" | "mobile" | "telephone" | "bank_card" | "website" | "gestational_weeks" | "gestational_stage" | "customer_name";
|
14
14
|
vali_obj: string;
|
15
15
|
max_value: string | number;
|
16
16
|
min_value: string | number;
|
@@ -48,7 +48,7 @@ export declare const DATE: import("vue").DefineComponent<{
|
|
48
48
|
validate: {
|
49
49
|
type: PropType<Partial<{
|
50
50
|
[key: string]: any;
|
51
|
-
obj_type: "password" | "sex" | "age" | "email" | "
|
51
|
+
obj_type: "password" | "sex" | "age" | "email" | "birthday" | "id_card" | "age_unit" | "mobile" | "telephone" | "bank_card" | "website" | "gestational_weeks" | "gestational_stage" | "customer_name";
|
52
52
|
vali_obj: string;
|
53
53
|
max_value: string | number;
|
54
54
|
min_value: string | number;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { PropType } from 'vue';
|
1
2
|
export declare const INPUT: import("vue").DefineComponent<{
|
2
3
|
value: {
|
3
4
|
type: StringConstructor;
|
@@ -10,10 +11,16 @@ export declare const INPUT: import("vue").DefineComponent<{
|
|
10
11
|
};
|
11
12
|
placeholder: StringConstructor;
|
12
13
|
disabled: BooleanConstructor;
|
14
|
+
onChange: {};
|
15
|
+
updateKey: {};
|
16
|
+
eventType: {
|
17
|
+
type: PropType<"change" | "input">;
|
18
|
+
default: string;
|
19
|
+
};
|
13
20
|
password: {
|
14
21
|
type: BooleanConstructor;
|
15
22
|
};
|
16
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
23
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
17
24
|
value: {
|
18
25
|
type: StringConstructor;
|
19
26
|
};
|
@@ -25,12 +32,17 @@ export declare const INPUT: import("vue").DefineComponent<{
|
|
25
32
|
};
|
26
33
|
placeholder: StringConstructor;
|
27
34
|
disabled: BooleanConstructor;
|
35
|
+
onChange: {};
|
36
|
+
updateKey: {};
|
37
|
+
eventType: {
|
38
|
+
type: PropType<"change" | "input">;
|
39
|
+
default: string;
|
40
|
+
};
|
28
41
|
password: {
|
29
42
|
type: BooleanConstructor;
|
30
43
|
};
|
31
|
-
}
|
32
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
33
|
-
}, {
|
44
|
+
}>>, {
|
34
45
|
password: boolean;
|
35
46
|
disabled: boolean;
|
47
|
+
eventType: "change" | "input";
|
36
48
|
}>;
|