cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.11

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.
Files changed (239) hide show
  1. package/es/components/audio-sdk/style/index.css +1 -1
  2. package/es/components/base-search/src/index.vue2.js +30 -18
  3. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  4. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  5. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  6. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  7. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  8. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  9. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  10. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  11. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  12. package/es/components/body-select/src/index.vue2.js +24 -4
  13. package/es/components/button-print/index.d.ts +1 -0
  14. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
  15. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  16. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  17. package/es/components/button-print/src/components/IdentityVerification.vue2.js +98 -47
  18. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +229 -94
  19. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +1 -0
  20. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  21. package/es/components/button-print/src/components/Preview.vue2.js +8 -2
  22. package/es/components/button-print/src/utils/dialog.js +24 -6
  23. package/es/components/button-print/src/utils/print.d.ts +5 -5
  24. package/es/components/button-print/src/utils/print.js +108 -21
  25. package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
  26. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  27. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  28. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  29. package/es/components/card-render/src/components/index.d.ts +23 -23
  30. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  31. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  32. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  33. package/es/components/classification/src/index.vue2.js +261 -69
  34. package/es/components/default-page/src/constants/index.js +144 -19
  35. package/es/components/default-page/src/index.vue2.js +8 -2
  36. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  37. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  38. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  39. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  40. package/es/components/expand-field/src/index.vue2.js +88 -22
  41. package/es/components/expand-field/src/utils/constant.js +88 -12
  42. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  43. package/es/components/fabric-chart/src/constants/index.js +72 -10
  44. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +16 -3
  45. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  46. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  48. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +45 -8
  49. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  50. package/es/components/field-editor/index.d.ts +1 -1
  51. package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
  52. package/es/components/field-editor/src/fields.js +232 -30
  53. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  54. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  55. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  56. package/es/components/field-set/src/Index.vue2.js +40 -6
  57. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  58. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  59. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  60. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  61. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  62. package/es/components/field-set/src/constants/filter.js +328 -42
  63. package/es/components/field-set/src/constants/index.js +504 -64
  64. package/es/components/form-config/index.d.ts +9 -9
  65. package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
  66. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  67. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
  68. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
  69. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  70. package/es/components/form-config/src/constants/index.js +80 -11
  71. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  72. package/es/components/form-render/index.d.ts +1 -1
  73. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  74. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
  75. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  76. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  77. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  78. package/es/components/form-render/src/components/renderer/input.js +1 -1
  79. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  80. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  81. package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
  82. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  83. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  84. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  85. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
  86. package/es/components/form-render/src/types/index.d.ts +2 -2
  87. package/es/components/form-render/src/utils/schema.js +26 -6
  88. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  89. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  90. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  91. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  92. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  93. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  94. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  95. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  96. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  97. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  98. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  99. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  100. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  101. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
  102. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  103. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  104. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  105. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  106. package/es/components/iho-chat/src/utils/index.js +79 -14
  107. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  108. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  109. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  110. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  111. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  112. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  113. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  114. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  115. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  116. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  117. package/es/components/index.css +1 -1
  118. package/es/components/info-header/index.d.ts +7 -7
  119. package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
  120. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
  121. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
  122. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
  123. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
  124. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  125. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  126. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  127. package/es/components/map/src/Map.vue2.js +8 -4
  128. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  129. package/es/components/quick-search/src/index.vue2.js +176 -131
  130. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  131. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  132. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  133. package/es/components/scale-view/index.d.ts +1 -1
  134. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  135. package/es/components/scale-view/src/ScaleView.vue2.js +17 -9
  136. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  137. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  138. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  139. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  140. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  141. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  142. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  143. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  144. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  145. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  146. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
  147. package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
  148. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  149. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  150. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  151. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  152. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  153. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  154. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  155. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  156. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  157. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  158. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  159. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  160. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  161. package/es/components/select-person/src/index.vue2.js +20 -7
  162. package/es/components/shortcut-setter/index.d.ts +1 -1
  163. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  164. package/es/components/slider-tree/src/index.vue2.js +16 -3
  165. package/es/components/table-export-field/index.d.ts +1 -0
  166. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  167. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  168. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  169. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  170. package/es/components/table-export-field/src/index.vue2.js +28 -12
  171. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  172. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  173. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  174. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  175. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  176. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  177. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  178. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  179. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  180. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  181. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  182. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  183. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  184. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  185. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  186. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  187. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  188. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  189. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  190. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  191. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  192. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  193. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  194. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  195. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  196. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  197. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  198. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  199. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  200. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  201. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  202. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  203. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  204. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  205. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  206. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  207. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  208. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  209. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  210. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  211. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  212. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  214. package/es/shared/assets/img/failure.png.js +1 -1
  215. package/es/shared/assets/img/no-permission.png.js +1 -1
  216. package/es/shared/assets/img/nodata.png.js +1 -1
  217. package/es/shared/assets/img/notfound.png.js +1 -1
  218. package/es/shared/assets/img/qr.png.js +1 -1
  219. package/es/shared/assets/img/success.png.js +1 -1
  220. package/es/shared/assets/img/table_style_2.png.js +1 -1
  221. package/es/shared/assets/img/video.png.js +1 -1
  222. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  223. package/es/shared/assets/img/xb_big.png.js +1 -1
  224. package/es/shared/assets/img/xb_small.png.js +1 -1
  225. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  226. package/es/shared/package.json.js +1 -1
  227. package/package.json +2 -2
  228. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  229. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  230. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  231. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  232. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  233. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  234. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  235. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  236. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  237. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  238. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  239. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -31,7 +31,7 @@ var EditTime = /* @__PURE__ */ defineComponent({
31
31
  attrs,
32
32
  emit
33
33
  }) {
34
- var _a, _b, _c;
34
+ var _a, _b;
35
35
  const {
36
36
  formRef,
37
37
  isShow
@@ -48,7 +48,14 @@ var EditTime = /* @__PURE__ */ defineComponent({
48
48
  };
49
49
  const config = {
50
50
  clearable: true,
51
- placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
51
+ placeholder: props.col.placeholder || function() {
52
+ var _a2, _b2, _c;
53
+ try {
54
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.147")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.147")) || "\u8BF7\u9009\u62E9";
55
+ } catch (e) {
56
+ return "\u8BF7\u9009\u62E9";
57
+ }
58
+ }(),
52
59
  valueFormat: props.col.valueFormat || "HH:mm",
53
60
  format: props.col.valueFormat || "yyyy-MM-dd HH:mm:ss",
54
61
  ...props.col.componentProps || {}
@@ -101,10 +108,10 @@ var EditTime = /* @__PURE__ */ defineComponent({
101
108
  index: props.index
102
109
  });
103
110
  }
104
- const onFunc = ((_b = props.col.componentProps) == null ? void 0 : _b.isPopover) ? {
111
+ const onFunc = ((_a = props.col.componentProps) == null ? void 0 : _a.isPopover) ? {
105
112
  onBlur
106
113
  } : {};
107
- const hideSuffix = (_c = props.col.componentProps) == null ? void 0 : _c.hideSuffix;
114
+ const hideSuffix = (_b = props.col.componentProps) == null ? void 0 : _b.hideSuffix;
108
115
  return () => createVNode(NTimePicker, mergeProps({
109
116
  "class": {
110
117
  "hide-suffix": hideSuffix
@@ -23,10 +23,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  text: "",
24
24
  onClick: search
25
25
  }, {
26
- default: withCtx(() => {
27
- var _a;
28
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || "\u641C\u7D22")];
29
- }),
26
+ default: withCtx(() => [createTextVNode(function() {
27
+ var _a, _b, _c;
28
+ try {
29
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22";
30
+ } catch (e) {
31
+ return "\u641C\u7D22";
32
+ }
33
+ }())]),
30
34
  _: 1
31
35
  })]),
32
36
  _: 1
@@ -29,7 +29,7 @@ const useNestTable = (props, state, emit) => {
29
29
  row,
30
30
  rowIndex
31
31
  }) => {
32
- var _a, _b, _c, _d, _e, _f;
32
+ var _a, _b, _c, _d;
33
33
  try {
34
34
  if ((_a = row.expandList) == null ? void 0 : _a.length) {
35
35
  return Promise.resolve();
@@ -39,7 +39,14 @@ const useNestTable = (props, state, emit) => {
39
39
  if (!res || !res.status) {
40
40
  row.expandList = [];
41
41
  row.__emptyItems__ = {
42
- noDataTip: ((_b = res == null ? void 0 : res.data) == null ? void 0 : _b.resultMsg) || ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
42
+ noDataTip: ((_b = res == null ? void 0 : res.data) == null ? void 0 : _b.resultMsg) || function() {
43
+ var _a2, _b2, _c2;
44
+ try {
45
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.445")) || "\u6682\u65E0\u6570\u636E";
46
+ } catch (e) {
47
+ return "\u6682\u65E0\u6570\u636E";
48
+ }
49
+ }()
43
50
  };
44
51
  return Promise.reject([]);
45
52
  }
@@ -48,7 +55,14 @@ const useNestTable = (props, state, emit) => {
48
55
  if (!data) {
49
56
  row.expandList = [];
50
57
  row.__emptyItems__ = {
51
- noDataTip: ((_d = res == null ? void 0 : res.data) == null ? void 0 : _d.resultMsg) || ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
58
+ noDataTip: ((_c = res == null ? void 0 : res.data) == null ? void 0 : _c.resultMsg) || function() {
59
+ var _a2, _b2, _c2;
60
+ try {
61
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.445")) || "\u6682\u65E0\u6570\u636E";
62
+ } catch (e) {
63
+ return "\u6682\u65E0\u6570\u636E";
64
+ }
65
+ }()
52
66
  };
53
67
  return Promise.reject([]);
54
68
  }
@@ -69,7 +83,7 @@ const useNestTable = (props, state, emit) => {
69
83
  console.log(err, "loadExpandMethod---err");
70
84
  row.expandList = [];
71
85
  row.__emptyItems__ = {
72
- noDataTip: ((_f = err == null ? void 0 : err.data) == null ? void 0 : _f.resultMsg) || "\u8BF7\u6C42\u9519\u8BEF"
86
+ noDataTip: ((_d = err == null ? void 0 : err.data) == null ? void 0 : _d.resultMsg) || "\u8BF7\u6C42\u9519\u8BEF"
73
87
  };
74
88
  return Promise.reject([]);
75
89
  }
@@ -4,7 +4,6 @@ import vexutilsExpand from '../../../../shared/utils/vexutilsExpand.js';
4
4
 
5
5
  const useTableParse = (formatData) => {
6
6
  const parseDurationValue = (v, duration) => {
7
- var _a, _b;
8
7
  if (!v && v !== 0)
9
8
  return;
10
9
  const unitList = {
@@ -31,14 +30,28 @@ const useTableParse = (formatData) => {
31
30
  const MU = du * 30;
32
31
  if (value < MU) {
33
32
  const v2 = Math.floor(value / hu) % 24;
34
- return `${Math.floor(value / du)}\u5929${v2 ? v2 + (((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || "\u5C0F\u65F6") : ""}`;
33
+ return `${Math.floor(value / du)}\u5929${v2 ? v2 + function() {
34
+ var _a, _b, _c;
35
+ try {
36
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.350")) || "\u5C0F\u65F6";
37
+ } catch (e) {
38
+ return "\u5C0F\u65F6";
39
+ }
40
+ }() : ""}`;
35
41
  }
36
42
  const yu = du * 365;
37
43
  if (value < yu) {
38
44
  const unit2 = 30;
39
45
  const v1 = Math.floor(value / du / unit2);
40
46
  const v2 = Math.floor((value - v1 * unit2 * du) / du);
41
- return `${v1}\u4E2A\u6708${v2 ? v2 + (((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.144")) || "\u5929") : ""}`;
47
+ return `${v1}\u4E2A\u6708${v2 ? v2 + function() {
48
+ var _a, _b, _c;
49
+ try {
50
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.144")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.144")) || "\u5929";
51
+ } catch (e) {
52
+ return "\u5929";
53
+ }
54
+ }() : ""}`;
42
55
  }
43
56
  return `${Math.floor(value / du / 365)}\u5E74`;
44
57
  };
@@ -4,22 +4,42 @@ import { fabric } from '../../../shared/utils/fabricjs/index.js';
4
4
  import { frontCanvasParams, palmCanvasParams, backCanvasParams } from './config/index.js';
5
5
  import renderCanvas from './hooks/renderCanvas.js';
6
6
 
7
- var _a, _b, _c;
8
7
  const _hoisted_1 = {
9
8
  class: "c-body-select"
10
9
  };
11
10
  const _hoisted_2 = {
12
11
  class: "canvas-module"
13
12
  };
14
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.524")) || "\u6B63\u9762", -1);
13
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
14
+ var _a, _b, _c;
15
+ try {
16
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.524")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.524")) || "\u6B63\u9762";
17
+ } catch (e) {
18
+ return "\u6B63\u9762";
19
+ }
20
+ }(), -1);
15
21
  const _hoisted_4 = {
16
22
  class: "canvas-module"
17
23
  };
18
- const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.525")) || "\u624B", -1);
24
+ const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, function() {
25
+ var _a, _b, _c;
26
+ try {
27
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.525")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.525")) || "\u624B";
28
+ } catch (e) {
29
+ return "\u624B";
30
+ }
31
+ }(), -1);
19
32
  const _hoisted_6 = {
20
33
  class: "canvas-module"
21
34
  };
22
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.526")) || "\u80CC\u9762", -1);
35
+ const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, function() {
36
+ var _a, _b, _c;
37
+ try {
38
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.526")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.526")) || "\u80CC\u9762";
39
+ } catch (e) {
40
+ return "\u80CC\u9762";
41
+ }
42
+ }(), -1);
23
43
  var _sfc_main = /* @__PURE__ */ defineComponent({
24
44
  __name: "index",
25
45
  props: {
@@ -1105,6 +1105,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1105
1105
  watchPrintParamsReformatFn: null;
1106
1106
  spinTimer: null;
1107
1107
  iReportExecuteMode: number;
1108
+ number: string;
1108
1109
  };
1109
1110
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1110
1111
  tempOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
@@ -1111,6 +1111,7 @@ declare const _default: import("vue").DefineComponent<{
1111
1111
  watchPrintParamsReformatFn: null;
1112
1112
  spinTimer: null;
1113
1113
  iReportExecuteMode: number;
1114
+ number: string;
1114
1115
  };
1115
1116
  options: import("vue").Ref<AnyObject[]>;
1116
1117
  tempOptions: import("vue").Ref<AnyObject[]>;
@@ -3,7 +3,6 @@ import { InjectionButtonPrintEmits } from './constants/index.js';
3
3
  import NewPrintComponent from './components/NewPrintComponent.vue.js';
4
4
  import OldPrintComponent from './components/OldPrintComponent.vue.js';
5
5
 
6
- var _a, _b, _c, _d, _e, _f;
7
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
8
7
  __name: "ButtonPrint",
9
8
  props: {
@@ -15,23 +14,58 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
15
14
  type: Array
16
15
  },
17
16
  btnText: {
18
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || "\u6253\u5370",
17
+ default: function() {
18
+ var _a, _b, _c;
19
+ try {
20
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.478")) || "\u6253\u5370";
21
+ } catch (e) {
22
+ return "\u6253\u5370";
23
+ }
24
+ }(),
19
25
  type: String
20
26
  },
21
27
  printText: {
22
- default: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370",
28
+ default: function() {
29
+ var _a, _b, _c;
30
+ try {
31
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.479")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370";
32
+ } catch (e) {
33
+ return "\u76F4\u63A5\u6253\u5370";
34
+ }
35
+ }(),
23
36
  type: String
24
37
  },
25
38
  previewText: {
26
- default: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.480")) || "\u6253\u5370\u9884\u89C8",
39
+ default: function() {
40
+ var _a, _b, _c;
41
+ try {
42
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.480")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.480")) || "\u6253\u5370\u9884\u89C8";
43
+ } catch (e) {
44
+ return "\u6253\u5370\u9884\u89C8";
45
+ }
46
+ }(),
27
47
  type: String
28
48
  },
29
49
  pdfLoadText: {
30
- default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.481")) || "\u4E0B\u8F7Dpdf",
50
+ default: function() {
51
+ var _a, _b, _c;
52
+ try {
53
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.481")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.481")) || "\u4E0B\u8F7Dpdf";
54
+ } catch (e) {
55
+ return "\u4E0B\u8F7Dpdf";
56
+ }
57
+ }(),
31
58
  type: String
32
59
  },
33
60
  formatEditText: {
34
- default: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91",
61
+ default: function() {
62
+ var _a, _b, _c;
63
+ try {
64
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.482")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91";
65
+ } catch (e) {
66
+ return "\u683C\u5F0F\u7F16\u8F91";
67
+ }
68
+ }(),
35
69
  type: String
36
70
  },
37
71
  prevFn: {
@@ -55,7 +89,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
55
89
  type: Function
56
90
  },
57
91
  noDataMsg: {
58
- default: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E",
92
+ default: function() {
93
+ var _a, _b, _c;
94
+ try {
95
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.483")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
96
+ } catch (e) {
97
+ return "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
98
+ }
99
+ }(),
59
100
  type: String
60
101
  },
61
102
  noDefaultFormatMsg: {
@@ -132,8 +173,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
132
173
  const $attrs = useAttrs();
133
174
  const printComponentRef = ref();
134
175
  const isComponent = computed(() => {
135
- var _a2;
136
- return ((_a2 = Object.keys(props.newPrintSetting)) == null ? void 0 : _a2.length) > 0 ? NewPrintComponent : OldPrintComponent;
176
+ var _a;
177
+ return ((_a = Object.keys(props.newPrintSetting)) == null ? void 0 : _a.length) > 0 ? NewPrintComponent : OldPrintComponent;
137
178
  });
138
179
  const getProps = computed(() => {
139
180
  return Object.assign({}, props, $attrs);
@@ -143,8 +184,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
143
184
  };
144
185
  provide(InjectionButtonPrintEmits, emits);
145
186
  const directPrint = async () => {
146
- var _a2;
147
- (_a2 = printComponentRef.value) == null ? void 0 : _a2.directPrint();
187
+ var _a;
188
+ (_a = printComponentRef.value) == null ? void 0 : _a.directPrint();
148
189
  };
149
190
  expose({
150
191
  directPrint
@@ -143,10 +143,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
143
143
  "font-size": "12px"
144
144
  }
145
145
  }, {
146
- default: withCtx(() => {
147
- var _a;
148
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.461")) || "\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20")];
149
- }),
146
+ default: withCtx(() => [createTextVNode(function() {
147
+ var _a, _b, _c;
148
+ try {
149
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.461")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.461")) || "\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20";
150
+ } catch (e) {
151
+ return "\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20";
152
+ }
153
+ }())]),
150
154
  _: 1
151
155
  }), createVNode(unref(NP), {
152
156
  depth: "3",
@@ -155,10 +159,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
155
159
  "font-size": "13px"
156
160
  }
157
161
  }, {
158
- default: withCtx(() => {
159
- var _a;
160
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.462")) || "\u81F3\u5C11\u5305\u542B\u4E00\u4E2Ajxml\u6587\u4EF6\u548C\u4E00\u4E2Ajasper\u6587\u4EF6")];
161
- }),
162
+ default: withCtx(() => [createTextVNode(function() {
163
+ var _a, _b, _c;
164
+ try {
165
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.462")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.462")) || "\u81F3\u5C11\u5305\u542B\u4E00\u4E2Ajxml\u6587\u4EF6\u548C\u4E00\u4E2Ajasper\u6587\u4EF6";
166
+ } catch (e) {
167
+ return "\u81F3\u5C11\u5305\u542B\u4E00\u4E2Ajxml\u6587\u4EF6\u548C\u4E00\u4E2Ajasper\u6587\u4EF6";
168
+ }
169
+ }())]),
162
170
  _: 1
163
171
  })]),
164
172
  _: 1
@@ -1,8 +1,7 @@
1
- import { defineComponent, ref, reactive, watch, openBlock, createBlock, unref, normalizeStyle, withCtx, createElementVNode, mergeProps, createVNode, withKeys, createTextVNode } from 'vue';
1
+ import { defineComponent, ref, reactive, watch, openBlock, createElementBlock, Fragment, createCommentVNode, createVNode, unref, normalizeStyle, withCtx, createElementVNode, createBlock, mergeProps, withKeys, createTextVNode } from 'vue';
2
2
  import { useMessage, NModal, NForm, NFormItem, NInput, NButton } from 'naive-ui';
3
3
  import EditFormat from './EditFormat.vue.js';
4
4
 
5
- var _a;
6
5
  const _hoisted_1 = {
7
6
  class: "content"
8
7
  };
@@ -14,7 +13,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
14
13
  default: () => Promise.resolve()
15
14
  },
16
15
  identityVerificationTitle: {
17
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.471")) || "\u6253\u5370\u670D\u52A1\u8EAB\u4EFD\u6821\u9A8C"
16
+ default: function() {
17
+ var _a, _b, _c;
18
+ try {
19
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.471")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.471")) || "\u6253\u5370\u670D\u52A1\u8EAB\u4EFD\u6821\u9A8C";
20
+ } catch (e) {
21
+ return "\u6253\u5370\u670D\u52A1\u8EAB\u4EFD\u6821\u9A8C";
22
+ }
23
+ }()
18
24
  },
19
25
  modelValue: {
20
26
  type: Boolean
@@ -26,7 +32,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
26
32
  setup(__props, {
27
33
  emit
28
34
  }) {
29
- var _a2, _b;
30
35
  const props = __props;
31
36
  const $message = useMessage();
32
37
  const DEFAULT_FORM = {
@@ -42,11 +47,25 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
47
  const rules = {
43
48
  account: {
44
49
  required: true,
45
- message: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7"
50
+ message: function() {
51
+ var _a, _b, _c;
52
+ try {
53
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.468")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7";
54
+ } catch (e) {
55
+ return "\u8BF7\u8F93\u5165\u8D26\u53F7";
56
+ }
57
+ }()
46
58
  },
47
59
  password: {
48
60
  required: true,
49
- message: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801"
61
+ message: function() {
62
+ var _a, _b, _c;
63
+ try {
64
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.469")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801";
65
+ } catch (e) {
66
+ return "\u8BF7\u8F93\u5165\u5BC6\u7801";
67
+ }
68
+ }()
50
69
  }
51
70
  };
52
71
  const style = {
@@ -59,7 +78,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
59
78
  };
60
79
  const loading = ref(false);
61
80
  const submit = async () => {
62
- var _a3;
81
+ var _a;
63
82
  try {
64
83
  loading.value = true;
65
84
  const {
@@ -69,14 +88,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
69
88
  $message.error(data.resultMsg || "\u8EAB\u4EFD\u6821\u9A8C\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\uFF01");
70
89
  return false;
71
90
  }
72
- emit("success", (_a3 = data.map) == null ? void 0 : _a3.token);
91
+ emit("success", (_a = data.map) == null ? void 0 : _a.token);
73
92
  } finally {
74
93
  loading.value = false;
75
94
  }
76
95
  };
77
96
  const handleClickSubmit = () => {
78
- var _a3;
79
- (_a3 = formRef.value) == null ? void 0 : _a3.validate((errors) => {
97
+ var _a;
98
+ (_a = formRef.value) == null ? void 0 : _a.validate((errors) => {
80
99
  if (!errors) {
81
100
  submit();
82
101
  } else {
@@ -86,12 +105,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
86
105
  });
87
106
  };
88
107
  const submitEditFile = async () => {
89
- var _a3, _b2;
108
+ var _a, _b;
90
109
  try {
91
110
  loading.value = true;
92
- const data = await ((_b2 = editFormRef.value) == null ? void 0 : _b2.submit({
111
+ const data = await ((_b = editFormRef.value) == null ? void 0 : _b.submit({
93
112
  authorizationKey: token.value,
94
- id: (_a3 = props.formatId) == null ? void 0 : _a3.split("_")[1],
113
+ id: (_a = props.formatId) == null ? void 0 : _a.split("_")[1],
95
114
  templateId: props.templateId,
96
115
  datasourceName: null,
97
116
  dataSourceId: null
@@ -109,11 +128,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
109
128
  Object.assign(form, DEFAULT_FORM);
110
129
  });
111
130
  return (_ctx, _cache) => {
112
- var _a3, _b2, _c;
113
- return openBlock(), createBlock(unref(NModal), {
131
+ return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(' class="standard-modal standard-modal-white authentication-modal c-button-print-modal" '), createVNode(unref(NModal), {
132
+ class: "c-button-print-modal",
114
133
  preset: "dialog",
115
- title: showEditForm.value ? ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.284")) || "\u7F16\u8F91" : __props.identityVerificationTitle,
116
- class: "standard-modal standard-modal-white authentication-modal c-button-print-modal",
134
+ title: showEditForm.value ? function() {
135
+ var _a, _b, _c;
136
+ try {
137
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
138
+ } catch (e) {
139
+ return "\u7F16\u8F91";
140
+ }
141
+ }() : __props.identityVerificationTitle,
117
142
  show: __props.modelValue,
118
143
  "close-on-esc": false,
119
144
  "show-icon": false,
@@ -121,8 +146,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
121
146
  width: style.width,
122
147
  overflowY: "auto"
123
148
  }),
124
- "positive-text": showEditForm.value ? ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.428")) || "\u786E\u8BA4" : "",
125
- "negative-text": showEditForm.value ? ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.28")) || "\u53D6\u6D88" : "",
149
+ "positive-text": showEditForm.value ? function() {
150
+ var _a, _b, _c;
151
+ try {
152
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4";
153
+ } catch (e) {
154
+ return "\u786E\u8BA4";
155
+ }
156
+ }() : "",
157
+ "negative-text": showEditForm.value ? function() {
158
+ var _a, _b, _c;
159
+ try {
160
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
161
+ } catch (e) {
162
+ return "\u53D6\u6D88";
163
+ }
164
+ }() : "",
126
165
  onClose: handleClickClose,
127
166
  onNegativeClick: handleClickClose,
128
167
  onPositiveClick: submitEditFile
@@ -145,33 +184,41 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
145
184
  default: withCtx(() => [createVNode(unref(NFormItem), {
146
185
  path: "account"
147
186
  }, {
148
- default: withCtx(() => {
149
- var _a4;
150
- return [createVNode(unref(NInput), {
151
- value: unref(form).account,
152
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form).account = $event),
153
- placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7",
154
- onKeyup: withKeys(handleClickSubmit, ["enter"])
155
- }, null, 8, ["value", "onKeyup"])];
156
- }),
187
+ default: withCtx(() => [createVNode(unref(NInput), {
188
+ value: unref(form).account,
189
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form).account = $event),
190
+ placeholder: function() {
191
+ var _a, _b, _c;
192
+ try {
193
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.468")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7";
194
+ } catch (e) {
195
+ return "\u8BF7\u8F93\u5165\u8D26\u53F7";
196
+ }
197
+ }(),
198
+ onKeyup: withKeys(handleClickSubmit, ["enter"])
199
+ }, null, 8, ["value", "onKeyup"])]),
157
200
  _: 1
158
201
  }), createVNode(unref(NFormItem), {
159
202
  path: "password"
160
203
  }, {
161
- default: withCtx(() => {
162
- var _a4;
163
- return [createVNode(unref(NInput), {
164
- type: "password",
165
- "input-props": {
166
- autocomplete: "on",
167
- name: "password"
168
- },
169
- value: unref(form).password,
170
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(form).password = $event),
171
- placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801",
172
- onKeyup: withKeys(handleClickSubmit, ["enter"])
173
- }, null, 8, ["value", "onKeyup"])];
174
- }),
204
+ default: withCtx(() => [createVNode(unref(NInput), {
205
+ type: "password",
206
+ "input-props": {
207
+ autocomplete: "on",
208
+ name: "password"
209
+ },
210
+ value: unref(form).password,
211
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(form).password = $event),
212
+ placeholder: function() {
213
+ var _a, _b, _c;
214
+ try {
215
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.469")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801";
216
+ } catch (e) {
217
+ return "\u8BF7\u8F93\u5165\u5BC6\u7801";
218
+ }
219
+ }(),
220
+ onKeyup: withKeys(handleClickSubmit, ["enter"])
221
+ }, null, 8, ["value", "onKeyup"])]),
175
222
  _: 1
176
223
  }), createVNode(unref(NFormItem), null, {
177
224
  default: withCtx(() => [createVNode(unref(NButton), {
@@ -180,10 +227,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
180
227
  class: "login-form-button",
181
228
  onClick: handleClickSubmit
182
229
  }, {
183
- default: withCtx(() => {
184
- var _a4;
185
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.470")) || "\u767B\u5F55")];
186
- }),
230
+ default: withCtx(() => [createTextVNode(function() {
231
+ var _a, _b, _c;
232
+ try {
233
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.470")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.470")) || "\u767B\u5F55";
234
+ } catch (e) {
235
+ return "\u767B\u5F55";
236
+ }
237
+ }())]),
187
238
  _: 1
188
239
  }, 8, ["loading"])]),
189
240
  _: 1
@@ -191,7 +242,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
191
242
  _: 1
192
243
  }, 8, ["model"]))])]),
193
244
  _: 1
194
- }, 8, ["title", "show", "style", "positive-text", "negative-text"]);
245
+ }, 8, ["title", "show", "style", "positive-text", "negative-text"])], 2112);
195
246
  };
196
247
  }
197
248
  });