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
@@ -7,20 +7,14 @@ import { isDisable, setStyle, isDraggableItem, isDraggable, getGroupTree } from
7
7
  import { uuidGenerator } from '../../../shared/utils/index.js';
8
8
  import { HelpCircleSharp } from '@vicons/ionicons5';
9
9
 
10
+ var _a, _b, _c;
10
11
  const _hoisted_1 = {
11
12
  class: "main-wrapper"
12
13
  };
13
14
  const _hoisted_2 = {
14
15
  class: "main-wrapper__table-header"
15
16
  };
16
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
17
- var _a, _b, _c;
18
- try {
19
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
20
- } catch (e) {
21
- return "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
22
- }
23
- }(), -1);
17
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8", -1);
24
18
  const _hoisted_4 = ["tabindex"];
25
19
  const _hoisted_5 = {
26
20
  key: 1,
@@ -108,6 +102,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
108
102
  expose,
109
103
  emit
110
104
  }) {
105
+ var _a2, _b2, _c2, _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, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V;
111
106
  const props = __props;
112
107
  const fieldsMapping = {
113
108
  sid: "id",
@@ -123,205 +118,93 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
123
118
  const tableRef = ref();
124
119
  const newFields = ref([]);
125
120
  const defaultColumns = [{
126
- title: function() {
127
- var _a, _b, _c;
128
- try {
129
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.247")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5";
130
- } catch (e) {
131
- return "\u6240\u6709\u5B57\u6BB5";
132
- }
133
- }(),
121
+ title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.247")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5",
134
122
  type: "text",
135
123
  field: "title"
136
124
  }, {
137
- title: function() {
138
- var _a, _b, _c;
139
- try {
140
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.240")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.240")) || "\u663E\u793A";
141
- } catch (e) {
142
- return "\u663E\u793A";
143
- }
144
- }(),
125
+ title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.240")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.240")) || "\u663E\u793A",
145
126
  type: "checkbox",
146
127
  checkedAll: false,
147
128
  disabledAll: !!props.fieldShowMaxValue,
148
129
  field: "show",
149
130
  fieldShowMaxValue: props.fieldShowMaxValue
150
131
  }, {
151
- title: function() {
152
- var _a, _b, _c;
153
- try {
154
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
155
- } catch (e) {
156
- return "\u7F16\u8F91";
157
- }
158
- }(),
132
+ title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.284")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.284")) || "\u7F16\u8F91",
159
133
  type: "checkbox",
160
134
  checkedAll: false,
161
135
  disabledAll: false,
162
136
  field: "editable"
163
137
  }, {
164
- title: function() {
165
- var _a, _b, _c;
166
- try {
167
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B";
168
- } catch (e) {
169
- return "\u5FC5\u586B";
170
- }
171
- }(),
138
+ title: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.248")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.248")) || "\u5FC5\u586B",
172
139
  type: "checkbox",
173
140
  checkedAll: false,
174
141
  disabledAll: false,
175
142
  field: "required"
176
143
  }, {
177
- title: function() {
178
- var _a, _b, _c;
179
- try {
180
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.249")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.249")) || "\u6392\u5E8F";
181
- } catch (e) {
182
- return "\u6392\u5E8F";
183
- }
184
- }(),
144
+ title: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.249")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.249")) || "\u6392\u5E8F",
185
145
  type: "checkbox",
186
146
  checkedAll: false,
187
147
  disabledAll: false,
188
148
  field: "sort"
189
149
  }, {
190
- title: function() {
191
- var _a, _b, _c;
192
- try {
193
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.250")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.250")) || "\u52A0\u7C97";
194
- } catch (e) {
195
- return "\u52A0\u7C97";
196
- }
197
- }(),
150
+ title: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.250")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.250")) || "\u52A0\u7C97",
198
151
  type: "checkbox",
199
152
  checkedAll: false,
200
153
  disabledAll: false,
201
154
  field: "bold"
202
155
  }, {
203
- title: function() {
204
- var _a, _b, _c;
205
- try {
206
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.251")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F";
207
- } catch (e) {
208
- return "\u9ED8\u8BA4\u6392\u5E8F";
209
- }
210
- }(),
156
+ title: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.251")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F",
211
157
  type: "select",
212
158
  field: "sortDirection"
213
159
  }, {
214
- title: function() {
215
- var _a, _b, _c;
216
- try {
217
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.252")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7";
218
- } catch (e) {
219
- return "\u6392\u5E8F\u4F18\u5148\u7EA7";
220
- }
221
- }(),
160
+ title: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.252")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7",
222
161
  type: "select",
223
162
  field: "sortPriority"
224
163
  }, {
225
- title: function() {
226
- var _a, _b, _c;
227
- try {
228
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.253")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.253")) || "\u56FA\u5B9A";
229
- } catch (e) {
230
- return "\u56FA\u5B9A";
231
- }
232
- }(),
164
+ title: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.253")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.253")) || "\u56FA\u5B9A",
233
165
  type: "select",
234
166
  field: "fixedWay"
235
167
  }, {
236
- title: function() {
237
- var _a, _b, _c;
238
- try {
239
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.254")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898";
240
- } catch (e) {
241
- return "\u81EA\u5B9A\u4E49\u6807\u9898";
242
- }
243
- }(),
168
+ title: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.254")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898",
244
169
  type: "input",
245
170
  field: "alias"
246
171
  }, {
247
- title: function() {
248
- var _a, _b, _c;
249
- try {
250
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.255")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.255")) || "\u5217\u5BBD";
251
- } catch (e) {
252
- return "\u5217\u5BBD";
253
- }
254
- }(),
172
+ title: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.255")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.255")) || "\u5217\u5BBD",
255
173
  type: "inputNumber",
256
174
  field: "columnWidth"
257
175
  }, {
258
- title: function() {
259
- var _a, _b, _c;
260
- try {
261
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.256")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009";
262
- } catch (e) {
263
- return "\u8868\u5934\u7B5B\u9009";
264
- }
265
- }(),
176
+ title: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.256")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009",
266
177
  type: "checkbox",
267
178
  isHeadCheckHide: true,
268
179
  field: "isShowHeaderFilter"
269
180
  }, {
270
- title: function() {
271
- var _a, _b, _c;
272
- try {
273
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22";
274
- } catch (e) {
275
- return "\u641C\u7D22";
276
- }
277
- }(),
181
+ title: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.36")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.36")) || "\u641C\u7D22",
278
182
  type: "checkbox",
279
183
  isHeadCheckHide: true,
280
184
  field: "isSearch",
281
185
  hide: true
282
186
  }, {
283
- title: function() {
284
- var _a, _b, _c;
285
- try {
286
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.257")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.257")) || "\u6C42\u548C";
287
- } catch (e) {
288
- return "\u6C42\u548C";
289
- }
290
- }(),
187
+ title: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.257")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.257")) || "\u6C42\u548C",
291
188
  type: "checkbox",
292
189
  isHeadCheckHide: true,
293
190
  field: "isSum",
294
191
  hide: true
295
192
  }, {
296
- title: function() {
297
- var _a, _b, _c;
298
- try {
299
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.258")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.258")) || "\u5E73\u5747\u503C";
300
- } catch (e) {
301
- return "\u5E73\u5747\u503C";
302
- }
303
- }(),
193
+ title: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.258")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.258")) || "\u5E73\u5747\u503C",
304
194
  type: "checkbox",
305
195
  isHeadCheckHide: true,
306
196
  field: "isAvg",
307
197
  hide: true
308
198
  }, {
309
- title: function() {
310
- var _a, _b, _c;
311
- try {
312
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.259")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E";
313
- } catch (e) {
314
- return "\u8131\u654F\u914D\u7F6E";
315
- }
316
- }(),
199
+ title: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.259")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E",
317
200
  type: "select",
318
201
  field: "hideExpression",
319
202
  hide: true
320
203
  }];
321
204
  const columns = ref([]);
322
205
  const itemWidth = computed(() => {
323
- var _a;
324
- return ((_a = tableRef.value) == null ? void 0 : _a.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
206
+ var _a3;
207
+ return ((_a3 = tableRef.value) == null ? void 0 : _a3.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
325
208
  });
326
209
  const fieldList = computed(() => newFields.value.flat());
327
210
  const hasFieldDescribe = computed(() => fieldList.value.some((item) => item.feildDescribe));
@@ -358,10 +241,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
358
241
  emit("reset");
359
242
  }
360
243
  function getShowColumn(column) {
361
- var _a, _b;
362
- if (!((_a = props.showColumnNames) == null ? void 0 : _a.length)) {
244
+ var _a3, _b3;
245
+ if (!((_a3 = props.showColumnNames) == null ? void 0 : _a3.length)) {
363
246
  const isEdit = ["editable", "required"].includes(column.field);
364
- if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b = props.hideExpressionConfig) == null ? void 0 : _b.show))
247
+ if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b3 = props.hideExpressionConfig) == null ? void 0 : _b3.show))
365
248
  return false;
366
249
  return !column.hide;
367
250
  }
@@ -374,7 +257,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
374
257
  }));
375
258
  Object.keys(fieldsMapping).forEach((key) => {
376
259
  cloneFields.forEach((item) => {
377
- var _a;
260
+ var _a3;
378
261
  if (props.type == "old") {
379
262
  if (Reflect.has(item, key)) {
380
263
  if (key == "isFixed") {
@@ -395,7 +278,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
395
278
  item.bold = false;
396
279
  }
397
280
  item.draggable = isDraggable(item) ? true : false;
398
- if (isArray((_a = item.relation) == null ? void 0 : _a.fieldList)) {
281
+ if (isArray((_a3 = item.relation) == null ? void 0 : _a3.fieldList)) {
399
282
  item.relation.fieldList.forEach((v) => {
400
283
  if (v.isSearch == 1) {
401
284
  v.checked = true;
@@ -453,8 +336,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
453
336
  function handleSearch() {
454
337
  const keywordChanged = searchData.keyword !== keyword.value;
455
338
  let idx = !keyword.value ? 0 : fieldList.value.findIndex((field, i) => {
456
- var _a;
457
- if ((_a = field.title) == null ? void 0 : _a.includes(keyword.value)) {
339
+ var _a3;
340
+ if ((_a3 = field.title) == null ? void 0 : _a3.includes(keyword.value)) {
458
341
  if (!keywordChanged)
459
342
  return i > searchData.idx;
460
343
  return true;
@@ -471,8 +354,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
471
354
  } : {});
472
355
  }
473
356
  function isHighlight(element) {
474
- var _a;
475
- return !!keyword.value && ((_a = element.title) == null ? void 0 : _a.includes(keyword.value));
357
+ var _a3;
358
+ return !!keyword.value && ((_a3 = element.title) == null ? void 0 : _a3.includes(keyword.value));
476
359
  }
477
360
  function handleAllCheck(checked, field) {
478
361
  fieldList.value.forEach((fieldItem) => {
@@ -489,15 +372,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
489
372
  column.checkedAll = !noAllCheck;
490
373
  }
491
374
  function initColumns() {
492
- var _a, _b;
375
+ var _a3, _b3, _c3, _d2, _e2, _f2, _g2, _h2;
493
376
  columns.value = cloneDeep(defaultColumns);
494
- if ((_a = props.showColumnNames) == null ? void 0 : _a.length) {
377
+ if ((_a3 = props.showColumnNames) == null ? void 0 : _a3.length) {
495
378
  columns.value = defaultColumns.filter((column) => {
496
- var _a2, _b2;
497
- return column.field === "title" || ((_b2 = (_a2 = props.showColumnNames) == null ? void 0 : _a2.includes) == null ? void 0 : _b2.call(_a2, column.field));
379
+ var _a4, _b4;
380
+ return column.field === "title" || ((_b4 = (_a4 = props.showColumnNames) == null ? void 0 : _a4.includes) == null ? void 0 : _b4.call(_a4, column.field));
498
381
  });
499
382
  }
500
- if ((_b = props.customColumns) == null ? void 0 : _b.length) {
383
+ if ((_b3 = props.customColumns) == null ? void 0 : _b3.length) {
501
384
  props.customColumns.forEach((column) => {
502
385
  const {
503
386
  positionField
@@ -512,28 +395,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
512
395
  }
513
396
  if (props.fieldDescribeMode === "column" && hasFieldDescribe.value) {
514
397
  columns.value.push({
515
- title: function() {
516
- var _a2, _b2, _c;
517
- try {
518
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.260")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0";
519
- } catch (e) {
520
- return "\u5B57\u6BB5\u63CF\u8FF0";
521
- }
522
- }(),
398
+ title: ((_c3 = window.getLanguageByCode) == null ? void 0 : _c3.call(window, "10010.1.260")) || ((_e2 = (_d2 = window.top) == null ? void 0 : _d2.getLanguageByCode) == null ? void 0 : _e2.call(_d2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0",
523
399
  type: "text",
524
400
  field: "feildDescribe"
525
401
  });
526
402
  }
527
403
  if (props.showSeq) {
528
404
  columns.value.splice(1, 0, {
529
- title: function() {
530
- var _a2, _b2, _c;
531
- try {
532
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.249")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.249")) || "\u6392\u5E8F";
533
- } catch (e) {
534
- return "\u6392\u5E8F";
535
- }
536
- }(),
405
+ title: ((_f2 = window.getLanguageByCode) == null ? void 0 : _f2.call(window, "10010.1.249")) || ((_h2 = (_g2 = window.top) == null ? void 0 : _g2.getLanguageByCode) == null ? void 0 : _h2.call(_g2, "10010.1.249")) || "\u6392\u5E8F",
537
406
  type: "text",
538
407
  field: "seq"
539
408
  });
@@ -555,8 +424,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
555
424
  return true;
556
425
  }
557
426
  watch([() => props.fields, () => {
558
- var _a;
559
- return (_a = props.showColumnNames) == null ? void 0 : _a.length;
427
+ var _a3;
428
+ return (_a3 = props.showColumnNames) == null ? void 0 : _a3.length;
560
429
  }], ([fields, showColumnNames]) => {
561
430
  if (fields.length > 0) {
562
431
  newFields.value = initFields();
@@ -570,6 +439,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
570
439
  getTableFields
571
440
  });
572
441
  return (_ctx, _cache) => {
442
+ var _a3, _b3, _c3;
573
443
  return openBlock(), createElementBlock("div", _hoisted_1, [__props.showSearch ? (openBlock(), createBlock(unref(NInput), {
574
444
  key: 0,
575
445
  class: "main-wrapper__search-wrapper",
@@ -578,14 +448,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
578
448
  valueModifiers: {
579
449
  trim: true
580
450
  },
581
- placeholder: function() {
582
- var _a, _b, _c;
583
- try {
584
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.245")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
585
- } catch (e) {
586
- return "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
587
- }
588
- }(),
451
+ placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.245")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898",
589
452
  onKeydown: withKeys(withModifiers(handleSearch, ["prevent"]), ["enter"])
590
453
  }, null, 8, ["value", "onKeydown"])) : createCommentVNode("v-if", true), createElementVNode("div", {
591
454
  class: "main-wrapper__table",
@@ -671,24 +534,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
671
534
  "margin-right": "8px"
672
535
  }
673
536
  }, {
674
- default: withCtx(() => [createTextVNode(function() {
675
- var _a, _b, _c;
676
- try {
677
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.242")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
678
- } catch (e) {
679
- return "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
680
- }
681
- }())]),
537
+ default: withCtx(() => {
538
+ var _a4, _b4, _c4;
539
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.242")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E")];
540
+ }),
682
541
  _: 1
683
542
  })]),
684
- default: withCtx(() => [createTextVNode(function() {
685
- var _a, _b, _c;
686
- try {
687
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.243")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
688
- } catch (e) {
689
- return "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
690
- }
691
- }())]),
543
+ default: withCtx(() => {
544
+ var _a4, _b4, _c4;
545
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.243")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F")];
546
+ }),
692
547
  _: 1
693
548
  }), createVNode(unref(NButton), {
694
549
  style: {
@@ -696,27 +551,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
696
551
  },
697
552
  onClick: onCancle
698
553
  }, {
699
- default: withCtx(() => [createTextVNode(function() {
700
- var _a, _b, _c;
701
- try {
702
- 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";
703
- } catch (e) {
704
- return "\u53D6\u6D88";
705
- }
706
- }())]),
554
+ default: withCtx(() => {
555
+ var _a4, _b4, _c4;
556
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.28")) || "\u53D6\u6D88")];
557
+ }),
707
558
  _: 1
708
559
  }), createVNode(unref(NButton), {
709
560
  type: "primary",
710
561
  onClick: handleFieldSave
711
562
  }, {
712
- default: withCtx(() => [createTextVNode(function() {
713
- var _a, _b, _c;
714
- try {
715
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
716
- } catch (e) {
717
- return "\u4FDD\u5B58";
718
- }
719
- }())]),
563
+ default: withCtx(() => {
564
+ var _a4, _b4, _c4;
565
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.244")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.244")) || "\u4FDD\u5B58")];
566
+ }),
720
567
  _: 1
721
568
  })])])) : createCommentVNode("v-if", true)]);
722
569
  };
@@ -76,66 +76,32 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  return rest;
77
77
  });
78
78
  const tabList = computed(() => {
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
79
80
  const list = [{
80
81
  name: "field",
81
- tab: function() {
82
- var _a, _b, _c;
83
- try {
84
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E";
85
- } catch (e) {
86
- return "\u5B57\u6BB5\u8BBE\u7F6E";
87
- }
88
- }(),
82
+ tab: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E",
89
83
  render: () => h(FieldSet)
90
84
  }, {
91
85
  name: "fieldColor",
92
- tab: function() {
93
- var _a, _b, _c;
94
- try {
95
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.262")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272";
96
- } catch (e) {
97
- return "\u5B57\u6BB5\u989C\u8272";
98
- }
99
- }(),
86
+ tab: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.262")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272",
100
87
  render: () => h(FieldColor, {
101
88
  isFieldColor: true,
102
89
  defaultList: props.fieldColorList
103
90
  })
104
91
  }, {
105
92
  name: "highlightRow",
106
- tab: function() {
107
- var _a, _b, _c;
108
- try {
109
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.263")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.263")) || "\u9AD8\u4EAE\u884C";
110
- } catch (e) {
111
- return "\u9AD8\u4EAE\u884C";
112
- }
113
- }(),
93
+ tab: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.263")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.263")) || "\u9AD8\u4EAE\u884C",
114
94
  render: () => h(FieldColor, {
115
95
  isFieldColor: false,
116
96
  defaultList: props.highlightRowColorList
117
97
  })
118
98
  }, {
119
99
  name: "tableStyle",
120
- tab: function() {
121
- var _a, _b, _c;
122
- try {
123
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.264")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F";
124
- } catch (e) {
125
- return "\u8868\u683C\u6837\u5F0F";
126
- }
127
- }(),
100
+ tab: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.264")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F",
128
101
  render: () => h(TableStyle)
129
102
  }, {
130
103
  name: "fieldFilter",
131
- tab: function() {
132
- var _a, _b, _c;
133
- try {
134
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.265")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009";
135
- } catch (e) {
136
- return "\u9AD8\u7EA7\u7B5B\u9009";
137
- }
138
- }(),
104
+ tab: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.265")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009",
139
105
  render: () => h(FieldFilter, {
140
106
  defaultList: props.fieldFilterList,
141
107
  showFilterColumnNames: props.showFilterColumnNames
@@ -56,42 +56,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  expose,
57
57
  emit
58
58
  }) {
59
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
59
60
  const props = __props;
60
61
  const tableDemoList = ref([{
61
- title: function() {
62
- var _a, _b, _c;
63
- try {
64
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.266")) || "\u6837\u5F0F\u4E00";
65
- } catch (e) {
66
- return "\u6837\u5F0F\u4E00";
67
- }
68
- }(),
69
- label: function() {
70
- var _a, _b, _c;
71
- try {
72
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.267")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF";
73
- } catch (e) {
74
- return "\u65E0\u5217\u5206\u5272\u7EBF";
75
- }
76
- }(),
62
+ title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.266")) || "\u6837\u5F0F\u4E00",
63
+ label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.267")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF",
77
64
  border: false
78
65
  }, {
79
- title: function() {
80
- var _a, _b, _c;
81
- try {
82
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.268")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.268")) || "\u6837\u5F0F\u4E8C";
83
- } catch (e) {
84
- return "\u6837\u5F0F\u4E8C";
85
- }
86
- }(),
87
- label: function() {
88
- var _a, _b, _c;
89
- try {
90
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.269")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF";
91
- } catch (e) {
92
- return "\u5217\u5206\u5272\u7EBF";
93
- }
94
- }(),
66
+ title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.268")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.268")) || "\u6837\u5F0F\u4E8C",
67
+ label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.269")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF",
95
68
  border: true
96
69
  }]);
97
70
  const tableStyle = reactive(props.tableStyleConfig);
@@ -154,27 +127,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
154
127
  },
155
128
  onClick: onCancle
156
129
  }, {
157
- default: withCtx(() => [createTextVNode(function() {
158
- var _a, _b, _c;
159
- try {
160
- 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";
161
- } catch (e) {
162
- return "\u53D6\u6D88";
163
- }
164
- }())]),
130
+ default: withCtx(() => {
131
+ var _a2, _b2, _c2;
132
+ 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")];
133
+ }),
165
134
  _: 1
166
135
  }), createVNode(unref(NButton), {
167
136
  type: "primary",
168
137
  onClick: onSave
169
138
  }, {
170
- default: withCtx(() => [createTextVNode(function() {
171
- var _a, _b, _c;
172
- try {
173
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
174
- } catch (e) {
175
- return "\u4FDD\u5B58";
176
- }
177
- }())]),
139
+ default: withCtx(() => {
140
+ var _a2, _b2, _c2;
141
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.244")) || "\u4FDD\u5B58")];
142
+ }),
178
143
  _: 1
179
144
  })])]);
180
145
  };