cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.3

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 (255) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +173 -146
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  4. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  6. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  9. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  10. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  11. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  12. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  14. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  15. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  16. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  20. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  21. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  22. package/es/components/audio-sdk/src/types/index.js +10 -0
  23. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  24. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  25. package/es/components/audio-sdk/style/index.css +1 -1
  26. package/es/components/base-search/src/index.vue2.js +30 -18
  27. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  28. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  29. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  30. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  31. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  32. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  33. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  34. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  35. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  36. package/es/components/body-select/src/index.vue2.js +24 -4
  37. package/es/components/button-print/index.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  39. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  40. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  41. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  42. package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
  43. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  44. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  45. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  46. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  47. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  48. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  49. package/es/components/button-print/src/utils/dialog.js +26 -8
  50. package/es/components/button-print/src/utils/print.d.ts +5 -5
  51. package/es/components/button-print/src/utils/print.js +108 -21
  52. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  53. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  54. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  55. package/es/components/card-render/src/components/index.d.ts +23 -23
  56. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  57. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  58. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  59. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  60. package/es/components/classification/src/index.vue2.js +261 -69
  61. package/es/components/default-page/src/constants/index.js +144 -19
  62. package/es/components/default-page/src/index.vue2.js +8 -2
  63. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  64. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  65. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  66. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  67. package/es/components/expand-field/src/index.vue2.js +88 -22
  68. package/es/components/expand-field/src/utils/constant.js +88 -12
  69. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  70. package/es/components/fabric-chart/src/constants/index.js +72 -10
  71. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  72. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  73. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  74. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  75. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  76. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  77. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  78. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  79. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  80. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  81. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  82. package/es/components/fabric-chart/src/utils/index.js +2 -2
  83. package/es/components/field-editor/src/fields.js +232 -30
  84. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  85. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  86. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  87. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  88. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  89. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  90. package/es/components/field-set/src/Index.vue2.js +40 -6
  91. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  92. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  93. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  94. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  95. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  96. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  97. package/es/components/field-set/src/constants/filter.js +328 -42
  98. package/es/components/field-set/src/constants/index.js +504 -64
  99. package/es/components/field-set/src/utils/index.js +1 -1
  100. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  101. package/es/components/form-config/src/constants/index.js +80 -11
  102. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  103. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  104. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  105. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  106. package/es/components/form-render/src/components/renderer/input.js +3 -2
  107. package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
  108. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  109. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  110. package/es/components/form-render/src/components/renderer/textarea.js +5 -4
  111. package/es/components/form-render/src/utils/schema.js +26 -6
  112. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  113. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  114. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  115. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  116. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  117. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  118. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  119. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  120. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  121. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  122. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  123. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  124. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  125. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +67 -12
  126. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  127. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  128. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  129. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  130. package/es/components/iho-chat/src/utils/index.js +79 -14
  131. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  132. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  133. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  134. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  135. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  136. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  138. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  139. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  140. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +17 -3
  141. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  142. package/es/components/index.css +1 -1
  143. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  144. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  145. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  146. package/es/components/map/src/Map.vue2.js +8 -4
  147. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  148. package/es/components/quick-search/src/index.vue2.js +176 -131
  149. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  150. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  151. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  152. package/es/components/scale-view/src/ScaleView.vue2.js +17 -9
  153. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  154. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  155. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  156. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  157. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  158. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  159. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  160. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  161. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  162. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  163. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  164. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  165. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  166. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  167. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  168. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  169. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  170. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  171. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  172. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  173. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  174. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  175. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  176. package/es/components/select-person/src/index.vue2.js +20 -7
  177. package/es/components/slider-tree/src/index.vue2.js +16 -3
  178. package/es/components/table-export-field/index.d.ts +1 -0
  179. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  180. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  181. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  182. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  183. package/es/components/table-export-field/src/index.vue2.js +28 -12
  184. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  185. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  186. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  187. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  188. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  189. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  190. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  191. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  192. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  193. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  194. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  195. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  196. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  197. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  198. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  199. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  200. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  201. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  202. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  203. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  204. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  205. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  206. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  207. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  208. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  209. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  210. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  211. package/es/env.d.ts +25 -25
  212. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  214. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  215. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  216. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  217. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  218. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  219. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  220. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  221. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  222. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  223. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  224. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  225. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  226. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  227. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  228. package/es/shared/assets/img/failure.png.js +1 -1
  229. package/es/shared/assets/img/no-permission.png.js +1 -1
  230. package/es/shared/assets/img/nodata.png.js +1 -1
  231. package/es/shared/assets/img/notfound.png.js +1 -1
  232. package/es/shared/assets/img/qr.png.js +1 -1
  233. package/es/shared/assets/img/success.png.js +1 -1
  234. package/es/shared/assets/img/table_style_2.png.js +1 -1
  235. package/es/shared/assets/img/video.png.js +1 -1
  236. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  237. package/es/shared/assets/img/xb_big.png.js +1 -1
  238. package/es/shared/assets/img/xb_small.png.js +1 -1
  239. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  240. package/es/shared/package.json.js +1 -1
  241. package/package.json +2 -2
  242. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  243. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
  244. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  245. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  246. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  247. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  248. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  249. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  250. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  251. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  252. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  253. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  254. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  255. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -13,7 +13,6 @@ import '@vueuse/shared';
13
13
  import '../../../../shared/hooks/selectHooks/useSearchContent.js';
14
14
  import '../../../../shared/hooks/useScrollLoading.js';
15
15
 
16
- var _a;
17
16
  const _hoisted_1 = {
18
17
  class: "condition-wrapper"
19
18
  };
@@ -23,7 +22,14 @@ const _hoisted_2 = {
23
22
  const _hoisted_3 = {
24
23
  class: "sql-expression-wrapper"
25
24
  };
26
- const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND", -1);
25
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, function() {
26
+ var _a, _b, _c;
27
+ try {
28
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.272")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
29
+ } catch (e) {
30
+ return "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
31
+ }
32
+ }(), -1);
27
33
  const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
28
34
  const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "\u4F8B\u5B50 (1 AND 2) OR 3", -1);
29
35
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -50,7 +56,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
50
56
  const sqlExpression = ref("");
51
57
  init();
52
58
  function setConOptions(item, isInit = false) {
53
- var _a2, _b;
59
+ var _a, _b;
54
60
  if (!isInit) {
55
61
  item.compareFieldOptions = [];
56
62
  item.con = "";
@@ -69,7 +75,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
69
75
  settingObj = {}
70
76
  } = option;
71
77
  item.fieldType = fieldType;
72
- const res = cloneDeep(((_a2 = FIELD_TYPE_LIST.find((fieldTypeItem) => fieldTypeItem.name === fieldType)) == null ? void 0 : _a2.conList) || []);
78
+ const res = cloneDeep(((_a = FIELD_TYPE_LIST.find((fieldTypeItem) => fieldTypeItem.name === fieldType)) == null ? void 0 : _a.conList) || []);
73
79
  const {
74
80
  showSetting,
75
81
  wordbook
@@ -356,13 +362,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
356
362
  },
357
363
  size: "20"
358
364
  }, null, 8, ["component"])]),
359
- default: withCtx(() => {
360
- var _a2;
361
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.270")) || "\u6DFB\u52A0\u64CD\u4F5C")];
362
- }),
365
+ default: withCtx(() => [createTextVNode(function() {
366
+ var _a, _b, _c;
367
+ try {
368
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.270")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.270")) || "\u6DFB\u52A0\u64CD\u4F5C";
369
+ } catch (e) {
370
+ return "\u6DFB\u52A0\u64CD\u4F5C";
371
+ }
372
+ }())]),
363
373
  _: 1
364
374
  }, 8, ["disabled"]), createElementVNode("section", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(condition.value, (item, index) => {
365
- var _a2;
366
375
  return openBlock(), createElementBlock("div", {
367
376
  class: "condition-wrapper__item",
368
377
  key: index
@@ -370,7 +379,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
370
379
  disabled: __props.readonly,
371
380
  value: item.field_key,
372
381
  "onUpdate:value": [($event) => item.field_key = $event, () => setConOptions(item)],
373
- placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D",
382
+ placeholder: function() {
383
+ var _a, _b, _c;
384
+ try {
385
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.271")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D";
386
+ } catch (e) {
387
+ return "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D";
388
+ }
389
+ }(),
374
390
  "label-field": "title",
375
391
  "value-field": "columnName",
376
392
  clearable: "",
@@ -42,7 +42,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  setup(__props, {
43
43
  emit
44
44
  }) {
45
- var _a;
46
45
  const props = __props;
47
46
  const cssVars = useTheme();
48
47
  const message = useMessage();
@@ -58,13 +57,40 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
58
57
  const conditionRef = ref();
59
58
  const filterVisible = ref(false);
60
59
  const title = computed(() => {
61
- var _a2, _b, _c, _d;
62
60
  if (props.isAdd) {
63
61
  if (!props.row)
64
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E";
65
- return ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.97")) || "\u590D\u5236";
62
+ return function() {
63
+ var _a, _b, _c;
64
+ try {
65
+ 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";
66
+ } catch (e) {
67
+ return "\u65B0\u589E";
68
+ }
69
+ }();
70
+ return function() {
71
+ var _a, _b, _c;
72
+ try {
73
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.97")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.97")) || "\u590D\u5236";
74
+ } catch (e) {
75
+ return "\u590D\u5236";
76
+ }
77
+ }();
66
78
  }
67
- return props.isFieldColor ? ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.214")) || "\u4FEE\u6539" : ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.280")) || "\u8FC7\u6EE4\u6761\u4EF6";
79
+ return props.isFieldColor ? function() {
80
+ var _a, _b, _c;
81
+ try {
82
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.214")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.214")) || "\u4FEE\u6539";
83
+ } catch (e) {
84
+ return "\u4FEE\u6539";
85
+ }
86
+ }() : function() {
87
+ var _a, _b, _c;
88
+ try {
89
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.280")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.280")) || "\u8FC7\u6EE4\u6761\u4EF6";
90
+ } catch (e) {
91
+ return "\u8FC7\u6EE4\u6761\u4EF6";
92
+ }
93
+ }();
68
94
  });
69
95
  const model = reactive({
70
96
  name: "",
@@ -83,7 +109,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
83
109
  }],
84
110
  color: [{
85
111
  required: true,
86
- message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272",
112
+ message: function() {
113
+ var _a, _b, _c;
114
+ try {
115
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.275")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272";
116
+ } catch (e) {
117
+ return "\u8BF7\u9009\u62E9\u989C\u8272";
118
+ }
119
+ }(),
87
120
  trigger: ["blur"]
88
121
  }],
89
122
  columnName: [{
@@ -112,14 +145,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
112
145
  }, [option.label]);
113
146
  }
114
147
  function onConfirm() {
115
- var _a2;
116
- (_a2 = formRef.value) == null ? void 0 : _a2.validate(async (errors) => {
117
- var _a3, _b;
148
+ var _a;
149
+ (_a = formRef.value) == null ? void 0 : _a.validate(async (errors) => {
150
+ var _a2, _b;
118
151
  if (!errors) {
119
152
  if (!props.isFieldColor) {
120
153
  Object.assign(model, conditionRef.value.getData());
121
154
  }
122
- if (!((_a3 = model.condition) == null ? void 0 : _a3.length)) {
155
+ if (!((_a2 = model.condition) == null ? void 0 : _a2.length)) {
123
156
  message.warning("\u8BF7\u914D\u7F6E\u8FC7\u6EE4\u6761\u4EF6");
124
157
  return;
125
158
  }
@@ -144,7 +177,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
144
177
  Object.assign(model, data);
145
178
  }
146
179
  return (_ctx, _cache) => {
147
- var _a2, _b;
148
180
  return openBlock(), createBlock(unref(NModal), {
149
181
  preset: "dialog",
150
182
  style: {
@@ -154,8 +186,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
154
186
  "close-on-esc": false,
155
187
  "show-icon": false,
156
188
  "mask-closable": false,
157
- "positive-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A",
158
- "negative-text": ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.28")) || "\u53D6\u6D88",
189
+ "positive-text": function() {
190
+ var _a, _b, _c;
191
+ try {
192
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A";
193
+ } catch (e) {
194
+ return "\u786E\u5B9A";
195
+ }
196
+ }(),
197
+ "negative-text": function() {
198
+ var _a, _b, _c;
199
+ try {
200
+ 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";
201
+ } catch (e) {
202
+ return "\u53D6\u6D88";
203
+ }
204
+ }(),
159
205
  "trap-focus": false,
160
206
  show: __props.visible,
161
207
  onPositiveClick: onConfirm,
@@ -184,49 +230,61 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
184
230
  "margin-bottom": "10px"
185
231
  }
186
232
  }, {
187
- default: withCtx(() => {
188
- var _a3;
189
- return [createVNode(unref(NInput), {
190
- value: model.name,
191
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => model.name = $event),
192
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.274")) || "\u8BF7\u586B\u5199\u540D\u79F0",
193
- clearable: ""
194
- }, null, 8, ["value"])];
195
- }),
233
+ default: withCtx(() => [createVNode(unref(NInput), {
234
+ value: model.name,
235
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => model.name = $event),
236
+ placeholder: function() {
237
+ var _a, _b, _c;
238
+ try {
239
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.274")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.274")) || "\u8BF7\u586B\u5199\u540D\u79F0";
240
+ } catch (e) {
241
+ return "\u8BF7\u586B\u5199\u540D\u79F0";
242
+ }
243
+ }(),
244
+ clearable: ""
245
+ }, null, 8, ["value"])]),
196
246
  _: 1
197
247
  }), __props.isFieldColor ? (openBlock(), createBlock(unref(NFormItem), {
198
248
  key: 0,
199
249
  label: "\u989C\u8272\uFF1A",
200
250
  path: "color"
201
251
  }, {
202
- default: withCtx(() => {
203
- var _a3;
204
- return [createVNode(unref(NColorPicker), {
205
- clearable: "",
206
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272",
207
- value: model.color,
208
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => model.color = $event),
209
- swatches: unref(swatches),
210
- modes: ["hex"],
211
- class: "c-field-set__color-picker"
212
- }, null, 8, ["value", "swatches"])];
213
- }),
252
+ default: withCtx(() => [createVNode(unref(NColorPicker), {
253
+ clearable: "",
254
+ placeholder: function() {
255
+ var _a, _b, _c;
256
+ try {
257
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.275")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272";
258
+ } catch (e) {
259
+ return "\u8BF7\u9009\u62E9\u989C\u8272";
260
+ }
261
+ }(),
262
+ value: model.color,
263
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => model.color = $event),
264
+ swatches: unref(swatches),
265
+ modes: ["hex"],
266
+ class: "c-field-set__color-picker"
267
+ }, null, 8, ["value", "swatches"])]),
214
268
  _: 1
215
269
  })) : (openBlock(), createBlock(unref(NFormItem), {
216
270
  key: 1,
217
271
  label: "\u989C\u8272\uFF1A",
218
272
  path: "color"
219
273
  }, {
220
- default: withCtx(() => {
221
- var _a3;
222
- return [createVNode(unref(NSelect), {
223
- value: model.color,
224
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => model.color = $event),
225
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272",
226
- "render-label": renderLabel,
227
- options: unref(colorOptions)
228
- }, null, 8, ["value", "options"])];
229
- }),
274
+ default: withCtx(() => [createVNode(unref(NSelect), {
275
+ value: model.color,
276
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => model.color = $event),
277
+ placeholder: function() {
278
+ var _a, _b, _c;
279
+ try {
280
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.275")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.275")) || "\u8BF7\u9009\u62E9\u989C\u8272";
281
+ } catch (e) {
282
+ return "\u8BF7\u9009\u62E9\u989C\u8272";
283
+ }
284
+ }(),
285
+ "render-label": renderLabel,
286
+ options: unref(colorOptions)
287
+ }, null, 8, ["value", "options"])]),
230
288
  _: 1
231
289
  })), createVNode(unref(NFormItem), {
232
290
  label: "\u663E\u793A\uFF1A",
@@ -246,16 +304,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
246
304
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => model.colorScope = $event)
247
305
  }, {
248
306
  default: withCtx(() => [createVNode(unref(NSpace), null, {
249
- default: withCtx(() => {
250
- var _a3, _b2;
251
- return [createVNode(unref(NRadio), {
252
- label: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.276")) || "\u5B57\u4F53",
253
- value: "font"
254
- }), createVNode(unref(NRadio), {
255
- label: ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.277")) || "\u80CC\u666F",
256
- value: "background"
257
- })];
258
- }),
307
+ default: withCtx(() => [createVNode(unref(NRadio), {
308
+ label: function() {
309
+ var _a, _b, _c;
310
+ try {
311
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.276")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.276")) || "\u5B57\u4F53";
312
+ } catch (e) {
313
+ return "\u5B57\u4F53";
314
+ }
315
+ }(),
316
+ value: "font"
317
+ }), createVNode(unref(NRadio), {
318
+ label: function() {
319
+ var _a, _b, _c;
320
+ try {
321
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.277")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.277")) || "\u80CC\u666F";
322
+ } catch (e) {
323
+ return "\u80CC\u666F";
324
+ }
325
+ }(),
326
+ value: "background"
327
+ })]),
259
328
  _: 1
260
329
  })]),
261
330
  _: 1
@@ -273,20 +342,31 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
273
342
  class: "c-field-set__space",
274
343
  align: "center"
275
344
  }, {
276
- default: withCtx(() => {
277
- var _a3, _b2;
278
- return [createVNode(unref(NSelect), {
279
- value: model.columnName,
280
- "onUpdate:value": _cache[5] || (_cache[5] = ($event) => model.columnName = $event),
281
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D",
282
- "label-field": "title",
283
- "value-field": "columnName",
284
- options: unref(fieldList)
285
- }, null, 8, ["value", "options"]), createElementVNode("span", {
286
- class: "filter-btn",
287
- onClick: _cache[6] || (_cache[6] = () => filterVisible.value = true)
288
- }, ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.278")) || "\u7B5B\u9009")];
289
- }),
345
+ default: withCtx(() => [createVNode(unref(NSelect), {
346
+ value: model.columnName,
347
+ "onUpdate:value": _cache[5] || (_cache[5] = ($event) => model.columnName = $event),
348
+ placeholder: function() {
349
+ var _a, _b, _c;
350
+ try {
351
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.271")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D";
352
+ } catch (e) {
353
+ return "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D";
354
+ }
355
+ }(),
356
+ "label-field": "title",
357
+ "value-field": "columnName",
358
+ options: unref(fieldList)
359
+ }, null, 8, ["value", "options"]), createElementVNode("span", {
360
+ class: "filter-btn",
361
+ onClick: _cache[6] || (_cache[6] = () => filterVisible.value = true)
362
+ }, function() {
363
+ var _a, _b, _c;
364
+ try {
365
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.278")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.278")) || "\u7B5B\u9009";
366
+ } catch (e) {
367
+ return "\u7B5B\u9009";
368
+ }
369
+ }())]),
290
370
  _: 1
291
371
  })]),
292
372
  _: 1
@@ -24,18 +24,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  emit("update:visible", false);
25
25
  }
26
26
  return (_ctx, _cache) => {
27
- var _a, _b, _c;
28
27
  return openBlock(), createBlock(unref(NModal), {
29
28
  preset: "dialog",
30
29
  style: {
31
30
  "width": "860px"
32
31
  },
33
- title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.281")) || "\u8BBE\u7F6E\u5206\u7C7B",
32
+ title: function() {
33
+ var _a, _b, _c;
34
+ try {
35
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.281")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.281")) || "\u8BBE\u7F6E\u5206\u7C7B";
36
+ } catch (e) {
37
+ return "\u8BBE\u7F6E\u5206\u7C7B";
38
+ }
39
+ }(),
34
40
  "close-on-esc": false,
35
41
  "show-icon": false,
36
42
  "mask-closable": false,
37
- "positive-text": ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.27")) || "\u786E\u5B9A",
38
- "negative-text": ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.28")) || "\u53D6\u6D88",
43
+ "positive-text": function() {
44
+ var _a, _b, _c;
45
+ try {
46
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A";
47
+ } catch (e) {
48
+ return "\u786E\u5B9A";
49
+ }
50
+ }(),
51
+ "negative-text": function() {
52
+ var _a, _b, _c;
53
+ try {
54
+ 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";
55
+ } catch (e) {
56
+ return "\u53D6\u6D88";
57
+ }
58
+ }(),
39
59
  "trap-focus": false,
40
60
  show: __props.visible,
41
61
  onPositiveClick: onConfirm,
@@ -216,7 +216,7 @@ declare const _default: import("vue").DefineComponent<{
216
216
  label: string;
217
217
  value: number;
218
218
  }[];
219
- getSelectText: (field: string) => any;
219
+ getSelectText: (field: string) => "" | " " | "单选" | "多选" | "密码无需设置" | "主键不可设置" | "不支持脱敏设置" | undefined;
220
220
  selectProps: (field: string) => {
221
221
  valueField: string;
222
222
  labelField: string;