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
@@ -13,6 +13,7 @@ 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;
16
17
  const _hoisted_1 = {
17
18
  class: "condition-wrapper"
18
19
  };
@@ -22,14 +23,7 @@ const _hoisted_2 = {
22
23
  const _hoisted_3 = {
23
24
  class: "sql-expression-wrapper"
24
25
  };
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);
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);
33
27
  const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
34
28
  const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "\u4F8B\u5B50 (1 AND 2) OR 3", -1);
35
29
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -56,7 +50,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
50
  const sqlExpression = ref("");
57
51
  init();
58
52
  function setConOptions(item, isInit = false) {
59
- var _a, _b;
53
+ var _a2, _b2;
60
54
  if (!isInit) {
61
55
  item.compareFieldOptions = [];
62
56
  item.con = "";
@@ -75,7 +69,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
75
69
  settingObj = {}
76
70
  } = option;
77
71
  item.fieldType = fieldType;
78
- const res = cloneDeep(((_a = FIELD_TYPE_LIST.find((fieldTypeItem) => fieldTypeItem.name === fieldType)) == null ? void 0 : _a.conList) || []);
72
+ const res = cloneDeep(((_a2 = FIELD_TYPE_LIST.find((fieldTypeItem) => fieldTypeItem.name === fieldType)) == null ? void 0 : _a2.conList) || []);
79
73
  const {
80
74
  showSetting,
81
75
  wordbook
@@ -83,7 +77,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
83
77
  if (showSetting == null ? void 0 : showSetting.length) {
84
78
  res.unshift(...SHOWSETTING_OPTIONS);
85
79
  }
86
- if ((_b = Object.keys(wordbook || {})) == null ? void 0 : _b.length) {
80
+ if ((_b2 = Object.keys(wordbook || {})) == null ? void 0 : _b2.length) {
87
81
  res.unshift(...WORDBOOK_OPTIONS);
88
82
  }
89
83
  item.conOptions = res;
@@ -362,16 +356,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
362
356
  },
363
357
  size: "20"
364
358
  }, null, 8, ["component"])]),
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
- }())]),
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
+ }),
373
363
  _: 1
374
364
  }, 8, ["disabled"]), createElementVNode("section", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(condition.value, (item, index) => {
365
+ var _a2, _b2, _c2;
375
366
  return openBlock(), createElementBlock("div", {
376
367
  class: "condition-wrapper__item",
377
368
  key: index
@@ -379,14 +370,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
379
370
  disabled: __props.readonly,
380
371
  value: item.field_key,
381
372
  "onUpdate:value": [($event) => item.field_key = $event, () => setConOptions(item)],
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
- }(),
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",
390
374
  "label-field": "title",
391
375
  "value-field": "columnName",
392
376
  clearable: "",
@@ -42,6 +42,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  setup(__props, {
43
43
  emit
44
44
  }) {
45
+ var _a, _b, _c;
45
46
  const props = __props;
46
47
  const cssVars = useTheme();
47
48
  const message = useMessage();
@@ -57,40 +58,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
57
58
  const conditionRef = ref();
58
59
  const filterVisible = ref(false);
59
60
  const title = computed(() => {
61
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l;
60
62
  if (props.isAdd) {
61
63
  if (!props.row)
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
- }();
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";
78
66
  }
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
- }();
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";
94
68
  });
95
69
  const model = reactive({
96
70
  name: "",
@@ -109,14 +83,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
109
83
  }],
110
84
  color: [{
111
85
  required: true,
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
- }(),
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",
120
87
  trigger: ["blur"]
121
88
  }],
122
89
  columnName: [{
@@ -145,19 +112,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
145
112
  }, [option.label]);
146
113
  }
147
114
  function onConfirm() {
148
- var _a;
149
- (_a = formRef.value) == null ? void 0 : _a.validate(async (errors) => {
150
- var _a2, _b;
115
+ var _a2;
116
+ (_a2 = formRef.value) == null ? void 0 : _a2.validate(async (errors) => {
117
+ var _a3, _b2;
151
118
  if (!errors) {
152
119
  if (!props.isFieldColor) {
153
120
  Object.assign(model, conditionRef.value.getData());
154
121
  }
155
- if (!((_a2 = model.condition) == null ? void 0 : _a2.length)) {
122
+ if (!((_a3 = model.condition) == null ? void 0 : _a3.length)) {
156
123
  message.warning("\u8BF7\u914D\u7F6E\u8FC7\u6EE4\u6761\u4EF6");
157
124
  return;
158
125
  }
159
126
  const otherProps = props.isFieldColor ? {
160
- title: (_b = fieldList.find((fieldItem) => fieldItem.columnName === model.columnName)) == null ? void 0 : _b.title
127
+ title: (_b2 = fieldList.find((fieldItem) => fieldItem.columnName === model.columnName)) == null ? void 0 : _b2.title
161
128
  } : {};
162
129
  emit("confirm", {
163
130
  ...model,
@@ -177,6 +144,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
177
144
  Object.assign(model, data);
178
145
  }
179
146
  return (_ctx, _cache) => {
147
+ var _a2, _b2, _c2, _d, _e, _f;
180
148
  return openBlock(), createBlock(unref(NModal), {
181
149
  preset: "dialog",
182
150
  style: {
@@ -186,22 +154,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
186
154
  "close-on-esc": false,
187
155
  "show-icon": false,
188
156
  "mask-closable": false,
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
- }(),
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",
205
159
  "trap-focus": false,
206
160
  show: __props.visible,
207
161
  onPositiveClick: onConfirm,
@@ -230,61 +184,49 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
230
184
  "margin-bottom": "10px"
231
185
  }
232
186
  }, {
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"])]),
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
+ }),
246
196
  _: 1
247
197
  }), __props.isFieldColor ? (openBlock(), createBlock(unref(NFormItem), {
248
198
  key: 0,
249
199
  label: "\u989C\u8272\uFF1A",
250
200
  path: "color"
251
201
  }, {
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"])]),
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
+ }),
268
214
  _: 1
269
215
  })) : (openBlock(), createBlock(unref(NFormItem), {
270
216
  key: 1,
271
217
  label: "\u989C\u8272\uFF1A",
272
218
  path: "color"
273
219
  }, {
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"])]),
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
+ }),
288
230
  _: 1
289
231
  })), createVNode(unref(NFormItem), {
290
232
  label: "\u663E\u793A\uFF1A",
@@ -304,27 +246,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
304
246
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => model.colorScope = $event)
305
247
  }, {
306
248
  default: withCtx(() => [createVNode(unref(NSpace), null, {
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
- })]),
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
+ }),
328
259
  _: 1
329
260
  })]),
330
261
  _: 1
@@ -342,31 +273,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
342
273
  class: "c-field-set__space",
343
274
  align: "center"
344
275
  }, {
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
- }())]),
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
+ }),
370
290
  _: 1
371
291
  })]),
372
292
  _: 1
@@ -24,38 +24,18 @@ 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;
27
28
  return openBlock(), createBlock(unref(NModal), {
28
29
  preset: "dialog",
29
30
  style: {
30
31
  "width": "860px"
31
32
  },
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
- }(),
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",
40
34
  "close-on-esc": false,
41
35
  "show-icon": false,
42
36
  "mask-closable": false,
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
- }(),
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",
59
39
  "trap-focus": false,
60
40
  show: __props.visible,
61
41
  onPositiveClick: onConfirm,
@@ -383,9 +383,9 @@ declare const _default: import("vue").DefineComponent<{
383
383
  }>;
384
384
  developMode: boolean;
385
385
  draggable: boolean;
386
- isHighlightRow: boolean;
387
386
  idx: number;
388
387
  isHighlight: boolean;
388
+ isHighlightRow: boolean;
389
389
  isFieldSet: boolean;
390
390
  fieldDescribeMode: "column" | "tooltip";
391
391
  hideExpressionOption: AnyObject[];