cnhis-design-vue 3.3.2-beta.12 → 3.3.2-beta.6

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 (179) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/src/Index.vue2.js +1 -1
  3. package/es/components/audio-sdk/style/index.css +1 -1
  4. package/es/components/base-search/src/index.vue2.js +15 -27
  5. package/es/components/big-table/src/BigTable.vue2.js +131 -189
  6. package/es/components/big-table/src/components/NoData.vue2.js +4 -16
  7. package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
  8. package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
  9. package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
  10. package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
  11. package/es/components/big-table/src/components/input-button.vue2.js +3 -7
  12. package/es/components/big-table/src/hooks/useNestTable.js +4 -18
  13. package/es/components/big-table/src/hooks/useTableParse.js +3 -16
  14. package/es/components/body-select/src/index.vue2.js +4 -24
  15. package/es/components/button-print/index.d.ts +0 -1
  16. package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
  17. package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
  18. package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
  19. package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
  20. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
  21. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
  22. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
  23. package/es/components/button-print/src/components/Preview.vue2.js +2 -8
  24. package/es/components/button-print/src/utils/dialog.js +6 -24
  25. package/es/components/button-print/src/utils/print.d.ts +5 -5
  26. package/es/components/button-print/src/utils/print.js +21 -108
  27. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
  28. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
  29. package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
  30. package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
  31. package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
  32. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  33. package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
  34. package/es/components/classification/src/index.vue2.js +69 -261
  35. package/es/components/default-page/src/constants/index.js +19 -144
  36. package/es/components/default-page/src/index.vue2.js +2 -8
  37. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
  38. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
  39. package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
  40. package/es/components/expand-field/src/components/form.vue2.js +412 -783
  41. package/es/components/expand-field/src/index.vue2.js +22 -88
  42. package/es/components/expand-field/src/utils/constant.js +12 -88
  43. package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
  44. package/es/components/fabric-chart/src/constants/index.js +10 -72
  45. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
  46. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
  48. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
  50. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
  52. package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
  53. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  54. package/es/components/fabric-chart/src/utils/index.js +2 -2
  55. package/es/components/field-editor/src/fields.js +30 -232
  56. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  57. package/es/components/field-set/src/FieldColor.vue2.js +21 -88
  58. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  59. package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
  60. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  61. package/es/components/field-set/src/FieldSet.vue2.js +57 -210
  62. package/es/components/field-set/src/Index.vue2.js +6 -40
  63. package/es/components/field-set/src/TableStyle.vue2.js +13 -48
  64. package/es/components/field-set/src/components/condition.vue2.js +11 -27
  65. package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
  66. package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
  67. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  68. package/es/components/field-set/src/components/table-row.vue2.js +42 -123
  69. package/es/components/field-set/src/constants/filter.js +42 -328
  70. package/es/components/field-set/src/constants/index.js +64 -504
  71. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
  72. package/es/components/form-config/src/constants/index.js +11 -80
  73. package/es/components/form-config/src/hooks/useLocale.js +31 -240
  74. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
  75. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
  76. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
  78. package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
  79. package/es/components/form-render/src/components/renderer/switch.js +4 -24
  80. package/es/components/form-render/src/utils/schema.js +6 -26
  81. package/es/components/iho-chat/src/Index.vue2.js +38 -42
  82. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
  83. package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
  84. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
  85. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
  86. package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
  87. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
  88. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
  89. package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
  90. package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
  91. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
  92. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
  93. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
  94. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
  95. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
  96. package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
  97. package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
  98. package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
  99. package/es/components/iho-chat/src/utils/index.js +14 -79
  100. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
  101. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
  102. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
  103. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  104. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +20 -50
  105. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +14 -20
  110. package/es/components/index.css +1 -1
  111. package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
  112. package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
  113. package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
  114. package/es/components/map/src/Map.vue2.js +3 -7
  115. package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
  116. package/es/components/quick-search/src/index.vue2.js +132 -177
  117. package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
  118. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
  119. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
  120. package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
  121. package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
  122. package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
  123. package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
  124. package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
  125. package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
  126. package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
  127. package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
  128. package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
  129. package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
  130. package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
  131. package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
  132. package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
  133. package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
  134. package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
  135. package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
  136. package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
  137. package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
  138. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
  139. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
  140. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
  141. package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
  142. package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
  143. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
  144. package/es/components/select-person/src/index.vue2.js +7 -20
  145. package/es/components/slider-tree/src/index.vue2.js +3 -16
  146. package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
  147. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
  148. package/es/components/table-export-field/src/index.vue2.js +12 -28
  149. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
  150. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
  151. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
  152. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
  153. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
  154. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
  155. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
  156. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
  157. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
  158. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
  159. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
  160. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
  161. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
  162. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
  163. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
  164. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
  165. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
  166. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
  167. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
  168. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
  169. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
  170. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
  171. package/es/components/table-filter/src/tool/baseOptions.js +19 -144
  172. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
  173. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
  174. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
  175. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
  176. package/es/env.d.ts +25 -25
  177. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  178. package/es/shared/package.json.js +1 -1
  179. package/package.json +2 -2
@@ -16,6 +16,7 @@ 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;
19
20
  const _hoisted_1 = {
20
21
  class: "form-config__connectionOperation"
21
22
  };
@@ -46,14 +47,7 @@ const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
46
47
  style: {
47
48
  "word-break": "keep-all"
48
49
  }
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);
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);
57
51
  const _hoisted_10 = {
58
52
  key: 1
59
53
  };
@@ -88,8 +82,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
88
82
  expandedName.value = valueRef.value.length - 1 + "";
89
83
  }
90
84
  function removeConnection(index) {
91
- var _a;
92
- const removedConfig = (_a = valueRef.value) == null ? void 0 : _a.splice(index, 1);
85
+ var _a2;
86
+ const removedConfig = (_a2 = valueRef.value) == null ? void 0 : _a2.splice(index, 1);
93
87
  removedConfig == null ? void 0 : removedConfig.forEach((config) => {
94
88
  const binder = config.__oppositeTargetField || config.__oppositeBindField;
95
89
  if (!binder)
@@ -133,12 +127,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
133
127
  return expression == null ? void 0 : expression.replace(/(AND|OR)/g, (v) => v === "AND" ? "OR" : "AND");
134
128
  }
135
129
  function createOppositeCondition(config) {
136
- var _a;
130
+ var _a2;
137
131
  const result = config.__oppositeTargetField || {
138
132
  conObj: []
139
133
  };
140
134
  result.conObj = cloneDeep(config.conObj);
141
- (_a = result.conObj) == null ? void 0 : _a.forEach((condition) => {
135
+ (_a2 = result.conObj) == null ? void 0 : _a2.forEach((condition) => {
142
136
  condition.con = conditionOppositeMap[condition.con];
143
137
  });
144
138
  result.sqlExpression = getOppositeSqlExpression(config.sqlExpression);
@@ -155,8 +149,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
155
149
  return result;
156
150
  }
157
151
  function isOppositeConfig(c1, c2) {
158
- var _a, _b;
159
- if (((_a = c1.conObj) == null ? void 0 : _a.length) !== ((_b = c2.conObj) == null ? void 0 : _b.length)) {
152
+ var _a2, _b2;
153
+ if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((_b2 = c2.conObj) == null ? void 0 : _b2.length)) {
160
154
  return false;
161
155
  }
162
156
  if (c1.conObj && c2.conObj && c1.conObj.some((condition) => !c2.conObj.find((condition2) => isOppositeConObj(condition, condition2)))) {
@@ -201,10 +195,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
201
195
  }) => getLabel(field_key)), ...bindFields]).filter((label) => !!label && isString(label));
202
196
  return labels.length ? `( \u76F8\u5173\u5B57\u6BB5: ${labels} )` : "";
203
197
  function getLabel(key) {
204
- var _a, _b;
205
- return (_b = (_a = fieldOptions.value.find((option) => {
198
+ var _a2, _b2;
199
+ return (_b2 = (_a2 = fieldOptions.value.find((option) => {
206
200
  return isString(key) ? key === option.key : isObject(key) ? Reflect.get(key, "field") === option.key : false;
207
- })) == null ? void 0 : _a.name) != null ? _b : key;
201
+ })) == null ? void 0 : _a2.name) != null ? _b2 : key;
208
202
  }
209
203
  }
210
204
  function addCondition(config) {
@@ -257,32 +251,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
257
251
  const setValueTypes = ["INPUT", "SELECT", "SEARCH", "REMOTE_SEARCH"];
258
252
  const setValueFieldOptions = computed(() => {
259
253
  return fieldOptions.value.filter((item) => {
260
- var _a;
261
- return setValueTypes.includes(item.type) || ((_a = item.originalSetting) == null ? void 0 : _a.html_type) && setValueTypes.includes(item.originalSetting.html_type);
254
+ var _a2;
255
+ return setValueTypes.includes(item.type) || ((_a2 = item.originalSetting) == null ? void 0 : _a2.html_type) && setValueTypes.includes(item.originalSetting.html_type);
262
256
  });
263
257
  });
264
258
  const currentTypeList = reactive([]);
265
259
  const dialog = useDialog();
266
260
  async function onNegativeClick() {
261
+ var _a2, _b2, _c2, _d, _e, _f;
267
262
  dialog.warning({
268
263
  title: "\u63D0\u793A",
269
264
  content: "\u76F4\u63A5\u5173\u95ED\u5F39\u7A97\u4F1A\u4E22\u5931\u5DF2\u7F16\u8F91\u7684\u914D\u7F6E, \u786E\u5B9A\u8981\u5173\u95ED\u5417?",
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
- }(),
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",
286
267
  onPositiveClick: () => {
287
268
  showRef.value = false;
288
269
  valueRef.value = [];
@@ -301,9 +282,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
301
282
  }
302
283
  }
303
284
  function configValidate() {
304
- var _a;
285
+ var _a2;
305
286
  const res = [];
306
- (_a = valueRef.value) == null ? void 0 : _a.forEach((config, index) => {
287
+ (_a2 = valueRef.value) == null ? void 0 : _a2.forEach((config, index) => {
307
288
  const messages = [];
308
289
  if (!config.conObj || !config.conObj.length) {
309
290
  messages.push("\u8054\u52A8\u6761\u4EF6\u4E3A\u7A7A");
@@ -333,20 +314,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
333
314
  generateFieldListByKeys
334
315
  } = useConfigurationField();
335
316
  const setValueFormFieldList = (field) => {
336
- var _a, _b;
337
- const fieldItemList = (_b = (_a = props.bindFormRenderRef) == null ? void 0 : _a.getFieldList()) != null ? _b : [];
317
+ var _a2, _b2;
318
+ const fieldItemList = (_b2 = (_a2 = props.bindFormRenderRef) == null ? void 0 : _a2.getFieldList()) != null ? _b2 : [];
338
319
  return [...generateFieldListByKeys([EditAbleField.DEFAULT_VALUE], setValueFieldOptions.value.find((item) => item.key === field), findFieldItemByKey(fieldItemList, field)).map((item) => {
320
+ var _a3, _b3, _c2;
339
321
  return {
340
322
  ...item,
341
323
  val_key: "value",
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
- }(),
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",
350
325
  decoratorProps: {
351
326
  showFeedback: false
352
327
  }
@@ -354,8 +329,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
354
329
  })];
355
330
  };
356
331
  const removeSetValueField = (item, index) => {
357
- var _a;
358
- (_a = item.setValueField) == null ? void 0 : _a.splice(index, 1);
332
+ var _a2;
333
+ (_a2 = item.setValueField) == null ? void 0 : _a2.splice(index, 1);
359
334
  };
360
335
  function onFormChange(payload, item) {
361
336
  item.value = payload.fieldInstance.form.getValuesIn("value");
@@ -387,28 +362,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
387
362
  size: "small",
388
363
  onClick: onNegativeClick
389
364
  }, {
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
- }())]),
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
+ }),
398
369
  _: 1
399
370
  }), createVNode(unref(NButton), {
400
371
  size: "small",
401
372
  onClick: onPositiveClick,
402
373
  type: "primary"
403
374
  }, {
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
- }())]),
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
+ }),
412
379
  _: 1
413
380
  })]),
414
381
  default: withCtx(() => [createElementVNode("header", _hoisted_1, [createVNode(unref(NButton), {
@@ -467,14 +434,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
467
434
  type: "error",
468
435
  size: "small"
469
436
  }, {
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
- }())]),
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
+ }),
478
441
  _: 2
479
442
  }, 1032, ["onClick"])]),
480
443
  default: withCtx(() => [createVNode(unref(NThing), {
@@ -538,40 +501,32 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
538
501
  type: "error",
539
502
  size: "small"
540
503
  }, {
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
- }())]),
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
+ }),
549
508
  _: 2
550
509
  }, 1032, ["disabled", "onClick"])]);
551
510
  }), 128))]),
552
511
  _: 2
553
512
  }, 1024)]), createElementVNode("section", _hoisted_5, [createElementVNode("div", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(connectionTypeOptions), (type) => {
554
- var _a, _b;
513
+ var _a2, _b2;
555
514
  return openBlock(), createElementBlock("div", {
556
515
  key: type.value,
557
516
  class: normalizeClass({
558
517
  "is-active": currentTypeList[index] === type.value
559
518
  }),
560
519
  onClick: ($event) => currentTypeList[index] = type.value
561
- }, toDisplayString(type.label) + " ( " + toDisplayString((_b = (_a = item[type.value]) == null ? void 0 : _a.length) != null ? _b : 0) + " ) ", 11, _hoisted_6);
520
+ }, toDisplayString(type.label) + " ( " + toDisplayString((_b2 = (_a2 = item[type.value]) == null ? void 0 : _a2.length) != null ? _b2 : 0) + " ) ", 11, _hoisted_6);
562
521
  }), 128))]), createElementVNode("div", null, [currentTypeList[index] === "setValueField" ? (openBlock(), createElementBlock("section", _hoisted_7, [createElementVNode("header", _hoisted_8, [createVNode(unref(NButton), {
563
522
  type: "primary",
564
523
  size: "tiny",
565
524
  onClick: ($event) => addSetValueField(item)
566
525
  }, {
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
- }())]),
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
+ }),
575
530
  _: 2
576
531
  }, 1032, ["onClick"])]), (openBlock(true), createElementBlock(Fragment, null, renderList(item.setValueField || [], (setFieldItem, setFieldIndex) => {
577
532
  return openBlock(), createElementBlock("section", {
@@ -1,6 +1,7 @@
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;
4
5
  function getWidgetText(type) {
5
6
  const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR", useFormConfigLocale("layoutArea.linebar")], ["NEWLINE", useFormConfigLocale("layoutArea.linebreak")]]);
6
7
  return WidgetTextMap.get(type) || "";
@@ -128,104 +129,34 @@ const conditionOppositeMap = {
128
129
  };
129
130
  const conditionTypeOptions = [{
130
131
  value: "EQ",
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
- }()
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"
139
133
  }, {
140
134
  value: "NEQ",
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
- }()
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"
149
136
  }, {
150
137
  value: "CL",
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
- }()
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"
159
139
  }, {
160
140
  value: "NC",
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
- }()
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"
169
142
  }, {
170
143
  value: "NULL",
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
- }()
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"
179
145
  }, {
180
146
  value: "NOT_NULL",
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
- }()
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"
189
148
  }, {
190
149
  value: "BIG",
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
- }()
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"
199
151
  }, {
200
152
  value: "BIGEQ",
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
- }()
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"
209
154
  }, {
210
155
  value: "LESS",
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
- }()
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"
219
157
  }, {
220
158
  value: "LESSEQ",
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
- }()
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"
229
160
  }];
230
161
  const connectionTypeOppositeMap = {
231
162
  showField: "hideField",