cnhis-design-vue 3.3.3-release.0 → 3.3.3-release.13
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 +18 -16
- package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue2.js +47 -12
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +69 -3
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +69 -3
- package/es/components/button-print/src/ButtonPrint.vue2.js +12 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +29 -4
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +121 -16
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +17 -3
- package/es/components/button-print/src/utils/print.d.ts +6 -4
- package/es/components/button-print/src/utils/print.js +201 -27
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +18 -0
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/index.d.ts +56 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +56 -6
- package/es/components/date-picker/src/DatePicker.vue2.js +8 -1
- package/es/components/expand-field/index.d.ts +792 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +792 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -1
- package/es/components/field-editor/index.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
- package/es/components/field-editor/src/fields.d.ts +1 -0
- package/es/components/field-editor/src/fields.js +6 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +38 -1
- package/es/components/field-set/src/FieldSet.vue2.js +118 -69
- package/es/components/field-set/src/Index.vue2.js +8 -3
- package/es/components/field-set/src/TableStyle.vue2.js +2 -2
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/table-row.vue2.js +21 -6
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +3 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +102 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +102 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +63 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +9 -2
- package/es/components/form-config/src/constants/index.d.ts +31 -1
- package/es/components/form-config/src/constants/index.js +150 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
- package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
- package/es/components/form-config/src/hooks/useLocale.js +34 -0
- package/es/components/form-config/src/types/index.d.ts +12 -0
- package/es/components/form-render/index.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue2.js +5 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +18 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +17 -3
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
- 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 +2 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +3 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +2 -1
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/iho-chat/index.d.ts +901 -98
- package/es/components/iho-chat/src/Index.vue.d.ts +901 -98
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +181 -8
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +51 -41
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +66 -6
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +158 -57
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +329 -15
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +21 -19
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +235 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +298 -279
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +51 -5
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +3 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +34 -27
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +53 -6
- package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +3 -3
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +93 -30
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +349 -143
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +38 -25
- package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
- package/es/components/iho-chat/src/hooks/useData.js +2 -7
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +78 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +422 -44
- package/es/components/iho-chat/src/types/index.d.ts +37 -1
- package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
- package/es/components/iho-chat/src/utils/emoji.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +4 -3
- package/es/components/iho-chat/src/utils/index.js +33 -39
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +8 -1
- package/es/components/iho-table/src/plugins/headerPlugin/index.js +5 -2
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +1 -0
- package/es/components/info-header/index.d.ts +41 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
- 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 +19 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +18 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/keyboard/index.d.ts +8 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +8 -0
- package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +3 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +27 -7
- package/es/components/keyboard/src/types.d.ts +17 -0
- package/es/components/keyboard/src/types.js +1 -0
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/scale-view/index.d.ts +80 -17
- package/es/components/scale-view/src/ScaleView.vue.d.ts +83 -19
- package/es/components/scale-view/src/ScaleView.vue2.js +84 -10
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +28 -4
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +29 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +47 -4
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +20 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +2 -0
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +22 -6
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +12 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +12 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
- package/es/components/scale-view/src/utils/judge-types.js +10 -10
- package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
- package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +792 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +434 -341
- package/es/components/select-person/src/SelectPerson.vue2.js +521 -675
- package/es/components/select-person/src/SelectPersonRole.vue.d.ts +630 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +6 -0
- package/es/components/select-person/src/SelectPersonRole.vue2.js +942 -0
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
- package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
- package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
- package/es/components/select-person/src/components/TagItem.vue.js +6 -0
- package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
- package/es/components/select-person/src/index.vue.d.ts +793 -1
- package/es/components/select-person/src/index.vue2.js +21 -4
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/select-person/src/utils/index.js +29 -8
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +18 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/baseOptions.js +8 -1
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +2 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/components/vertify/index.d.ts +1 -0
- package/es/components/vertify/index.js +1 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
- package/es/components/vertify/src/utils/dialog.d.ts +7 -0
- package/es/components/vertify/src/utils/dialog.js +73 -0
- package/es/components/vertify/src/utils/index.d.ts +11 -0
- package/es/components/vertify/src/utils/index.js +24 -0
- package/es/components/vod-chunk-upload/index.d.ts +16 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +20 -31
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +205 -78
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +35 -4
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +78 -11
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +16 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +81 -10
- package/es/components/vod-chunk-upload/style/index.css +1 -1
- 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/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.js +3 -3
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +4 -3
@@ -2,7 +2,9 @@ import axios from 'axios';
|
|
2
2
|
import { cloneDeep, isArray } from 'lodash-es';
|
3
3
|
import { IdentityVerificationDialog, PreviewDialog } from './dialog.js';
|
4
4
|
import { isIReport, getFileUrl, useBrowserPrint } from './browserPrint.js';
|
5
|
-
import { getCurrentInstance } from 'vue';
|
5
|
+
import { h, getCurrentInstance } from 'vue';
|
6
|
+
import { createDiscreteApi, NIcon, NProgress, NDivider } from 'naive-ui';
|
7
|
+
import { PrintOutline } from '@vicons/ionicons5';
|
6
8
|
import { uuidGenerator } from '../../../../shared/utils/index.js';
|
7
9
|
import { format } from 'date-fns';
|
8
10
|
import { io } from 'socket.io-client';
|
@@ -30,6 +32,13 @@ const PREVIEWIREPOR = `${REMOTEPRINTORIGIN}/bi-api/reprot/print/open/client/prev
|
|
30
32
|
const ERRORMSG = "\u83B7\u53D6\u6587\u4EF6\u5931\u8D25\uFF01";
|
31
33
|
const QUERYPRINTORIGIN = `${REMOTEPRINTORIGIN}/bi-api/reprot/print/open/client/getRemote`;
|
32
34
|
const FILEURL = `${REMOTEPRINTORIGIN}/printService/file`;
|
35
|
+
const {
|
36
|
+
notification
|
37
|
+
} = createDiscreteApi(["notification"], {
|
38
|
+
notificationProviderProps: {
|
39
|
+
placement: "bottom-right"
|
40
|
+
}
|
41
|
+
});
|
33
42
|
let printInstance = null;
|
34
43
|
class Print {
|
35
44
|
constructor() {
|
@@ -51,6 +60,7 @@ class Print {
|
|
51
60
|
this._successCallbackFn = null;
|
52
61
|
this._errorCallbackFn = null;
|
53
62
|
this._cancelCallbackFn = null;
|
63
|
+
this._notifyPrintQueueMap = null;
|
54
64
|
this.messageHandlerQueue = [];
|
55
65
|
this.getIReportFormatId = (isIReport2, formatId) => {
|
56
66
|
return isIReport2 ? formatId.split("_")[1] : formatId;
|
@@ -61,6 +71,11 @@ class Print {
|
|
61
71
|
printInstance = this;
|
62
72
|
const _window = window;
|
63
73
|
this.CMonitor = _window.$CMonitor;
|
74
|
+
this._notifyPrintQueueMap = {
|
75
|
+
data: /* @__PURE__ */ new Map(),
|
76
|
+
callback: /* @__PURE__ */ new Map(),
|
77
|
+
dom: null
|
78
|
+
};
|
64
79
|
try {
|
65
80
|
this.webview = _window.top ? (_a = _window.top.chrome) == null ? void 0 : _a.webview : (_b = _window.chrome) == null ? void 0 : _b.webview;
|
66
81
|
} catch (error) {
|
@@ -110,8 +125,32 @@ class Print {
|
|
110
125
|
console.log("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + _e);
|
111
126
|
this._handleMonitorNotify("\u89E3\u6790e.data\u5931\u8D25\uFF0C" + e);
|
112
127
|
}
|
113
|
-
if (["print", "pdf", "resetprint"].includes(data == null ? void 0 : data.cmd)) {
|
114
|
-
|
128
|
+
if (["print", "pdf", "resetprint", "printback"].includes(data == null ? void 0 : data.cmd)) {
|
129
|
+
if ((data == null ? void 0 : data.cmd) === "printback") {
|
130
|
+
const {
|
131
|
+
ext = {}
|
132
|
+
} = (data == null ? void 0 : data.data) || {};
|
133
|
+
const curUidDom = this._notifyPrintQueueMap.data.get(ext == null ? void 0 : ext.uuid);
|
134
|
+
const curUidCallback = this._notifyPrintQueueMap.callback.get(ext == null ? void 0 : ext.uuid);
|
135
|
+
const currentV = (ext == null ? void 0 : ext.currentcount) || 0;
|
136
|
+
const totalV = (ext == null ? void 0 : ext.totalcount) || 0;
|
137
|
+
if (curUidDom) {
|
138
|
+
curUidDom.currentV = currentV;
|
139
|
+
curUidDom.totalV = totalV;
|
140
|
+
curUidDom.progressValue = totalV ? parseInt((100 * currentV / totalV).toString()) : 0;
|
141
|
+
this.renderQueueProgressNotifyContent();
|
142
|
+
if (curUidDom.progressValue >= 100) {
|
143
|
+
this._notifyPrintQueueMap.data.delete(ext == null ? void 0 : ext.uuid);
|
144
|
+
setTimeout(() => {
|
145
|
+
this.renderQueueProgressNotifyContent();
|
146
|
+
}, 800);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
if (curUidCallback) {
|
150
|
+
curUidCallback((data == null ? void 0 : data.data) || {});
|
151
|
+
currentV >= totalV && this._notifyPrintQueueMap.callback.delete(ext == null ? void 0 : ext.uuid);
|
152
|
+
}
|
153
|
+
}
|
115
154
|
const handler = this.messageHandlerQueue.shift();
|
116
155
|
if (!handler)
|
117
156
|
return console.log("\u5F53\u524D\u56DE\u6267", e, "\u6CA1\u6709\u53EF\u7528\u7684handler");
|
@@ -190,6 +229,96 @@ class Print {
|
|
190
229
|
cb && cb(false);
|
191
230
|
}
|
192
231
|
}
|
232
|
+
renderQueueProgressNotifyContent() {
|
233
|
+
const clearNotifyDom = () => {
|
234
|
+
this._notifyPrintQueueMap.dom.destroy();
|
235
|
+
this._notifyPrintQueueMap.data.clear();
|
236
|
+
this._notifyPrintQueueMap.dom = null;
|
237
|
+
};
|
238
|
+
if (!this._notifyPrintQueueMap.dom) {
|
239
|
+
this._notifyPrintQueueMap.dom = notification.create({
|
240
|
+
title: "\u6253\u5370\u5217\u8868",
|
241
|
+
onClose: () => {
|
242
|
+
clearNotifyDom();
|
243
|
+
}
|
244
|
+
});
|
245
|
+
}
|
246
|
+
if (this._notifyPrintQueueMap.data.size > 0) {
|
247
|
+
const childrens = [];
|
248
|
+
const keys = Array.from(this._notifyPrintQueueMap.data.keys());
|
249
|
+
const lastKey = keys[keys.length - 1];
|
250
|
+
for (const [key, value] of this._notifyPrintQueueMap.data) {
|
251
|
+
const dom = h("div", {
|
252
|
+
style: {
|
253
|
+
boxSizing: "border-box",
|
254
|
+
marginBottom: lastKey === key ? 0 : "12px",
|
255
|
+
display: "flex",
|
256
|
+
flexDirection: "column"
|
257
|
+
}
|
258
|
+
}, [h("div", {
|
259
|
+
style: {
|
260
|
+
display: "flex",
|
261
|
+
alignItems: "center",
|
262
|
+
justifyContent: "between-space",
|
263
|
+
overflow: "hidden",
|
264
|
+
marginBottom: "4px"
|
265
|
+
}
|
266
|
+
}, [h(NIcon, {
|
267
|
+
size: 16,
|
268
|
+
component: PrintOutline,
|
269
|
+
style: {
|
270
|
+
marginRight: "4px"
|
271
|
+
}
|
272
|
+
}), h("span", {
|
273
|
+
style: {
|
274
|
+
flex: 1,
|
275
|
+
fontSize: "14px",
|
276
|
+
fontWeight: 700,
|
277
|
+
marginRight: "6px",
|
278
|
+
overflow: "hidden",
|
279
|
+
whiteSpace: "noWrap",
|
280
|
+
textOverflow: "ellipsis"
|
281
|
+
}
|
282
|
+
}, value.printname), h("span", {
|
283
|
+
style: {
|
284
|
+
fontSize: "12px",
|
285
|
+
color: "rgba(30, 30, 30, 0.60)"
|
286
|
+
}
|
287
|
+
}, `${value.progressValue}%`)]), h(NProgress, {
|
288
|
+
type: "line",
|
289
|
+
strokeWidth: 2,
|
290
|
+
percentage: value.progressValue,
|
291
|
+
showIndicator: false,
|
292
|
+
processing: true
|
293
|
+
}), h("div", {
|
294
|
+
style: {
|
295
|
+
marginTop: "6px",
|
296
|
+
display: "flex",
|
297
|
+
alignItems: "center",
|
298
|
+
fontSize: "12px",
|
299
|
+
color: "rgba(30, 30, 30, 0.60)"
|
300
|
+
}
|
301
|
+
}, [h("span", {}, "\u7B2C"), h("span", {
|
302
|
+
style: {
|
303
|
+
color: "#FF0000"
|
304
|
+
}
|
305
|
+
}, value.currentV), h("span", {}, "\u4EFD/\u5171"), h("span", {
|
306
|
+
style: {
|
307
|
+
color: "#FF0000"
|
308
|
+
}
|
309
|
+
}, value.totalV), h("span", {}, "\u4EFD")]), lastKey === key ? null : h(NDivider, {
|
310
|
+
style: {
|
311
|
+
marginTop: "12px",
|
312
|
+
marginBottom: 0
|
313
|
+
}
|
314
|
+
})]);
|
315
|
+
childrens.push(dom);
|
316
|
+
}
|
317
|
+
this._notifyPrintQueueMap.dom.content = () => childrens;
|
318
|
+
return;
|
319
|
+
}
|
320
|
+
clearNotifyDom();
|
321
|
+
}
|
193
322
|
async getPicAndUpload(obj) {
|
194
323
|
try {
|
195
324
|
const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
@@ -461,7 +590,7 @@ class Print {
|
|
461
590
|
}
|
462
591
|
_handleResult(data, errorCallbackFn, cancelCallbackFn) {
|
463
592
|
if (!data) {
|
464
|
-
const
|
593
|
+
const message2 = function() {
|
465
594
|
var _a, _b, _c;
|
466
595
|
try {
|
467
596
|
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.497")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.497")) || "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u7A7A\u6570\u636E";
|
@@ -472,34 +601,34 @@ class Print {
|
|
472
601
|
this._handleMonitorNotify("");
|
473
602
|
errorCallbackFn == null ? void 0 : errorCallbackFn({
|
474
603
|
type: "printError",
|
475
|
-
message,
|
604
|
+
message: message2,
|
476
605
|
result: "error",
|
477
|
-
errinfo:
|
606
|
+
errinfo: message2
|
478
607
|
});
|
479
608
|
return false;
|
480
609
|
}
|
481
|
-
if (data.result
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
610
|
+
if (data.result === "success" || data.returncode === "1") {
|
611
|
+
data.message = data.message || data.returnmsg;
|
612
|
+
return data;
|
613
|
+
}
|
614
|
+
const message = data.message || data.Message;
|
615
|
+
this._handleMonitorNotify(message);
|
616
|
+
const errorMsgObj = {
|
617
|
+
type: "printError",
|
618
|
+
message,
|
619
|
+
result: data.result,
|
620
|
+
errinfo: data.errinfo
|
621
|
+
};
|
622
|
+
if (data.result == "cancel") {
|
623
|
+
cancelCallbackFn && cancelCallbackFn({
|
624
|
+
type: "printCancel",
|
486
625
|
message,
|
487
626
|
result: data.result,
|
488
627
|
errinfo: data.errinfo
|
489
|
-
};
|
490
|
-
if (data.result == "cancel") {
|
491
|
-
cancelCallbackFn && cancelCallbackFn({
|
492
|
-
type: "printCancel",
|
493
|
-
message,
|
494
|
-
result: data.result,
|
495
|
-
errinfo: data.errinfo
|
496
|
-
});
|
497
|
-
return false;
|
498
|
-
}
|
499
|
-
errorCallbackFn == null ? void 0 : errorCallbackFn(errorMsgObj);
|
628
|
+
});
|
500
629
|
return false;
|
501
630
|
}
|
502
|
-
|
631
|
+
errorCallbackFn == null ? void 0 : errorCallbackFn(errorMsgObj);
|
503
632
|
}
|
504
633
|
_handleResultTest(result, errorCallbackFn) {
|
505
634
|
if (!result) {
|
@@ -558,6 +687,10 @@ class Print {
|
|
558
687
|
formatId,
|
559
688
|
number,
|
560
689
|
svrUpdateIp,
|
690
|
+
apptype,
|
691
|
+
printname,
|
692
|
+
uuid,
|
693
|
+
priority,
|
561
694
|
hideButtons,
|
562
695
|
params,
|
563
696
|
paramsArr,
|
@@ -575,6 +708,10 @@ class Print {
|
|
575
708
|
formatId,
|
576
709
|
number,
|
577
710
|
svrUpdateIp,
|
711
|
+
apptype,
|
712
|
+
printname,
|
713
|
+
uuid,
|
714
|
+
priority,
|
578
715
|
hideButtons,
|
579
716
|
params,
|
580
717
|
cmdid,
|
@@ -753,6 +890,7 @@ class Print {
|
|
753
890
|
templateId,
|
754
891
|
number,
|
755
892
|
formatId: originFormatId,
|
893
|
+
formatItem,
|
756
894
|
params = "",
|
757
895
|
paramsArr,
|
758
896
|
authorizationKey,
|
@@ -785,6 +923,8 @@ class Print {
|
|
785
923
|
if (!this._handleResultTest(testResult, errorCallbackFn))
|
786
924
|
return false;
|
787
925
|
try {
|
926
|
+
const hideButtonsValue = hideButtons ? hideButtons : (formatItem == null ? void 0 : formatItem.previewCanExport) === void 0 || (formatItem == null ? void 0 : formatItem.previewCanExport) ? void 0 : "Export";
|
927
|
+
const btnprintValue = btnprint != "1" ? btnprint : (formatItem == null ? void 0 : formatItem.previewCanPrint) === false ? "0" : "1";
|
788
928
|
const result = await this._handleEventDirect({
|
789
929
|
templateId,
|
790
930
|
number,
|
@@ -793,8 +933,8 @@ class Print {
|
|
793
933
|
paramsArr,
|
794
934
|
cmdid: this.isRemote ? PRINT_CMD_ID : PREVIEW_CMD_ID,
|
795
935
|
signature,
|
796
|
-
btnprint,
|
797
|
-
hideButtons,
|
936
|
+
btnprint: btnprintValue,
|
937
|
+
hideButtons: hideButtonsValue,
|
798
938
|
messageTimeout
|
799
939
|
});
|
800
940
|
const handledResult = this._handleResult(result, errorCallbackFn);
|
@@ -905,6 +1045,7 @@ class Print {
|
|
905
1045
|
templateId,
|
906
1046
|
number,
|
907
1047
|
formatId: originFormatId,
|
1048
|
+
formatItem,
|
908
1049
|
params = "",
|
909
1050
|
paramsArr,
|
910
1051
|
authorizationKey,
|
@@ -914,9 +1055,15 @@ class Print {
|
|
914
1055
|
nobillnode,
|
915
1056
|
copies,
|
916
1057
|
svrUpdateIp,
|
1058
|
+
apptype,
|
1059
|
+
uuid,
|
1060
|
+
printname,
|
1061
|
+
priority,
|
1062
|
+
isShowQueueProgressNotify = false,
|
917
1063
|
isDownloadFile = true,
|
918
1064
|
messageTimeout = 0
|
919
|
-
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, mode = "printDirect") {
|
1065
|
+
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, printQueueCallbackFn, mode = "printDirect") {
|
1066
|
+
const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
920
1067
|
const iReportStatus = isIReport(originFormatId);
|
921
1068
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
922
1069
|
if (iReportStatus && (isDomestic || iReportExecuteMode == 2)) {
|
@@ -974,6 +1121,27 @@ class Print {
|
|
974
1121
|
if (!this._handleResultTest(testResult, errorCallbackFn))
|
975
1122
|
return false;
|
976
1123
|
try {
|
1124
|
+
if (formatItem == null ? void 0 : formatItem.queuePrint) {
|
1125
|
+
const printParams = isObject(params) ? cloneDeep(params) : params;
|
1126
|
+
paramsArr = [{
|
1127
|
+
params: printParams
|
1128
|
+
}];
|
1129
|
+
params = "";
|
1130
|
+
}
|
1131
|
+
if (uuid && printname) {
|
1132
|
+
if (isShowQueueProgressNotify) {
|
1133
|
+
this._notifyPrintQueueMap.data.set(uuid, {
|
1134
|
+
printname,
|
1135
|
+
uuid,
|
1136
|
+
currentV: 0,
|
1137
|
+
totalV: paramsArr.length,
|
1138
|
+
progressValue: 0
|
1139
|
+
});
|
1140
|
+
this.renderQueueProgressNotifyContent();
|
1141
|
+
}
|
1142
|
+
this._notifyPrintQueueMap.callback.set(uuid, printQueueCallbackFn);
|
1143
|
+
}
|
1144
|
+
const printdlgshowValue = printdlgshow != "0" ? printdlgshow : (formatItem == null ? void 0 : formatItem.showPrintDialog) ? "1" : "0";
|
977
1145
|
const result = await this._handleEventDirect({
|
978
1146
|
templateId,
|
979
1147
|
number,
|
@@ -983,10 +1151,14 @@ class Print {
|
|
983
1151
|
cmdid: PRINT_CMD_ID,
|
984
1152
|
print,
|
985
1153
|
signature,
|
986
|
-
printdlgshow,
|
1154
|
+
printdlgshow: printdlgshowValue,
|
987
1155
|
nobillnode,
|
988
1156
|
copies,
|
989
1157
|
svrUpdateIp,
|
1158
|
+
apptype,
|
1159
|
+
printname,
|
1160
|
+
priority,
|
1161
|
+
uuid,
|
990
1162
|
messageTimeout
|
991
1163
|
});
|
992
1164
|
const handledResult = this._handleResult(result, errorCallbackFn, cancelCallbackFn);
|
@@ -1124,6 +1296,8 @@ class Print {
|
|
1124
1296
|
}
|
1125
1297
|
}, (err) => onReject(err), (err) => {
|
1126
1298
|
console.log(err);
|
1299
|
+
}, (result) => {
|
1300
|
+
console.log(result);
|
1127
1301
|
}, "downloadPDF");
|
1128
1302
|
}
|
1129
1303
|
async print({
|
@@ -1 +1 @@
|
|
1
|
-
.dropdown-button{border-color:#d5d5d5!important;color:#212121;padding-right:0}.dropdown-button .n-button__content{height:100%}.dropdown-button .n-button__content .n-icon{align-items:center;display:flex;height:100%;justify-content:center;padding-right:10px;width:30px}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}.newprint-button-component .icon-select{padding:0 8px!important}.newprint-button-poperOver{border-radius:3px;overflow-y:auto}.newprint-button-poperOver .bold{font-weight:700}.newprint-button-poperOver .isDisabled{color:#999;cursor:default}.newprint-button-poperOver .print-li{overflow:hidden}.newprint-button-poperOver .print-li .n-divider{margin-bottom:6px;margin-top:6px}.newprint-button-poperOver .print-li .print-lite{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:32px;justify-content:space-between;margin:3px 0}.newprint-button-poperOver .print-li .print-lite .label{padding:0 8px;white-space:nowrap}.newprint-button-poperOver .print-li .print-lite .n-icon{align-items:center;border-radius:0 3px 3px 0;display:flex;height:100%;justify-content:center;width:30px}.newprint-button-poperOver .print-li .print-lite .n-checkbox{white-space:nowrap}.newprint-button-poperOver .print-li.active{color:#2563f4}.newprint-button-poperOver .print-li.active .print-lite{background:rgba(37,99,244,.1)}.newprint-button-poperOver .print-li.active .
|
1
|
+
.dropdown-button{border-color:#d5d5d5!important;color:#212121;padding-right:0}.dropdown-button .n-button__content{height:100%}.dropdown-button .n-button__content .n-icon{align-items:center;display:flex;height:100%;justify-content:center;padding-right:10px;width:30px}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}.newprint-button-component .icon-select{padding:0 8px!important}.newprint-button-poperOver{border-radius:3px;overflow-y:auto}.newprint-button-poperOver .bold{font-weight:700}.newprint-button-poperOver .isDisabled{color:#999;cursor:default}.newprint-button-poperOver .print-li{overflow:hidden}.newprint-button-poperOver .print-li .n-divider{margin-bottom:6px;margin-top:6px}.newprint-button-poperOver .print-li .print-lite{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:32px;justify-content:space-between;margin:3px 0;white-space:nowrap}.newprint-button-poperOver .print-li .print-lite .label{padding:0 8px;white-space:nowrap}.newprint-button-poperOver .print-li .print-lite .n-icon{align-items:center;border-radius:0 3px 3px 0;display:flex;height:100%;justify-content:center;width:30px}.newprint-button-poperOver .print-li .print-lite .n-checkbox{white-space:nowrap}.newprint-button-poperOver .print-li.active{color:#2563f4}.newprint-button-poperOver .print-li.active .print-lite{background:rgba(37,99,244,.1)}.newprint-button-poperOver .print-li.active .print-li-icon{background:rgba(37,99,244,.15)}.newprint-button-poperOver .print-li .print-preview-item:hover{color:#2563f4}.newprint-button-outer{align-items:center;display:flex;overflow-x:auto}.newprint-button-outer .outButtonGroup .isPrintDisabled .n-button__border{border-right-width:0!important}.newprint-button-outer .outButtonGroup .n-button.n-button--disabled+.n-button.n-button--default-type:not(.n-button--disabled) .n-button__border{border-left-width:1px!important}.newprint-button-outer .outerLastButton .n-button__border{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.newprint-button-outer .outerLastButton:hover .n-button__state-border{border-bottom-right-radius:0;border-top-right-radius:0}.newprint-button-outer .printAllLeftCls .n-button__border,.newprint-button-outer .printAllLeftCls:hover .n-button__state-border{border-bottom-left-radius:0;border-top-left-radius:0}.newprint-button-outer__shortcut{color:#76797f}
|
@@ -35,6 +35,10 @@ export declare const CallbackMaps: Map<string, {
|
|
35
35
|
businessFormatter: {
|
36
36
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
37
37
|
};
|
38
|
+
nominalAge: {
|
39
|
+
type: BooleanConstructor;
|
40
|
+
default: boolean;
|
41
|
+
};
|
38
42
|
schema: {
|
39
43
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
40
44
|
[key: symbol]: any;
|
@@ -207,6 +211,7 @@ export declare const CallbackMaps: Map<string, {
|
|
207
211
|
type: BooleanConstructor;
|
208
212
|
};
|
209
213
|
lazyRender: BooleanConstructor;
|
214
|
+
linebreaksToTitle: BooleanConstructor;
|
210
215
|
dialogFn: {};
|
211
216
|
}, {
|
212
217
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -239,6 +244,10 @@ export declare const CallbackMaps: Map<string, {
|
|
239
244
|
businessFormatter: {
|
240
245
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
241
246
|
};
|
247
|
+
nominalAge: {
|
248
|
+
type: BooleanConstructor;
|
249
|
+
default: boolean;
|
250
|
+
};
|
242
251
|
schema: {
|
243
252
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
244
253
|
[key: symbol]: any;
|
@@ -411,6 +420,7 @@ export declare const CallbackMaps: Map<string, {
|
|
411
420
|
type: BooleanConstructor;
|
412
421
|
};
|
413
422
|
lazyRender: BooleanConstructor;
|
423
|
+
linebreaksToTitle: BooleanConstructor;
|
414
424
|
dialogFn: {};
|
415
425
|
}>> & {
|
416
426
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
@@ -588,6 +598,7 @@ export declare const CallbackMaps: Map<string, {
|
|
588
598
|
feedbackType: "default" | "tooltip";
|
589
599
|
fixMemoLeak: boolean;
|
590
600
|
lazyRender: boolean;
|
601
|
+
linebreaksToTitle: boolean;
|
591
602
|
dialogFn: any;
|
592
603
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
593
604
|
[key: symbol]: any;
|
@@ -804,6 +815,10 @@ export declare const CallbackMaps: Map<string, {
|
|
804
815
|
businessFormatter: {
|
805
816
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
806
817
|
};
|
818
|
+
nominalAge: {
|
819
|
+
type: BooleanConstructor;
|
820
|
+
default: boolean;
|
821
|
+
};
|
807
822
|
schema: {
|
808
823
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
809
824
|
[key: symbol]: any;
|
@@ -976,6 +991,7 @@ export declare const CallbackMaps: Map<string, {
|
|
976
991
|
type: BooleanConstructor;
|
977
992
|
};
|
978
993
|
lazyRender: BooleanConstructor;
|
994
|
+
linebreaksToTitle: BooleanConstructor;
|
979
995
|
dialogFn: {};
|
980
996
|
}>> & {
|
981
997
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
@@ -1010,6 +1026,8 @@ export declare const CallbackMaps: Map<string, {
|
|
1010
1026
|
feedbackType: "default" | "tooltip";
|
1011
1027
|
fixMemoLeak: boolean;
|
1012
1028
|
lazyRender: boolean;
|
1029
|
+
linebreaksToTitle: boolean;
|
1030
|
+
nominalAge: boolean;
|
1013
1031
|
operationalFormInit: boolean;
|
1014
1032
|
incrementalRender: boolean;
|
1015
1033
|
}>;
|
@@ -208,7 +208,14 @@ const ageCodeMap = {
|
|
208
208
|
return "\u5468";
|
209
209
|
}
|
210
210
|
}(),
|
211
|
-
N:
|
211
|
+
N: function() {
|
212
|
+
var _a, _b, _c;
|
213
|
+
try {
|
214
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.638")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.638")) || "\u5206\u949F";
|
215
|
+
} catch (e) {
|
216
|
+
return "\u5206\u949F";
|
217
|
+
}
|
218
|
+
}()
|
212
219
|
};
|
213
220
|
function birthdayToAge(birthday) {
|
214
221
|
const {
|