cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/audio-sdk/index.d.ts +173 -146
- package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
- package/es/components/audio-sdk/src/Index.vue2.js +131 -53
- package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
- package/es/components/audio-sdk/src/audioSDK.js +123 -42
- package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
- package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
- package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
- package/es/components/audio-sdk/src/types/index.d.ts +42 -0
- package/es/components/audio-sdk/src/types/index.js +10 -0
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
- package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +30 -18
- package/es/components/big-table/src/BigTable.vue2.js +191 -133
- package/es/components/big-table/src/components/NoData.vue2.js +16 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
- package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
- package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
- package/es/components/big-table/src/components/input-button.vue2.js +8 -4
- package/es/components/big-table/src/hooks/useNestTable.js +18 -4
- package/es/components/big-table/src/hooks/useTableParse.js +16 -3
- package/es/components/body-select/src/index.vue2.js +24 -4
- package/es/components/button-print/index.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
- package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
- package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
- package/es/components/button-print/src/components/Preview.vue2.js +14 -4
- package/es/components/button-print/src/utils/dialog.js +26 -8
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +108 -21
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
- package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
- package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
- package/es/components/classification/src/index.vue2.js +261 -69
- package/es/components/default-page/src/constants/index.js +144 -19
- package/es/components/default-page/src/index.vue2.js +8 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
- package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
- package/es/components/expand-field/src/components/form.vue2.js +783 -412
- package/es/components/expand-field/src/index.vue2.js +88 -22
- package/es/components/expand-field/src/utils/constant.js +88 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
- package/es/components/fabric-chart/src/constants/index.js +72 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
- package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -2
- package/es/components/field-editor/src/fields.js +232 -30
- package/es/components/field-set/src/FieldColor.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldColor.vue2.js +88 -21
- package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue2.js +210 -57
- package/es/components/field-set/src/Index.vue2.js +40 -6
- package/es/components/field-set/src/TableStyle.vue2.js +48 -13
- package/es/components/field-set/src/components/condition.vue2.js +26 -10
- package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
- package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -2
- package/es/components/field-set/src/components/table-row.vue2.js +123 -42
- package/es/components/field-set/src/constants/filter.js +328 -42
- package/es/components/field-set/src/constants/index.js +504 -64
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
- package/es/components/form-config/src/constants/index.js +80 -11
- package/es/components/form-config/src/hooks/useLocale.js +240 -31
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
- package/es/components/form-render/src/components/renderer/input.js +3 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
- package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
- package/es/components/form-render/src/components/renderer/switch.js +24 -4
- package/es/components/form-render/src/components/renderer/textarea.js +5 -4
- package/es/components/form-render/src/utils/schema.js +26 -6
- package/es/components/iho-chat/src/Index.vue2.js +42 -38
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
- package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
- package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
- package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
- package/es/components/iho-chat/src/utils/index.js +79 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
- package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
- package/es/components/map/src/Map.vue2.js +8 -4
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
- package/es/components/quick-search/src/index.vue2.js +176 -131
- package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
- package/es/components/scale-view/src/ScaleView.vue2.js +16 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
- package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
- package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
- package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
- package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
- package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
- package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
- package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
- package/es/components/select-person/src/index.vue2.js +20 -7
- package/es/components/slider-tree/src/index.vue2.js +16 -3
- package/es/components/table-export-field/index.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
- package/es/components/table-export-field/src/index.vue.d.ts +1 -0
- package/es/components/table-export-field/src/index.vue2.js +28 -12
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
- package/es/components/table-filter/src/tool/baseOptions.js +144 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -6,12 +6,18 @@ import { isFunction, isArray, range } from 'lodash-es';
|
|
6
6
|
import { COLOR_MAP } from '../constants/index.js';
|
7
7
|
import { WIDGET_MAP, SELECT_TYPE, WIDGET_TYPE, SELECT_MAP, SELECT_DEFAULT_MAP, DATE_MAP, DATETIME_MAP } from '../constants/filter.js';
|
8
8
|
|
9
|
-
var _a;
|
10
9
|
const _hoisted_1 = {
|
11
10
|
class: "row"
|
12
11
|
};
|
13
12
|
const _hoisted_2 = ["title"];
|
14
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, (
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
14
|
+
var _a, _b, _c;
|
15
|
+
try {
|
16
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.282")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.282")) || "\u62D6\u62FD\u8C03\u6574\u987A\u5E8F";
|
17
|
+
} catch (e) {
|
18
|
+
return "\u62D6\u62FD\u8C03\u6574\u987A\u5E8F";
|
19
|
+
}
|
20
|
+
}(), -1);
|
15
21
|
const _hoisted_4 = {
|
16
22
|
key: 0
|
17
23
|
};
|
@@ -79,33 +85,88 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
85
|
setup(__props, {
|
80
86
|
emit
|
81
87
|
}) {
|
82
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
83
88
|
const props = __props;
|
84
89
|
const fixedWayOptions = [{
|
85
|
-
label: (
|
90
|
+
label: function() {
|
91
|
+
var _a, _b, _c;
|
92
|
+
try {
|
93
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.286")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.286")) || "\u4E0D\u56FA\u5B9A";
|
94
|
+
} catch (e) {
|
95
|
+
return "\u4E0D\u56FA\u5B9A";
|
96
|
+
}
|
97
|
+
}(),
|
86
98
|
value: "NONE"
|
87
99
|
}, {
|
88
|
-
label: (
|
100
|
+
label: function() {
|
101
|
+
var _a, _b, _c;
|
102
|
+
try {
|
103
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.287")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.287")) || "\u5DE6\u56FA\u5B9A";
|
104
|
+
} catch (e) {
|
105
|
+
return "\u5DE6\u56FA\u5B9A";
|
106
|
+
}
|
107
|
+
}(),
|
89
108
|
value: "LEFT"
|
90
109
|
}, {
|
91
|
-
label: (
|
110
|
+
label: function() {
|
111
|
+
var _a, _b, _c;
|
112
|
+
try {
|
113
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.288")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.288")) || "\u53F3\u56FA\u5B9A";
|
114
|
+
} catch (e) {
|
115
|
+
return "\u53F3\u56FA\u5B9A";
|
116
|
+
}
|
117
|
+
}(),
|
92
118
|
value: "RIGHT"
|
93
119
|
}];
|
94
120
|
const sortOptions = [{
|
95
|
-
label: (
|
121
|
+
label: function() {
|
122
|
+
var _a, _b, _c;
|
123
|
+
try {
|
124
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.289")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.289")) || "\u4E0D\u6392\u5E8F";
|
125
|
+
} catch (e) {
|
126
|
+
return "\u4E0D\u6392\u5E8F";
|
127
|
+
}
|
128
|
+
}(),
|
96
129
|
value: "NONE"
|
97
130
|
}, {
|
98
|
-
label: (
|
131
|
+
label: function() {
|
132
|
+
var _a, _b, _c;
|
133
|
+
try {
|
134
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.290")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.290")) || "\u5347\u5E8F";
|
135
|
+
} catch (e) {
|
136
|
+
return "\u5347\u5E8F";
|
137
|
+
}
|
138
|
+
}(),
|
99
139
|
value: "ASC"
|
100
140
|
}, {
|
101
|
-
label: (
|
141
|
+
label: function() {
|
142
|
+
var _a, _b, _c;
|
143
|
+
try {
|
144
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.291")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.291")) || "\u964D\u5E8F";
|
145
|
+
} catch (e) {
|
146
|
+
return "\u964D\u5E8F";
|
147
|
+
}
|
148
|
+
}(),
|
102
149
|
value: "DESC"
|
103
150
|
}];
|
104
151
|
const colorScopeOptions = [{
|
105
|
-
label: (
|
152
|
+
label: function() {
|
153
|
+
var _a, _b, _c;
|
154
|
+
try {
|
155
|
+
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";
|
156
|
+
} catch (e) {
|
157
|
+
return "\u5B57\u4F53";
|
158
|
+
}
|
159
|
+
}(),
|
106
160
|
value: "font"
|
107
161
|
}, {
|
108
|
-
label: (
|
162
|
+
label: function() {
|
163
|
+
var _a, _b, _c;
|
164
|
+
try {
|
165
|
+
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";
|
166
|
+
} catch (e) {
|
167
|
+
return "\u80CC\u666F";
|
168
|
+
}
|
169
|
+
}(),
|
109
170
|
value: "background"
|
110
171
|
}];
|
111
172
|
const swatches = Object.entries(COLOR_MAP).map(([value]) => value);
|
@@ -119,12 +180,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
180
|
});
|
120
181
|
}
|
121
182
|
function isRenderTooltip(field) {
|
122
|
-
var
|
123
|
-
return field === "title" && (props.fieldDescribeMode === "tooltip" && props.element.feildDescribe || props.developMode && ((
|
183
|
+
var _a;
|
184
|
+
return field === "title" && (props.fieldDescribeMode === "tooltip" && props.element.feildDescribe || props.developMode && ((_a = props.element.settingObj) == null ? void 0 : _a.fieldDescDev));
|
124
185
|
}
|
125
186
|
function getTooltipContent() {
|
126
|
-
var
|
127
|
-
return props.element.feildDescribe || ((
|
187
|
+
var _a;
|
188
|
+
return props.element.feildDescribe || ((_a = props.element.settingObj) == null ? void 0 : _a.fieldDescDev);
|
128
189
|
}
|
129
190
|
function getTextValue(field) {
|
130
191
|
if (field === "seq")
|
@@ -178,9 +239,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
178
239
|
return options.filter((option) => !selectedValues.includes(option.value));
|
179
240
|
}
|
180
241
|
function getSelectText(field) {
|
181
|
-
var
|
242
|
+
var _a, _b, _c;
|
182
243
|
if (field === "optionType") {
|
183
|
-
if (((
|
244
|
+
if (((_a = props.element) == null ? void 0 : _a.type) === WIDGET_TYPE.SELECT || ((_c = (_b = props.element) == null ? void 0 : _b.optionTypeConfig) == null ? void 0 : _c.option))
|
184
245
|
return "";
|
185
246
|
return props.element[field] && props.element.type === WIDGET_TYPE.SELECT ? SELECT_MAP[props.element[field]] : " ";
|
186
247
|
}
|
@@ -206,7 +267,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
206
267
|
return prop;
|
207
268
|
}
|
208
269
|
function getOptions(column) {
|
209
|
-
var
|
270
|
+
var _a, _b;
|
210
271
|
switch (column.field) {
|
211
272
|
case "fixedWay":
|
212
273
|
return fixedWayOptions;
|
@@ -217,12 +278,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
217
278
|
case "colorScope":
|
218
279
|
return colorScopeOptions;
|
219
280
|
case "hideExpression":
|
220
|
-
return (
|
281
|
+
return (_a = props.hideExpressionOption) == null ? void 0 : _a.map((item) => ({
|
221
282
|
...item,
|
222
283
|
ruleId: `ruleId#${item.code}`
|
223
284
|
}));
|
224
285
|
case "optionType":
|
225
|
-
return ((
|
286
|
+
return ((_b = props.element.optionTypeConfig) == null ? void 0 : _b.option) || Object.entries(SELECT_MAP).map(([value, label]) => ({
|
226
287
|
value,
|
227
288
|
label
|
228
289
|
}));
|
@@ -270,12 +331,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
270
331
|
}
|
271
332
|
}
|
272
333
|
function setDisabled(column) {
|
273
|
-
var
|
334
|
+
var _a;
|
274
335
|
if (props.element.defaultMark == 1 || column.type === "color" && props.isHighlightRow)
|
275
336
|
return true;
|
276
337
|
if (column.type === "checkbox") {
|
277
338
|
if (column.field === "show" && column.fieldShowMaxValue) {
|
278
|
-
return !props.element[column.field] && ((
|
339
|
+
return !props.element[column.field] && ((_a = props.data.filter((field) => field[column.field])) == null ? void 0 : _a.length) === column.fieldShowMaxValue;
|
279
340
|
}
|
280
341
|
if (["isSearch", "isSum", "isAvg"].includes(column.field)) {
|
281
342
|
if (Reflect.has(props.element, "isMerge"))
|
@@ -459,10 +520,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
459
520
|
}, null, 8, ["component"])]),
|
460
521
|
_: 1
|
461
522
|
})]),
|
462
|
-
default: withCtx(() => {
|
463
|
-
var
|
464
|
-
|
465
|
-
|
523
|
+
default: withCtx(() => [createTextVNode(function() {
|
524
|
+
var _a, _b, _c;
|
525
|
+
try {
|
526
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.283")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.283")) || "\u67E5\u770B";
|
527
|
+
} catch (e) {
|
528
|
+
return "\u67E5\u770B";
|
529
|
+
}
|
530
|
+
}())]),
|
466
531
|
_: 1
|
467
532
|
}), !__props.isHighlightRow ? (openBlock(), createBlock(unref(NTooltip), {
|
468
533
|
key: 0
|
@@ -478,10 +543,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
478
543
|
}, null, 8, ["component"])]),
|
479
544
|
_: 1
|
480
545
|
})]),
|
481
|
-
default: withCtx(() => {
|
482
|
-
var
|
483
|
-
|
484
|
-
|
546
|
+
default: withCtx(() => [createTextVNode(function() {
|
547
|
+
var _a, _b, _c;
|
548
|
+
try {
|
549
|
+
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";
|
550
|
+
} catch (e) {
|
551
|
+
return "\u590D\u5236";
|
552
|
+
}
|
553
|
+
}())]),
|
485
554
|
_: 1
|
486
555
|
})) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createElementBlock(Fragment, {
|
487
556
|
key: 1
|
@@ -495,10 +564,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
495
564
|
}, null, 8, ["component"])]),
|
496
565
|
_: 1
|
497
566
|
})]),
|
498
|
-
default: withCtx(() => {
|
499
|
-
var
|
500
|
-
|
501
|
-
|
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.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
|
571
|
+
} catch (e) {
|
572
|
+
return "\u7F16\u8F91";
|
573
|
+
}
|
574
|
+
}())]),
|
502
575
|
_: 1
|
503
576
|
}), createVNode(unref(NPopconfirm), {
|
504
577
|
onPositiveClick: onRemove
|
@@ -512,16 +585,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
512
585
|
}, null, 8, ["component"])]),
|
513
586
|
_: 1
|
514
587
|
})]),
|
515
|
-
default: withCtx(() => {
|
516
|
-
var
|
517
|
-
|
518
|
-
|
588
|
+
default: withCtx(() => [createTextVNode(function() {
|
589
|
+
var _a, _b, _c;
|
590
|
+
try {
|
591
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
592
|
+
} catch (e) {
|
593
|
+
return "\u5220\u9664";
|
594
|
+
}
|
595
|
+
}())]),
|
519
596
|
_: 1
|
520
597
|
})]),
|
521
|
-
default: withCtx(() => {
|
522
|
-
var
|
523
|
-
|
524
|
-
|
598
|
+
default: withCtx(() => [createTextVNode(function() {
|
599
|
+
var _a, _b, _c;
|
600
|
+
try {
|
601
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.285")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.285")) || "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
602
|
+
} catch (e) {
|
603
|
+
return "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
604
|
+
}
|
605
|
+
}())]),
|
525
606
|
_: 1
|
526
607
|
})], 64))], 64)) : createCommentVNode("v-if", true)], 12, _hoisted_2)) : createCommentVNode("v-if", true)], 64);
|
527
608
|
}), 128))]);
|