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.
- package/README.md +87 -87
- package/es/components/audio-sdk/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +15 -27
- package/es/components/big-table/src/BigTable.vue2.js +131 -189
- package/es/components/big-table/src/components/NoData.vue2.js +4 -16
- package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
- package/es/components/big-table/src/components/input-button.vue2.js +3 -7
- package/es/components/big-table/src/hooks/useNestTable.js +4 -18
- package/es/components/big-table/src/hooks/useTableParse.js +3 -16
- package/es/components/body-select/src/index.vue2.js +4 -24
- package/es/components/button-print/index.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
- package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
- package/es/components/button-print/src/components/Preview.vue2.js +2 -8
- package/es/components/button-print/src/utils/dialog.js +6 -24
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +21 -108
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
- package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
- package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
- package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
- package/es/components/classification/src/index.vue2.js +69 -261
- package/es/components/default-page/src/constants/index.js +19 -144
- package/es/components/default-page/src/index.vue2.js +2 -8
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
- package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
- package/es/components/expand-field/src/components/form.vue2.js +412 -783
- package/es/components/expand-field/src/index.vue2.js +22 -88
- package/es/components/expand-field/src/utils/constant.js +12 -88
- package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
- package/es/components/fabric-chart/src/constants/index.js +10 -72
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
- 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 +30 -232
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue2.js +21 -88
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +57 -210
- package/es/components/field-set/src/Index.vue2.js +6 -40
- package/es/components/field-set/src/TableStyle.vue2.js +13 -48
- package/es/components/field-set/src/components/condition.vue2.js +11 -27
- package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +42 -123
- package/es/components/field-set/src/constants/filter.js +42 -328
- package/es/components/field-set/src/constants/index.js +64 -504
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
- package/es/components/form-config/src/constants/index.js +11 -80
- package/es/components/form-config/src/hooks/useLocale.js +31 -240
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
- package/es/components/form-render/src/components/renderer/switch.js +4 -24
- package/es/components/form-render/src/utils/schema.js +6 -26
- package/es/components/iho-chat/src/Index.vue2.js +38 -42
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
- package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
- package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
- package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
- package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
- package/es/components/iho-chat/src/utils/index.js +14 -79
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
- 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 +20 -50
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
- 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 +14 -20
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
- package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
- package/es/components/map/src/Map.vue2.js +3 -7
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
- package/es/components/quick-search/src/index.vue2.js +132 -177
- package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
- package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
- package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
- package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
- package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
- package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
- package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
- package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
- package/es/components/select-person/src/index.vue2.js +7 -20
- package/es/components/slider-tree/src/index.vue2.js +3 -16
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
- package/es/components/table-export-field/src/index.vue2.js +12 -28
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
- package/es/components/table-filter/src/tool/baseOptions.js +19 -144
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
- package/es/env.d.ts +25 -25
- 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/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js
CHANGED
@@ -7,6 +7,7 @@ import { WidgetOptionEnums } from '../../../types/enums.js';
|
|
7
7
|
import { dateDisabledCollect, isStartDateRangeDisabled, isTimeStartRangeDisabled, isEndDateRangeDisabled, isTimeEndRangeDisabled } from '../helpers/dateDisabled.js';
|
8
8
|
import DateQuickBtn from './DateQuickBtn/index.vue.js';
|
9
9
|
|
10
|
+
var _a, _b, _c, _d, _e, _f;
|
10
11
|
const _hoisted_1 = {
|
11
12
|
class: "render-widget-date-range"
|
12
13
|
};
|
@@ -37,25 +38,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
38
|
},
|
38
39
|
startPlaceholder: {
|
39
40
|
type: String,
|
40
|
-
default:
|
41
|
-
var _a, _b, _c;
|
42
|
-
try {
|
43
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.386")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.386")) || "\u8D77\u59CB";
|
44
|
-
} catch (e) {
|
45
|
-
return "\u8D77\u59CB";
|
46
|
-
}
|
47
|
-
}()
|
41
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.386")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.386")) || "\u8D77\u59CB"
|
48
42
|
},
|
49
43
|
endPlaceholder: {
|
50
44
|
type: String,
|
51
|
-
default:
|
52
|
-
var _a, _b, _c;
|
53
|
-
try {
|
54
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.387")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.387")) || "\u622A\u6B62";
|
55
|
-
} catch (e) {
|
56
|
-
return "\u622A\u6B62";
|
57
|
-
}
|
58
|
-
}()
|
45
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.387")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.387")) || "\u622A\u6B62"
|
59
46
|
},
|
60
47
|
value: {
|
61
48
|
type: String,
|
@@ -76,8 +63,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
63
|
const endDate = ref();
|
77
64
|
const radioValue = computed(() => props.unit);
|
78
65
|
const optionSetting = computed(() => {
|
79
|
-
var
|
80
|
-
return (
|
66
|
+
var _a2;
|
67
|
+
return (_a2 = props.componentCfg) == null ? void 0 : _a2.widgetCfg.optionSetting;
|
81
68
|
});
|
82
69
|
const onlyRadio = computed(() => optionSetting.value !== WidgetOptionEnums.SELECT_TIME);
|
83
70
|
const isPastTime = computed(() => optionSetting.value === WidgetOptionEnums.PAST_TIME);
|
@@ -95,27 +82,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
95
82
|
return formateStr;
|
96
83
|
});
|
97
84
|
const showTabStr = computed(() => {
|
85
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
98
86
|
let formateStr = "";
|
99
87
|
switch (props.type) {
|
100
88
|
case "date":
|
101
|
-
formateStr =
|
102
|
-
var _a, _b, _c;
|
103
|
-
try {
|
104
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.384")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.384")) || "\u9009\u62E9\u65E5\u671F";
|
105
|
-
} catch (e) {
|
106
|
-
return "\u9009\u62E9\u65E5\u671F";
|
107
|
-
}
|
108
|
-
}();
|
89
|
+
formateStr = ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.384")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.384")) || "\u9009\u62E9\u65E5\u671F";
|
109
90
|
break;
|
110
91
|
case "datetime":
|
111
|
-
formateStr =
|
112
|
-
var _a, _b, _c;
|
113
|
-
try {
|
114
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.385")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.385")) || "\u9009\u62E9\u65F6\u95F4";
|
115
|
-
} catch (e) {
|
116
|
-
return "\u9009\u62E9\u65F6\u95F4";
|
117
|
-
}
|
118
|
-
}();
|
92
|
+
formateStr = ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.385")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.385")) || "\u9009\u62E9\u65F6\u95F4";
|
119
93
|
break;
|
120
94
|
}
|
121
95
|
return formateStr;
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js
CHANGED
@@ -7,6 +7,7 @@ import { DateExtraOptions, DateExtraMap } from '../helpers/dateExtraMap.js';
|
|
7
7
|
import { formatDateRangeInfo } from '../helpers/presetValToTimestamp.js';
|
8
8
|
import { setDateDisabled, setTimeDisabled } from '../helpers/dateDisabled.js';
|
9
9
|
|
10
|
+
var _a, _b, _c, _d, _e, _f;
|
10
11
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
11
12
|
__name: "DateRangeOut",
|
12
13
|
props: {
|
@@ -20,25 +21,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
21
|
},
|
21
22
|
startPlaceholder: {
|
22
23
|
type: String,
|
23
|
-
default:
|
24
|
-
var _a, _b, _c;
|
25
|
-
try {
|
26
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.386")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.386")) || "\u8D77\u59CB";
|
27
|
-
} catch (e) {
|
28
|
-
return "\u8D77\u59CB";
|
29
|
-
}
|
30
|
-
}()
|
24
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.386")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.386")) || "\u8D77\u59CB"
|
31
25
|
},
|
32
26
|
endPlaceholder: {
|
33
27
|
type: String,
|
34
|
-
default:
|
35
|
-
var _a, _b, _c;
|
36
|
-
try {
|
37
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.387")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.387")) || "\u622A\u6B62";
|
38
|
-
} catch (e) {
|
39
|
-
return "\u622A\u6B62";
|
40
|
-
}
|
41
|
-
}()
|
28
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.387")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.387")) || "\u622A\u6B62"
|
42
29
|
},
|
43
30
|
componentCfg: {
|
44
31
|
type: Object,
|
@@ -69,8 +56,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
69
56
|
return formateStr;
|
70
57
|
});
|
71
58
|
const optionSetting = computed(() => {
|
72
|
-
var
|
73
|
-
return (
|
59
|
+
var _a2;
|
60
|
+
return (_a2 = props.componentCfg) == null ? void 0 : _a2.widgetCfg.optionSetting;
|
74
61
|
});
|
75
62
|
watch(() => props.value, (val) => {
|
76
63
|
if (val && isString(val) && val.includes("~")) {
|
@@ -98,12 +85,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
98
85
|
return setTimeDisabled(ts, optionSetting.value);
|
99
86
|
}
|
100
87
|
function init() {
|
101
|
-
var
|
88
|
+
var _a2, _b2;
|
102
89
|
const {
|
103
90
|
originType
|
104
|
-
} = (
|
91
|
+
} = (_a2 = props.componentCfg) == null ? void 0 : _a2.widgetCfg;
|
105
92
|
const type = `${originType}_${optionSetting.value || WidgetOptionEnums.ALL}_RANGE`;
|
106
|
-
const shortOptions = (
|
93
|
+
const shortOptions = (_b2 = DateExtraOptions[DateExtraMap[type]]) != null ? _b2 : [];
|
107
94
|
let optionsObj = {};
|
108
95
|
shortOptions.forEach(({
|
109
96
|
label,
|
package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js
CHANGED
@@ -55,14 +55,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
checked: unref(isAccurateSearchValCp),
|
56
56
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => isRef(isAccurateSearchValCp) ? isAccurateSearchValCp.value = $event : null)
|
57
57
|
}, {
|
58
|
-
default: withCtx(() =>
|
58
|
+
default: withCtx(() => {
|
59
59
|
var _a, _b, _c;
|
60
|
-
|
61
|
-
|
62
|
-
} catch (e) {
|
63
|
-
return "\u7CBE\u786E\u67E5\u8BE2";
|
64
|
-
}
|
65
|
-
}())]),
|
60
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2")];
|
61
|
+
}),
|
66
62
|
_: 1
|
67
63
|
}, 8, ["checked"])]),
|
68
64
|
key: "0"
|
package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js
CHANGED
@@ -2,6 +2,7 @@ import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, cr
|
|
2
2
|
import { NInputGroup, NInputNumber } from 'naive-ui';
|
3
3
|
import { isString } from 'lodash-es';
|
4
4
|
|
5
|
+
var _a, _b, _c, _d, _e, _f;
|
5
6
|
const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", {
|
6
7
|
class: "divider"
|
7
8
|
}, " ~ ", -1);
|
@@ -10,25 +11,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
11
|
props: {
|
11
12
|
startPlaceholder: {
|
12
13
|
type: String,
|
13
|
-
default:
|
14
|
-
var _a, _b, _c;
|
15
|
-
try {
|
16
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
17
|
-
} catch (e) {
|
18
|
-
return "\u8BF7\u8F93\u5165";
|
19
|
-
}
|
20
|
-
}()
|
14
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165"
|
21
15
|
},
|
22
16
|
endPlaceholder: {
|
23
17
|
type: String,
|
24
|
-
default:
|
25
|
-
var _a, _b, _c;
|
26
|
-
try {
|
27
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
28
|
-
} catch (e) {
|
29
|
-
return "\u8BF7\u8F93\u5165";
|
30
|
-
}
|
31
|
-
}()
|
18
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.383")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.383")) || "\u8BF7\u8F93\u5165"
|
32
19
|
},
|
33
20
|
value: {
|
34
21
|
type: String,
|
@@ -58,14 +45,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
45
|
immediate: true
|
59
46
|
});
|
60
47
|
function handleChange(val, key) {
|
61
|
-
var
|
48
|
+
var _a2, _b2;
|
62
49
|
let result = "";
|
63
50
|
switch (key) {
|
64
51
|
case "startNumber":
|
65
|
-
result = `${val != null ? val : ""} ~ ${(
|
52
|
+
result = `${val != null ? val : ""} ~ ${(_a2 = endNumber.value) != null ? _a2 : ""}`;
|
66
53
|
break;
|
67
54
|
case "endNumber":
|
68
|
-
result = `${(
|
55
|
+
result = `${(_b2 = startNumber.value) != null ? _b2 : ""} ~ ${val != null ? val : ""}`;
|
69
56
|
break;
|
70
57
|
}
|
71
58
|
const hasValue = result.split(" ~ ").some((item) => item.trim());
|
package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js
CHANGED
@@ -6,6 +6,7 @@ import useAsyncData from '../../../hooks/useAsyncData.js';
|
|
6
6
|
import { InjectionFilterApiConfig } from '../../../constants/index.js';
|
7
7
|
import { isString } from 'lodash-es';
|
8
8
|
|
9
|
+
var _a, _b, _c, _d, _e, _f;
|
9
10
|
const _hoisted_1 = {
|
10
11
|
class: "label-attr-filter-container"
|
11
12
|
};
|
@@ -21,22 +22,8 @@ const _hoisted_5 = {
|
|
21
22
|
class: "label-f-unfold-btn"
|
22
23
|
};
|
23
24
|
const _hoisted_6 = ["onClick"];
|
24
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null,
|
25
|
-
|
26
|
-
try {
|
27
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.388")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.388")) || "\u6536\u8D77";
|
28
|
-
} catch (e) {
|
29
|
-
return "\u6536\u8D77";
|
30
|
-
}
|
31
|
-
}(), -1);
|
32
|
-
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
33
|
-
var _a, _b, _c;
|
34
|
-
try {
|
35
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.389")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.389")) || "\u5C55\u5F00";
|
36
|
-
} catch (e) {
|
37
|
-
return "\u5C55\u5F00";
|
38
|
-
}
|
39
|
-
}(), -1);
|
25
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.388")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.388")) || "\u6536\u8D77", -1);
|
26
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.389")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.389")) || "\u5C55\u5F00", -1);
|
40
27
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
41
28
|
__name: "LabelInner",
|
42
29
|
props: {
|
@@ -130,6 +130,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
130
130
|
function saveWidth() {
|
131
131
|
}
|
132
132
|
return (_ctx, _cache) => {
|
133
|
+
var _a, _b, _c;
|
133
134
|
return withDirectives((openBlock(), createElementBlock("div", {
|
134
135
|
class: "select-dynamic-options",
|
135
136
|
style: normalizeStyle({
|
@@ -144,14 +145,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
144
145
|
key: 1
|
145
146
|
}, [unref(isOptionsNull) ? (openBlock(), createBlock(unref(NEmpty), {
|
146
147
|
key: 0,
|
147
|
-
description:
|
148
|
-
var _a, _b, _c;
|
149
|
-
try {
|
150
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.380")) || "\u65E0\u6570\u636E";
|
151
|
-
} catch (e) {
|
152
|
-
return "\u65E0\u6570\u636E";
|
153
|
-
}
|
154
|
-
}()
|
148
|
+
description: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.380")) || "\u65E0\u6570\u636E"
|
155
149
|
})) : (openBlock(), createElementBlock(Fragment, {
|
156
150
|
key: 1
|
157
151
|
}, [unref(titleList) && unref(titleList).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(titleList), (title) => {
|
@@ -186,14 +180,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
186
180
|
component: unref(ArrowBack),
|
187
181
|
size: "16"
|
188
182
|
}, null, 8, ["component"])]),
|
189
|
-
default: withCtx(() =>
|
190
|
-
var
|
191
|
-
|
192
|
-
|
193
|
-
} catch (e) {
|
194
|
-
return "\u4E0A\u4E00\u9875";
|
195
|
-
}
|
196
|
-
}())]),
|
183
|
+
default: withCtx(() => {
|
184
|
+
var _a2, _b2, _c2;
|
185
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.381")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.381")) || "\u4E0A\u4E00\u9875")];
|
186
|
+
}),
|
197
187
|
_: 1
|
198
188
|
}, 8, ["disabled"]), createVNode(unref(NButton), {
|
199
189
|
"icon-placement": "right",
|
@@ -204,14 +194,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
204
194
|
component: unref(ArrowForward),
|
205
195
|
size: "16"
|
206
196
|
}, null, 8, ["component"])]),
|
207
|
-
default: withCtx(() =>
|
208
|
-
var
|
209
|
-
|
210
|
-
|
211
|
-
} catch (e) {
|
212
|
-
return "\u4E0B\u4E00\u9875";
|
213
|
-
}
|
214
|
-
}())]),
|
197
|
+
default: withCtx(() => {
|
198
|
+
var _a2, _b2, _c2;
|
199
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.382")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.382")) || "\u4E0B\u4E00\u9875")];
|
200
|
+
}),
|
215
201
|
_: 1
|
216
202
|
}, 8, ["disabled"])]),
|
217
203
|
_: 1
|