cnhis-design-vue 3.3.2-beta.6 → 3.3.2-release.2

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 (208) hide show
  1. package/es/components/audio-sdk/index.d.ts +173 -146
  2. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  3. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  5. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  6. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  9. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  10. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  11. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  12. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  14. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  15. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  16. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  20. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  21. package/es/components/audio-sdk/src/types/index.js +10 -0
  22. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  23. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  24. package/es/components/audio-sdk/style/index.css +1 -1
  25. package/es/components/base-search/src/index.vue2.js +27 -15
  26. package/es/components/big-table/src/BigTable.vue2.js +189 -131
  27. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  28. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  29. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  30. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  31. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  32. package/es/components/big-table/src/components/input-button.vue2.js +7 -3
  33. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  34. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  35. package/es/components/body-select/src/index.vue2.js +24 -4
  36. package/es/components/button-print/index.d.ts +12 -4
  37. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  39. package/es/components/button-print/src/components/EditFormat.vue2.js +14 -6
  40. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  41. package/es/components/button-print/src/components/IdentityVerification.vue2.js +100 -45
  42. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  43. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  44. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  45. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  46. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  47. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  48. package/es/components/button-print/src/utils/dialog.js +26 -8
  49. package/es/components/button-print/src/utils/print.d.ts +5 -5
  50. package/es/components/button-print/src/utils/print.js +108 -21
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  52. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  53. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  54. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  55. package/es/components/classification/src/components/set-classification/index.vue2.js +23 -6
  56. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  57. package/es/components/classification/src/index.vue2.js +261 -69
  58. package/es/components/default-page/src/constants/index.js +144 -19
  59. package/es/components/default-page/src/index.vue2.js +8 -2
  60. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  61. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  62. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  63. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  64. package/es/components/expand-field/src/index.vue2.js +88 -22
  65. package/es/components/expand-field/src/utils/constant.js +88 -12
  66. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  67. package/es/components/fabric-chart/src/constants/index.js +72 -10
  68. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  69. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  70. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  71. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  72. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  73. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  74. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  75. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  76. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  77. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  78. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  79. package/es/components/fabric-chart/src/utils/index.js +2 -2
  80. package/es/components/field-editor/src/fields.js +232 -30
  81. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  82. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  83. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  84. package/es/components/field-set/src/FieldFilter.vue2.js +28 -12
  85. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  86. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  87. package/es/components/field-set/src/Index.vue2.js +40 -6
  88. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  89. package/es/components/field-set/src/components/condition.vue2.js +27 -11
  90. package/es/components/field-set/src/components/edit-dialog.vue2.js +149 -69
  91. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  92. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  93. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  94. package/es/components/field-set/src/constants/filter.js +328 -42
  95. package/es/components/field-set/src/constants/index.js +504 -64
  96. package/es/components/field-set/src/utils/index.js +1 -1
  97. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  98. package/es/components/form-config/src/constants/index.js +80 -11
  99. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  100. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +7 -3
  101. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +7 -3
  102. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  103. package/es/components/form-render/src/components/renderer/input.js +2 -1
  104. package/es/components/form-render/src/components/renderer/radio_checkbox.js +7 -3
  105. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  106. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  107. package/es/components/form-render/src/components/renderer/textarea.js +4 -3
  108. package/es/components/form-render/src/utils/schema.js +26 -6
  109. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  110. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  111. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  112. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  113. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +35 -15
  114. package/es/components/iho-chat/src/components/ChatMain.vue2.js +54 -22
  115. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  116. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  117. package/es/components/iho-chat/src/components/ChatSet.vue2.js +309 -211
  118. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  119. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  120. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  121. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  122. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
  123. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  124. package/es/components/iho-chat/src/components/SiderList.vue2.js +70 -40
  125. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  126. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  127. package/es/components/iho-chat/src/utils/index.js +79 -14
  128. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  129. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  130. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  131. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  132. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  133. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +14 -6
  134. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  135. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +45 -18
  136. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +20 -14
  138. package/es/components/index.css +1 -1
  139. package/es/components/info-header/src/components/patientInfo/index.vue2.js +142 -23
  140. package/es/components/keyboard/src/Keyboard.vue2.js +21 -9
  141. package/es/components/keyboard/src/components/NumberPanel.vue2.js +49 -35
  142. package/es/components/map/src/Map.vue2.js +7 -3
  143. package/es/components/picture-clipper/src/PictureClipper.vue2.js +14 -6
  144. package/es/components/quick-search/src/index.vue2.js +177 -132
  145. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  146. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  147. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  148. package/es/components/scale-view/src/ScaleView.vue2.js +14 -6
  149. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  150. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  151. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  152. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  153. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  154. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  155. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  156. package/es/components/scale-view/src/components/formitem/r-sign.js +30 -9
  157. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  158. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  159. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  160. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  161. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  162. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  163. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  164. package/es/components/select-label/src/SelectLabel.vue2.js +85 -55
  165. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  166. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  167. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  168. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  169. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  170. package/es/components/select-person/src/SelectPersonType.vue2.js +130 -105
  171. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  172. package/es/components/select-person/src/index.vue2.js +20 -7
  173. package/es/components/slider-tree/src/index.vue2.js +16 -3
  174. package/es/components/table-export-field/src/components/ExportModal.vue2.js +186 -112
  175. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  176. package/es/components/table-export-field/src/index.vue2.js +28 -12
  177. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  178. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  179. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  180. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  181. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  182. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  183. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  184. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  185. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  186. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  187. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  188. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  189. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +13 -7
  190. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  191. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  192. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +7 -3
  193. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  194. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  195. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  196. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  197. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  198. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  199. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  200. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +28 -12
  201. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  202. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +7 -3
  203. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +14 -6
  204. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  205. package/es/shared/package.json.js +1 -1
  206. package/package.json +2 -2
  207. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  208. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
@@ -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, _b, _c;
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")) || ((_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", -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, _b2;
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
@@ -77,7 +83,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
77
83
  if (showSetting == null ? void 0 : showSetting.length) {
78
84
  res.unshift(...SHOWSETTING_OPTIONS);
79
85
  }
80
- if ((_b2 = Object.keys(wordbook || {})) == null ? void 0 : _b2.length) {
86
+ if ((_b = Object.keys(wordbook || {})) == null ? void 0 : _b.length) {
81
87
  res.unshift(...WORDBOOK_OPTIONS);
82
88
  }
83
89
  item.conOptions = res;
@@ -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, _b2, _c2;
361
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.270")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "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, _b2, _c2;
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")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "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, _b, _c;
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, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l;
62
60
  if (props.isAdd) {
63
61
  if (!props.row)
64
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E";
65
- return ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.97")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "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 ? ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.214")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.214")) || "\u4FEE\u6539" : ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.280")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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,19 +145,19 @@ 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, _b2;
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
  }
126
159
  const otherProps = props.isFieldColor ? {
127
- title: (_b2 = fieldList.find((fieldItem) => fieldItem.columnName === model.columnName)) == null ? void 0 : _b2.title
160
+ title: (_b = fieldList.find((fieldItem) => fieldItem.columnName === model.columnName)) == null ? void 0 : _b.title
128
161
  } : {};
129
162
  emit("confirm", {
130
163
  ...model,
@@ -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, _b2, _c2, _d, _e, _f;
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")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A",
158
- "negative-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
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, _b3, _c3;
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")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "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, _b3, _c3;
204
- return [createVNode(unref(NColorPicker), {
205
- clearable: "",
206
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.275")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "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, _b3, _c3;
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")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "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, _b3, _c3, _d2, _e2, _f2;
251
- return [createVNode(unref(NRadio), {
252
- label: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.276")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.276")) || "\u5B57\u4F53",
253
- value: "font"
254
- }), createVNode(unref(NRadio), {
255
- label: ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.277")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "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, _b3, _c3, _d2, _e2, _f2;
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")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "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
- }, ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.278")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "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, _d, _e, _f, _g, _h, _i;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.27")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.27")) || "\u786E\u5B9A",
38
- "negative-text": ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "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;