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
@@ -43,7 +43,7 @@ function setStyle(column, index, widthProps) {
43
43
  return style;
44
44
  }
45
45
  function isDisable(item, key) {
46
- return ["editable", "required", "show", "fixedWay", "sortDirection", "isSearch", "isSum", "isAvg"].includes(key) && (item[`${key}Disable`] || item[`${key}Disabled`]) || ["sort"].includes(key) && (item.notParticipatingSort == 1 || item.sortDisabled);
46
+ return ["editable", "required", "show", "fixedWay", "sortDirection", "isSearch", "isSum", "isAvg"].includes(key) && (item[`${key}Disable`] || item[`${key}Disabled`]) || ["sort"].includes(key) && (item.notParticipatingSort == 1 || item.sortDisabled) || item[`${key}Disabled`];
47
47
  }
48
48
  function getGroupTree(rowGroupSetting, fieldList, getKey = (field) => field.name) {
49
49
  const result = fieldList.map((field) => getKey(field));
@@ -16,7 +16,6 @@ import { findFieldItemByKey } from '../utils/index.js';
16
16
  import '../../../../shared/components/VueDraggable/src/vuedraggable.js';
17
17
  import { useConfigurationField } from '../hooks/useConfigurationField.js';
18
18
 
19
- var _a, _b, _c;
20
19
  const _hoisted_1 = {
21
20
  class: "form-config__connectionOperation"
22
21
  };
@@ -47,7 +46,14 @@ const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
47
46
  style: {
48
47
  "word-break": "keep-all"
49
48
  }
50
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.9")) || "\u5B57\u6BB5", -1);
49
+ }, function() {
50
+ var _a, _b, _c;
51
+ try {
52
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.9")) || "\u5B57\u6BB5";
53
+ } catch (e) {
54
+ return "\u5B57\u6BB5";
55
+ }
56
+ }(), -1);
51
57
  const _hoisted_10 = {
52
58
  key: 1
53
59
  };
@@ -82,8 +88,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
82
88
  expandedName.value = valueRef.value.length - 1 + "";
83
89
  }
84
90
  function removeConnection(index) {
85
- var _a2;
86
- const removedConfig = (_a2 = valueRef.value) == null ? void 0 : _a2.splice(index, 1);
91
+ var _a;
92
+ const removedConfig = (_a = valueRef.value) == null ? void 0 : _a.splice(index, 1);
87
93
  removedConfig == null ? void 0 : removedConfig.forEach((config) => {
88
94
  const binder = config.__oppositeTargetField || config.__oppositeBindField;
89
95
  if (!binder)
@@ -127,12 +133,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
127
133
  return expression == null ? void 0 : expression.replace(/(AND|OR)/g, (v) => v === "AND" ? "OR" : "AND");
128
134
  }
129
135
  function createOppositeCondition(config) {
130
- var _a2;
136
+ var _a;
131
137
  const result = config.__oppositeTargetField || {
132
138
  conObj: []
133
139
  };
134
140
  result.conObj = cloneDeep(config.conObj);
135
- (_a2 = result.conObj) == null ? void 0 : _a2.forEach((condition) => {
141
+ (_a = result.conObj) == null ? void 0 : _a.forEach((condition) => {
136
142
  condition.con = conditionOppositeMap[condition.con];
137
143
  });
138
144
  result.sqlExpression = getOppositeSqlExpression(config.sqlExpression);
@@ -149,8 +155,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
149
155
  return result;
150
156
  }
151
157
  function isOppositeConfig(c1, c2) {
152
- var _a2, _b2;
153
- if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((_b2 = c2.conObj) == null ? void 0 : _b2.length)) {
158
+ var _a, _b;
159
+ if (((_a = c1.conObj) == null ? void 0 : _a.length) !== ((_b = c2.conObj) == null ? void 0 : _b.length)) {
154
160
  return false;
155
161
  }
156
162
  if (c1.conObj && c2.conObj && c1.conObj.some((condition) => !c2.conObj.find((condition2) => isOppositeConObj(condition, condition2)))) {
@@ -195,10 +201,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
195
201
  }) => getLabel(field_key)), ...bindFields]).filter((label) => !!label && isString(label));
196
202
  return labels.length ? `( \u76F8\u5173\u5B57\u6BB5: ${labels} )` : "";
197
203
  function getLabel(key) {
198
- var _a2, _b2;
199
- return (_b2 = (_a2 = fieldOptions.value.find((option) => {
204
+ var _a, _b;
205
+ return (_b = (_a = fieldOptions.value.find((option) => {
200
206
  return isString(key) ? key === option.key : isObject(key) ? Reflect.get(key, "field") === option.key : false;
201
- })) == null ? void 0 : _a2.name) != null ? _b2 : key;
207
+ })) == null ? void 0 : _a.name) != null ? _b : key;
202
208
  }
203
209
  }
204
210
  function addCondition(config) {
@@ -251,19 +257,32 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
251
257
  const setValueTypes = ["INPUT", "SELECT", "SEARCH", "REMOTE_SEARCH"];
252
258
  const setValueFieldOptions = computed(() => {
253
259
  return fieldOptions.value.filter((item) => {
254
- var _a2;
255
- return setValueTypes.includes(item.type) || ((_a2 = item.originalSetting) == null ? void 0 : _a2.html_type) && setValueTypes.includes(item.originalSetting.html_type);
260
+ var _a;
261
+ return setValueTypes.includes(item.type) || ((_a = item.originalSetting) == null ? void 0 : _a.html_type) && setValueTypes.includes(item.originalSetting.html_type);
256
262
  });
257
263
  });
258
264
  const currentTypeList = reactive([]);
259
265
  const dialog = useDialog();
260
266
  async function onNegativeClick() {
261
- var _a2, _b2, _c2, _d, _e, _f;
262
267
  dialog.warning({
263
268
  title: "\u63D0\u793A",
264
269
  content: "\u76F4\u63A5\u5173\u95ED\u5F39\u7A97\u4F1A\u4E22\u5931\u5DF2\u7F16\u8F91\u7684\u914D\u7F6E, \u786E\u5B9A\u8981\u5173\u95ED\u5417?",
265
- positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A",
266
- negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
270
+ positiveText: function() {
271
+ var _a, _b, _c;
272
+ try {
273
+ 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";
274
+ } catch (e) {
275
+ return "\u786E\u5B9A";
276
+ }
277
+ }(),
278
+ negativeText: function() {
279
+ var _a, _b, _c;
280
+ try {
281
+ 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";
282
+ } catch (e) {
283
+ return "\u53D6\u6D88";
284
+ }
285
+ }(),
267
286
  onPositiveClick: () => {
268
287
  showRef.value = false;
269
288
  valueRef.value = [];
@@ -282,9 +301,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
282
301
  }
283
302
  }
284
303
  function configValidate() {
285
- var _a2;
304
+ var _a;
286
305
  const res = [];
287
- (_a2 = valueRef.value) == null ? void 0 : _a2.forEach((config, index) => {
306
+ (_a = valueRef.value) == null ? void 0 : _a.forEach((config, index) => {
288
307
  const messages = [];
289
308
  if (!config.conObj || !config.conObj.length) {
290
309
  messages.push("\u8054\u52A8\u6761\u4EF6\u4E3A\u7A7A");
@@ -314,14 +333,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
314
333
  generateFieldListByKeys
315
334
  } = useConfigurationField();
316
335
  const setValueFormFieldList = (field) => {
317
- var _a2, _b2;
318
- const fieldItemList = (_b2 = (_a2 = props.bindFormRenderRef) == null ? void 0 : _a2.getFieldList()) != null ? _b2 : [];
336
+ var _a, _b;
337
+ const fieldItemList = (_b = (_a = props.bindFormRenderRef) == null ? void 0 : _a.getFieldList()) != null ? _b : [];
319
338
  return [...generateFieldListByKeys([EditAbleField.DEFAULT_VALUE], setValueFieldOptions.value.find((item) => item.key === field), findFieldItemByKey(fieldItemList, field)).map((item) => {
320
- var _a3, _b3, _c2;
321
339
  return {
322
340
  ...item,
323
341
  val_key: "value",
324
- alias: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.22")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.22")) || "\u503C",
342
+ alias: function() {
343
+ var _a2, _b2, _c;
344
+ try {
345
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.22")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.22")) || "\u503C";
346
+ } catch (e) {
347
+ return "\u503C";
348
+ }
349
+ }(),
325
350
  decoratorProps: {
326
351
  showFeedback: false
327
352
  }
@@ -329,8 +354,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
329
354
  })];
330
355
  };
331
356
  const removeSetValueField = (item, index) => {
332
- var _a2;
333
- (_a2 = item.setValueField) == null ? void 0 : _a2.splice(index, 1);
357
+ var _a;
358
+ (_a = item.setValueField) == null ? void 0 : _a.splice(index, 1);
334
359
  };
335
360
  function onFormChange(payload, item) {
336
361
  item.value = payload.fieldInstance.form.getValuesIn("value");
@@ -362,20 +387,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
362
387
  size: "small",
363
388
  onClick: onNegativeClick
364
389
  }, {
365
- default: withCtx(() => {
366
- var _a2, _b2, _c2;
367
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
368
- }),
390
+ default: withCtx(() => [createTextVNode(function() {
391
+ var _a, _b, _c;
392
+ try {
393
+ 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";
394
+ } catch (e) {
395
+ return "\u53D6\u6D88";
396
+ }
397
+ }())]),
369
398
  _: 1
370
399
  }), createVNode(unref(NButton), {
371
400
  size: "small",
372
401
  onClick: onPositiveClick,
373
402
  type: "primary"
374
403
  }, {
375
- default: withCtx(() => {
376
- var _a2, _b2, _c2;
377
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
378
- }),
404
+ default: withCtx(() => [createTextVNode(function() {
405
+ var _a, _b, _c;
406
+ try {
407
+ 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";
408
+ } catch (e) {
409
+ return "\u786E\u5B9A";
410
+ }
411
+ }())]),
379
412
  _: 1
380
413
  })]),
381
414
  default: withCtx(() => [createElementVNode("header", _hoisted_1, [createVNode(unref(NButton), {
@@ -434,10 +467,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
434
467
  type: "error",
435
468
  size: "small"
436
469
  }, {
437
- default: withCtx(() => {
438
- var _a2, _b2, _c2;
439
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
440
- }),
470
+ default: withCtx(() => [createTextVNode(function() {
471
+ var _a, _b, _c;
472
+ try {
473
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.88")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.88")) || "\u79FB\u9664";
474
+ } catch (e) {
475
+ return "\u79FB\u9664";
476
+ }
477
+ }())]),
441
478
  _: 2
442
479
  }, 1032, ["onClick"])]),
443
480
  default: withCtx(() => [createVNode(unref(NThing), {
@@ -501,32 +538,40 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
501
538
  type: "error",
502
539
  size: "small"
503
540
  }, {
504
- default: withCtx(() => {
505
- var _a2, _b2, _c2;
506
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
507
- }),
541
+ default: withCtx(() => [createTextVNode(function() {
542
+ var _a, _b, _c;
543
+ try {
544
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.88")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.88")) || "\u79FB\u9664";
545
+ } catch (e) {
546
+ return "\u79FB\u9664";
547
+ }
548
+ }())]),
508
549
  _: 2
509
550
  }, 1032, ["disabled", "onClick"])]);
510
551
  }), 128))]),
511
552
  _: 2
512
553
  }, 1024)]), createElementVNode("section", _hoisted_5, [createElementVNode("div", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(connectionTypeOptions), (type) => {
513
- var _a2, _b2;
554
+ var _a, _b;
514
555
  return openBlock(), createElementBlock("div", {
515
556
  key: type.value,
516
557
  class: normalizeClass({
517
558
  "is-active": currentTypeList[index] === type.value
518
559
  }),
519
560
  onClick: ($event) => currentTypeList[index] = type.value
520
- }, toDisplayString(type.label) + " ( " + toDisplayString((_b2 = (_a2 = item[type.value]) == null ? void 0 : _a2.length) != null ? _b2 : 0) + " ) ", 11, _hoisted_6);
561
+ }, toDisplayString(type.label) + " ( " + toDisplayString((_b = (_a = item[type.value]) == null ? void 0 : _a.length) != null ? _b : 0) + " ) ", 11, _hoisted_6);
521
562
  }), 128))]), createElementVNode("div", null, [currentTypeList[index] === "setValueField" ? (openBlock(), createElementBlock("section", _hoisted_7, [createElementVNode("header", _hoisted_8, [createVNode(unref(NButton), {
522
563
  type: "primary",
523
564
  size: "tiny",
524
565
  onClick: ($event) => addSetValueField(item)
525
566
  }, {
526
- default: withCtx(() => {
527
- var _a2, _b2, _c2;
528
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E")];
529
- }),
567
+ default: withCtx(() => [createTextVNode(function() {
568
+ var _a, _b, _c;
569
+ try {
570
+ 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";
571
+ } catch (e) {
572
+ return "\u65B0\u589E";
573
+ }
574
+ }())]),
530
575
  _: 2
531
576
  }, 1032, ["onClick"])]), (openBlock(true), createElementBlock(Fragment, null, renderList(item.setValueField || [], (setFieldItem, setFieldIndex) => {
532
577
  return openBlock(), createElementBlock("section", {
@@ -1,7 +1,6 @@
1
1
  import { range } from 'lodash-es';
2
2
  import { useFormConfigLocale } from '../hooks/useLocale.js';
3
3
 
4
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
5
4
  function getWidgetText(type) {
6
5
  const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR", useFormConfigLocale("layoutArea.linebar")], ["NEWLINE", useFormConfigLocale("layoutArea.linebreak")]]);
7
6
  return WidgetTextMap.get(type) || "";
@@ -129,34 +128,104 @@ const conditionOppositeMap = {
129
128
  };
130
129
  const conditionTypeOptions = [{
131
130
  value: "EQ",
132
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.317")) || "\u7B49\u4E8E"
131
+ label: function() {
132
+ var _a, _b, _c;
133
+ try {
134
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.317")) || "\u7B49\u4E8E";
135
+ } catch (e) {
136
+ return "\u7B49\u4E8E";
137
+ }
138
+ }()
133
139
  }, {
134
140
  value: "NEQ",
135
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.318")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.318")) || "\u4E0D\u7B49\u4E8E"
141
+ label: function() {
142
+ var _a, _b, _c;
143
+ try {
144
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.318")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.318")) || "\u4E0D\u7B49\u4E8E";
145
+ } catch (e) {
146
+ return "\u4E0D\u7B49\u4E8E";
147
+ }
148
+ }()
136
149
  }, {
137
150
  value: "CL",
138
- label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.340")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.340")) || "\u5305\u542B"
151
+ label: function() {
152
+ var _a, _b, _c;
153
+ try {
154
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.340")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.340")) || "\u5305\u542B";
155
+ } catch (e) {
156
+ return "\u5305\u542B";
157
+ }
158
+ }()
139
159
  }, {
140
160
  value: "NC",
141
- label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.341")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.341")) || "\u4E0D\u5305\u542B"
161
+ label: function() {
162
+ var _a, _b, _c;
163
+ try {
164
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.341")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.341")) || "\u4E0D\u5305\u542B";
165
+ } catch (e) {
166
+ return "\u4E0D\u5305\u542B";
167
+ }
168
+ }()
142
169
  }, {
143
170
  value: "NULL",
144
- label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.338")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.338")) || "\u4E3A\u7A7A"
171
+ label: function() {
172
+ var _a, _b, _c;
173
+ try {
174
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.338")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.338")) || "\u4E3A\u7A7A";
175
+ } catch (e) {
176
+ return "\u4E3A\u7A7A";
177
+ }
178
+ }()
145
179
  }, {
146
180
  value: "NOT_NULL",
147
- label: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.339")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A"
181
+ label: function() {
182
+ var _a, _b, _c;
183
+ try {
184
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.339")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A";
185
+ } catch (e) {
186
+ return "\u4E0D\u4E3A\u7A7A";
187
+ }
188
+ }()
148
189
  }, {
149
190
  value: "BIG",
150
- label: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.319")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.319")) || "\u5927\u4E8E"
191
+ label: function() {
192
+ var _a, _b, _c;
193
+ try {
194
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.319")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.319")) || "\u5927\u4E8E";
195
+ } catch (e) {
196
+ return "\u5927\u4E8E";
197
+ }
198
+ }()
151
199
  }, {
152
200
  value: "BIGEQ",
153
- label: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.321")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E"
201
+ label: function() {
202
+ var _a, _b, _c;
203
+ try {
204
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.321")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E";
205
+ } catch (e) {
206
+ return "\u5927\u4E8E\u7B49\u4E8E";
207
+ }
208
+ }()
154
209
  }, {
155
210
  value: "LESS",
156
- label: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.320")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.320")) || "\u5C0F\u4E8E"
211
+ label: function() {
212
+ var _a, _b, _c;
213
+ try {
214
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.320")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.320")) || "\u5C0F\u4E8E";
215
+ } catch (e) {
216
+ return "\u5C0F\u4E8E";
217
+ }
218
+ }()
157
219
  }, {
158
220
  value: "LESSEQ",
159
- label: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.322")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E"
221
+ label: function() {
222
+ var _a, _b, _c;
223
+ try {
224
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.322")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E";
225
+ } catch (e) {
226
+ return "\u5C0F\u4E8E\u7B49\u4E8E";
227
+ }
228
+ }()
160
229
  }];
161
230
  const connectionTypeOppositeMap = {
162
231
  showField: "hideField",