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
@@ -149,12 +149,8 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
149
149
|
} = target.origin || {};
|
150
150
|
if (type === "pulse") {
|
151
151
|
const list = shadowPointCache.get(key);
|
152
|
-
const index = list == null ? void 0 : list.findIndex((point) => point
|
153
|
-
list.splice(index, 1,
|
154
|
-
...list[index],
|
155
|
-
left: target.left,
|
156
|
-
top: target.top
|
157
|
-
});
|
152
|
+
const index = list == null ? void 0 : list.findIndex((point) => point[0] === target.left);
|
153
|
+
list.splice(index, 1, [target.left, target.top]);
|
158
154
|
}
|
159
155
|
}
|
160
156
|
const data = getShadowData();
|
@@ -213,12 +209,6 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
213
209
|
const finalResult = Object.values(result).filter((item) => item.length === 2 && Math.trunc(item[0][1]) !== Math.trunc(item[1][1]));
|
214
210
|
return finalResult;
|
215
211
|
}
|
216
|
-
function getXY(point) {
|
217
|
-
return [point.left, point.top];
|
218
|
-
}
|
219
|
-
function getPointWidthRightLine(point) {
|
220
|
-
return point && !point.breakpoint ? point : null;
|
221
|
-
}
|
222
212
|
function getShadowData() {
|
223
213
|
const data = [];
|
224
214
|
const pulsePoints = [];
|
@@ -227,8 +217,8 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
227
217
|
pulsePoints.push(item[1]);
|
228
218
|
if (item[0] === SHADOWKEYS[0]) {
|
229
219
|
item[1].forEach((_item) => {
|
230
|
-
const someIndex = (shadowPointCache.get(SHADOWKEYS[1]) || []).findIndex((v) => v
|
231
|
-
someIndex > -1 && sames.push(_item
|
220
|
+
const someIndex = (shadowPointCache.get(SHADOWKEYS[1]) || []).findIndex((v) => v[0] === _item[0]);
|
221
|
+
someIndex > -1 && sames.push(_item[0]);
|
232
222
|
});
|
233
223
|
}
|
234
224
|
}
|
@@ -236,24 +226,28 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
236
226
|
let _arr1 = [];
|
237
227
|
let _arr2 = [];
|
238
228
|
sames.forEach((left2) => {
|
239
|
-
const index1 = points1.findIndex((point) => point
|
240
|
-
const index2 = points2.findIndex((point) => point
|
229
|
+
const index1 = points1.findIndex((point) => point[0] === left2);
|
230
|
+
const index2 = points2.findIndex((point) => point[0] === left2);
|
241
231
|
const currentPoint1 = points1[index1];
|
242
232
|
const currentPoint2 = points2[index2];
|
243
|
-
const prevPoint1 =
|
233
|
+
const prevPoint1 = points1[index1 - 1];
|
244
234
|
const nextPoint1 = points1[index1 + 1];
|
245
|
-
const prevPoint2 =
|
235
|
+
const prevPoint2 = points2[index2 - 1];
|
246
236
|
const nextPoint2 = points2[index2 + 1];
|
247
237
|
if (prevPoint1 && prevPoint2) {
|
248
|
-
if (prevPoint1
|
249
|
-
const maxPoint = Math.max(prevPoint1
|
250
|
-
_arr1.push(
|
238
|
+
if (prevPoint1[0] !== prevPoint2[0]) {
|
239
|
+
const maxPoint = Math.max(prevPoint1[0], prevPoint2[0]);
|
240
|
+
_arr1.push([prevPoint1, prevPoint2].find((point) => point[0] === maxPoint));
|
251
241
|
}
|
252
242
|
} else if (prevPoint1) {
|
253
|
-
_arr1.push(
|
243
|
+
_arr1.push(prevPoint1);
|
254
244
|
} else if (prevPoint2) {
|
255
|
-
_arr2.push(
|
245
|
+
_arr2.push(prevPoint2);
|
256
246
|
}
|
247
|
+
const minYPoint = Math.min(currentPoint1[1], currentPoint2[1]);
|
248
|
+
_arr1.push([currentPoint1, currentPoint2].find((point) => point[1] === minYPoint));
|
249
|
+
const maxYPoint = Math.max(currentPoint1[1], currentPoint2[1]);
|
250
|
+
_arr2.push([currentPoint1, currentPoint2].find((point) => point[1] === maxYPoint));
|
257
251
|
const setData = () => {
|
258
252
|
const dataItem = [..._arr1, ..._arr2.reverse()];
|
259
253
|
const [firstPoint] = dataItem;
|
@@ -264,35 +258,27 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
264
258
|
_arr1 = [];
|
265
259
|
_arr2 = [];
|
266
260
|
};
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
if (currentPoint1.breakpoint || currentPoint2.breakpoint) {
|
272
|
-
setData();
|
273
|
-
}
|
274
|
-
if (!currentPoint1.breakpoint && !currentPoint2.breakpoint) {
|
275
|
-
if (nextPoint1 && nextPoint2) {
|
276
|
-
if (nextPoint1.left !== nextPoint2.left) {
|
277
|
-
const minPoint = Math.min(nextPoint1.left, nextPoint2.left);
|
278
|
-
_arr1.push(getXY([nextPoint1, nextPoint2].find((point) => point.left === minPoint)));
|
279
|
-
setData();
|
280
|
-
}
|
281
|
-
} else if (nextPoint1) {
|
282
|
-
_arr1.push(getXY(nextPoint1));
|
283
|
-
setData();
|
284
|
-
} else if (nextPoint2) {
|
285
|
-
_arr2.push(getXY(nextPoint2));
|
286
|
-
setData();
|
287
|
-
} else {
|
261
|
+
if (nextPoint1 && nextPoint2) {
|
262
|
+
if (nextPoint1[0] !== nextPoint2[0]) {
|
263
|
+
const minPoint = Math.min(nextPoint1[0], nextPoint2[0]);
|
264
|
+
_arr1.push([nextPoint1, nextPoint2].find((point) => point[0] === minPoint));
|
288
265
|
setData();
|
289
266
|
}
|
267
|
+
} else if (nextPoint1) {
|
268
|
+
_arr1.push(nextPoint1);
|
269
|
+
setData();
|
270
|
+
} else if (nextPoint2) {
|
271
|
+
_arr2.push(nextPoint2);
|
272
|
+
setData();
|
273
|
+
} else {
|
274
|
+
setData();
|
290
275
|
}
|
291
276
|
});
|
292
277
|
return data;
|
293
278
|
}
|
294
279
|
function setCanvasEvent() {
|
295
280
|
canvas.value.on("mouse:up", (event2) => {
|
281
|
+
var _a, _b, _c;
|
296
282
|
const {
|
297
283
|
button,
|
298
284
|
target,
|
@@ -324,14 +310,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
324
310
|
pointMenuProps.target = target;
|
325
311
|
} else {
|
326
312
|
pointMenuProps.target = null;
|
327
|
-
pointMenuProps.list = [
|
328
|
-
var _a, _b, _c;
|
329
|
-
try {
|
330
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9";
|
331
|
-
} catch (e) {
|
332
|
-
return "\u65B0\u589E\u8282\u70B9";
|
333
|
-
}
|
334
|
-
}()];
|
313
|
+
pointMenuProps.list = [((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9"];
|
335
314
|
itemList.forEach((v) => {
|
336
315
|
if (!getEqualXTypes([...gridPoints], x, "_type").includes(v.bigType)) {
|
337
316
|
const newY = ["pain"].includes(v.bigType) ? painOriginY : vitalSignsOriginY;
|
@@ -381,7 +360,10 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
381
360
|
const pulseObj = yScaleValue.find((item) => item.show && item.type === "pulse");
|
382
361
|
if (!pulseObj || !((_a = pulseObj.dataList) == null ? void 0 : _a.length))
|
383
362
|
return;
|
384
|
-
if (!pulseObj.dataList.some((item) =>
|
363
|
+
if (!pulseObj.dataList.some((item) => {
|
364
|
+
var _a2, _b, _c;
|
365
|
+
return item.title.includes(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.235")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.235")) || "\u8109\u640F");
|
366
|
+
}))
|
385
367
|
return;
|
386
368
|
const overlap = Object.assign({}, OVERLAP, left.overlap || {});
|
387
369
|
const points = [];
|
@@ -448,6 +430,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
448
430
|
};
|
449
431
|
const _isOneLine = isOneLine(scaleValue);
|
450
432
|
(_a = item.list) == null ? void 0 : _a.forEach((v, index) => {
|
433
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
451
434
|
const _item = !_isOneLine ? item : dataList.find((_v) => _v.key === v.key);
|
452
435
|
const points = getPointer(isRespirator(v) ? {
|
453
436
|
...v,
|
@@ -460,10 +443,9 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
460
443
|
} : nextV, scaleValue) : void 0;
|
461
444
|
const nextItem = nextV ? !_isOneLine ? item : dataList.find((_v) => _v.key === nextV.key) : {};
|
462
445
|
const {
|
463
|
-
|
446
|
+
title = ""
|
464
447
|
} = _item;
|
465
|
-
|
466
|
-
if (!(key === mai && nextItem.key !== mai || key !== mai && nextItem.key === mai) && points && nextPoint && getFloorNumber(points[0], 1) === getFloorNumber(nextPoint[0], 1)) {
|
448
|
+
if (!(title === (((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.235")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.235")) || "\u8109\u640F") && nextItem.title !== (((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.235")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.235")) || "\u8109\u640F") || title !== (((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.235")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.235")) || "\u8109\u640F") && nextItem.title === (((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.235")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.235")) || "\u8109\u640F")) && points && nextPoint && getFloorNumber(points[0], 1) === getFloorNumber(nextPoint[0], 1)) {
|
467
449
|
const pointOriginX = points[0] - xCellWidth / 2;
|
468
450
|
points[0] = pointOriginX + xCellWidth / 4;
|
469
451
|
nextPoint[0] = nextDoublePointsX = points[0] + xCellWidth / 2;
|
@@ -498,11 +480,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
498
480
|
}
|
499
481
|
nextDoublePointsX2 = null;
|
500
482
|
}
|
501
|
-
return
|
502
|
-
left: point.left,
|
503
|
-
top: point.top,
|
504
|
-
breakpoint: !point.rightLine
|
505
|
-
};
|
483
|
+
return [point.left, point.top];
|
506
484
|
});
|
507
485
|
};
|
508
486
|
if (_isOneLine) {
|
@@ -812,7 +790,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
812
790
|
overlapKey,
|
813
791
|
unit: scaleValue.unit,
|
814
792
|
type,
|
815
|
-
_type: setOtherType(
|
793
|
+
_type: setOtherType(title, type),
|
816
794
|
dataIndex,
|
817
795
|
index,
|
818
796
|
isOneLine: _isOneLine
|
@@ -906,7 +884,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
906
884
|
x: point.left,
|
907
885
|
y: point.top
|
908
886
|
};
|
909
|
-
let timeText =
|
887
|
+
let timeText = `\u65F6\u95F4 ${((data == null ? void 0 : data.time) || getXValue(point.left)).slice(-5)}`;
|
910
888
|
pointTipProps.list = [getListValue(), timeText];
|
911
889
|
pointTipProps.show = true;
|
912
890
|
function getListValue() {
|
@@ -211,7 +211,7 @@ function useTemperatureChart(canvas, props, emits, canvasRef, pointTipProps, poi
|
|
211
211
|
return item.dataList.filter((v) => v.show).map((v, dataIndex) => {
|
212
212
|
return {
|
213
213
|
...v,
|
214
|
-
bigType: setOtherType(v.
|
214
|
+
bigType: setOtherType(v.title, item.type),
|
215
215
|
unit: item.unit,
|
216
216
|
dataIndex,
|
217
217
|
isOneLine: isOneLine(item)
|
@@ -111,11 +111,7 @@ function useTop(canvas, propItems) {
|
|
111
111
|
const dayList = (gridXNumber - surplusCell[1] - surplusCell[3]) / grid.subSecondXCell;
|
112
112
|
for (let i = 0; i < dayList; i++) {
|
113
113
|
const left = originX + i * width;
|
114
|
-
const
|
115
|
-
am,
|
116
|
-
pm
|
117
|
-
} = top.xScalevalue || {};
|
118
|
-
const value = i % 2 === 0 ? am : pm;
|
114
|
+
const value = i % 2 === 0 ? "\u4E0A\u5348" : "\u4E0B\u5348";
|
119
115
|
const textGroup = drawTextGroup({
|
120
116
|
width,
|
121
117
|
height,
|
@@ -1,28 +1,8 @@
|
|
1
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
1
2
|
const messages = {
|
2
|
-
repeat:
|
3
|
-
|
4
|
-
|
5
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.216")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.216")) || "\u8BE5\u65F6\u6BB5\u5DF2\u5B58\u5728\u6570\u503C\u4E0D\u80FD\u65B0\u589E";
|
6
|
-
} catch (e) {
|
7
|
-
return "\u8BE5\u65F6\u6BB5\u5DF2\u5B58\u5728\u6570\u503C\u4E0D\u80FD\u65B0\u589E";
|
8
|
-
}
|
9
|
-
}(),
|
10
|
-
exceedMax: function() {
|
11
|
-
var _a, _b, _c;
|
12
|
-
try {
|
13
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.217")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.217")) || "\u672A\u6765\u65F6\u95F4\u4E0D\u5141\u8BB8\u5F55\u5165";
|
14
|
-
} catch (e) {
|
15
|
-
return "\u672A\u6765\u65F6\u95F4\u4E0D\u5141\u8BB8\u5F55\u5165";
|
16
|
-
}
|
17
|
-
}(),
|
18
|
-
exceedMin: function() {
|
19
|
-
var _a, _b, _c;
|
20
|
-
try {
|
21
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.218")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.218")) || "\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u5165\u9662\u65F6\u95F4";
|
22
|
-
} catch (e) {
|
23
|
-
return "\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u5165\u9662\u65F6\u95F4";
|
24
|
-
}
|
25
|
-
}()
|
3
|
+
repeat: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.216")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.216")) || "\u8BE5\u65F6\u6BB5\u5DF2\u5B58\u5728\u6570\u503C\u4E0D\u80FD\u65B0\u589E",
|
4
|
+
exceedMax: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.217")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.217")) || "\u672A\u6765\u65F6\u95F4\u4E0D\u5141\u8BB8\u5F55\u5165",
|
5
|
+
exceedMin: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.218")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.218")) || "\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u5165\u9662\u65F6\u95F4"
|
26
6
|
};
|
27
7
|
function useCommon(canvas, emits, propItems) {
|
28
8
|
function getEqualXTypes(points, pointX, field, range = propItems.xCellWidth) {
|
@@ -9,7 +9,7 @@ export declare function deleteProperty(data: AnyObject, list: AnyObject[]): {};
|
|
9
9
|
*/
|
10
10
|
export declare function isOneLine(scaleItem: AnyObject): any;
|
11
11
|
export declare function getIndex(time: string, list: AnyObject[], isEqual?: boolean): number;
|
12
|
-
export declare function setOtherType(
|
12
|
+
export declare function setOtherType(title: string, type: string): string;
|
13
13
|
export declare function getType(type: string): string;
|
14
14
|
export declare function isValidValue(value: number | string): boolean;
|
15
15
|
export declare function isOverlapPoint(pointObj1: any, pointObj2: any): boolean;
|
@@ -23,8 +23,8 @@ function getIndex(time, list, isEqual = false) {
|
|
23
23
|
});
|
24
24
|
return !~index ? list.length : index;
|
25
25
|
}
|
26
|
-
function setOtherType(
|
27
|
-
return
|
26
|
+
function setOtherType(title, type) {
|
27
|
+
return title.includes("\u5FC3\u7387") ? "pulse_other" : type;
|
28
28
|
}
|
29
29
|
function getType(type) {
|
30
30
|
return type.includes("_other") ? type.split("_")[0] : type;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga;
|
1
2
|
var HtmlType = /* @__PURE__ */ ((HtmlType2) => {
|
2
3
|
HtmlType2["INPUT"] = "INPUT";
|
3
4
|
HtmlType2["TEXTAREA"] = "TEXTAREA";
|
@@ -14,127 +15,43 @@ var HtmlType = /* @__PURE__ */ ((HtmlType2) => {
|
|
14
15
|
const SWITCH_OPTION = {
|
15
16
|
default_val: 1,
|
16
17
|
open: {
|
17
|
-
describe:
|
18
|
-
var _a, _b, _c;
|
19
|
-
try {
|
20
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.351")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.351")) || "\u662F";
|
21
|
-
} catch (e) {
|
22
|
-
return "\u662F";
|
23
|
-
}
|
24
|
-
}(),
|
18
|
+
describe: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.351")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.351")) || "\u662F",
|
25
19
|
value: 0
|
26
20
|
},
|
27
21
|
close: {
|
28
|
-
describe:
|
29
|
-
var _a, _b, _c;
|
30
|
-
try {
|
31
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.352")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.352")) || "\u5426";
|
32
|
-
} catch (e) {
|
33
|
-
return "\u5426";
|
34
|
-
}
|
35
|
-
}(),
|
22
|
+
describe: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.352")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.352")) || "\u5426",
|
36
23
|
value: 1
|
37
24
|
}
|
38
25
|
};
|
39
26
|
const HTML_TYPE_OPTIONS = [{
|
40
|
-
text:
|
41
|
-
var _a, _b, _c;
|
42
|
-
try {
|
43
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
|
44
|
-
} catch (e) {
|
45
|
-
return "\u6587\u672C\u6846";
|
46
|
-
}
|
47
|
-
}(),
|
27
|
+
text: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.293")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.293")) || "\u6587\u672C\u6846",
|
48
28
|
value: "INPUT" /* INPUT */
|
49
29
|
}, {
|
50
|
-
text:
|
51
|
-
var _a, _b, _c;
|
52
|
-
try {
|
53
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.564")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.564")) || "\u6587\u672C\u57DF";
|
54
|
-
} catch (e) {
|
55
|
-
return "\u6587\u672C\u57DF";
|
56
|
-
}
|
57
|
-
}(),
|
30
|
+
text: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.564")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.564")) || "\u6587\u672C\u57DF",
|
58
31
|
value: "TEXTAREA" /* TEXTAREA */
|
59
32
|
}, {
|
60
|
-
text:
|
61
|
-
var _a, _b, _c;
|
62
|
-
try {
|
63
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
|
64
|
-
} catch (e) {
|
65
|
-
return "\u6570\u5B57\u6846";
|
66
|
-
}
|
67
|
-
}(),
|
33
|
+
text: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.292")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.292")) || "\u6570\u5B57\u6846",
|
68
34
|
value: "DIGITAL" /* DIGITAL */
|
69
35
|
}, {
|
70
|
-
text:
|
71
|
-
var _a, _b, _c;
|
72
|
-
try {
|
73
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.74")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.74")) || "\u65E5\u671F";
|
74
|
-
} catch (e) {
|
75
|
-
return "\u65E5\u671F";
|
76
|
-
}
|
77
|
-
}(),
|
36
|
+
text: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.74")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.74")) || "\u65E5\u671F",
|
78
37
|
value: "DATE" /* DATE */
|
79
38
|
}, {
|
80
|
-
text:
|
81
|
-
var _a, _b, _c;
|
82
|
-
try {
|
83
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.565")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009";
|
84
|
-
} catch (e) {
|
85
|
-
return "\u6A2A\u5411\u5355\u9009";
|
86
|
-
}
|
87
|
-
}(),
|
39
|
+
text: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.565")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009",
|
88
40
|
value: "RADIO" /* RADIO */
|
89
41
|
}, {
|
90
|
-
text:
|
91
|
-
var _a, _b, _c;
|
92
|
-
try {
|
93
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.566")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009";
|
94
|
-
} catch (e) {
|
95
|
-
return "\u7EB5\u5411\u5355\u9009";
|
96
|
-
}
|
97
|
-
}(),
|
42
|
+
text: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.566")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009",
|
98
43
|
value: "RADIO_BLOCK" /* RADIO_BLOCK */
|
99
44
|
}, {
|
100
|
-
text:
|
101
|
-
var _a, _b, _c;
|
102
|
-
try {
|
103
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.567")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009";
|
104
|
-
} catch (e) {
|
105
|
-
return "\u6A2A\u5411\u591A\u9009";
|
106
|
-
}
|
107
|
-
}(),
|
45
|
+
text: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.567")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009",
|
108
46
|
value: "CHECKBOX" /* CHECKBOX */
|
109
47
|
}, {
|
110
|
-
text:
|
111
|
-
var _a, _b, _c;
|
112
|
-
try {
|
113
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.568")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009";
|
114
|
-
} catch (e) {
|
115
|
-
return "\u7EB5\u5411\u591A\u9009";
|
116
|
-
}
|
117
|
-
}(),
|
48
|
+
text: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.568")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009",
|
118
49
|
value: "CHECKBOX_BLOCK" /* CHECKBOX_BLOCK */
|
119
50
|
}, {
|
120
|
-
text:
|
121
|
-
var _a, _b, _c;
|
122
|
-
try {
|
123
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.294")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.294")) || "\u4E0B\u62C9\u6846";
|
124
|
-
} catch (e) {
|
125
|
-
return "\u4E0B\u62C9\u6846";
|
126
|
-
}
|
127
|
-
}(),
|
51
|
+
text: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.294")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.294")) || "\u4E0B\u62C9\u6846",
|
128
52
|
value: "SELECT" /* SELECT */
|
129
53
|
}, {
|
130
|
-
text:
|
131
|
-
var _a, _b, _c;
|
132
|
-
try {
|
133
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.569")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846";
|
134
|
-
} catch (e) {
|
135
|
-
return "\u4E0B\u62C9\u591A\u9009\u6846";
|
136
|
-
}
|
137
|
-
}(),
|
54
|
+
text: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.569")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846",
|
138
55
|
value: "MULTI_SELECT" /* MULTI_SELECT */
|
139
56
|
}];
|
140
57
|
const ELEMENT_WIDTH_OPTIONS = [{
|
@@ -162,109 +79,39 @@ const ELEMENT_WIDTH_OPTIONS = [{
|
|
162
79
|
text: "7/8",
|
163
80
|
value: "10.5"
|
164
81
|
}, {
|
165
|
-
text:
|
166
|
-
var _a, _b, _c;
|
167
|
-
try {
|
168
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.30")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.30")) || "\u534A\u884C";
|
169
|
-
} catch (e) {
|
170
|
-
return "\u534A\u884C";
|
171
|
-
}
|
172
|
-
}(),
|
82
|
+
text: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.30")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.30")) || "\u534A\u884C",
|
173
83
|
value: "6"
|
174
84
|
}, {
|
175
|
-
text:
|
176
|
-
var _a, _b, _c;
|
177
|
-
try {
|
178
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.29")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.29")) || "\u6574\u884C";
|
179
|
-
} catch (e) {
|
180
|
-
return "\u6574\u884C";
|
181
|
-
}
|
182
|
-
}(),
|
85
|
+
text: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.29")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.29")) || "\u6574\u884C",
|
183
86
|
value: "12"
|
184
87
|
}];
|
185
88
|
const DATE_FORMAT_OPTIONS = [{
|
186
|
-
text:
|
187
|
-
var _a, _b, _c;
|
188
|
-
try {
|
189
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.548")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.548")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2";
|
190
|
-
} catch (e) {
|
191
|
-
return "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2";
|
192
|
-
}
|
193
|
-
}(),
|
89
|
+
text: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.548")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.548")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2",
|
194
90
|
value: "yyyy-MM-dd HH:mm:ss"
|
195
91
|
}, {
|
196
|
-
text:
|
197
|
-
var _a, _b, _c;
|
198
|
-
try {
|
199
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.549")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.549")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206";
|
200
|
-
} catch (e) {
|
201
|
-
return "\u5E74-\u6708-\u65E5 \u65F6:\u5206";
|
202
|
-
}
|
203
|
-
}(),
|
92
|
+
text: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.549")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.549")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206",
|
204
93
|
value: "yyyy-MM-dd HH:mm"
|
205
94
|
}, {
|
206
|
-
text:
|
207
|
-
var _a, _b, _c;
|
208
|
-
try {
|
209
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.550")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.550")) || "\u5E74-\u6708-\u65E5";
|
210
|
-
} catch (e) {
|
211
|
-
return "\u5E74-\u6708-\u65E5";
|
212
|
-
}
|
213
|
-
}(),
|
95
|
+
text: ((_W = window.getLanguageByCode) == null ? void 0 : _W.call(window, "10010.1.550")) || ((_Y = (_X = window.top) == null ? void 0 : _X.getLanguageByCode) == null ? void 0 : _Y.call(_X, "10010.1.550")) || "\u5E74-\u6708-\u65E5",
|
214
96
|
value: "yyyy-MM-dd"
|
215
97
|
}, {
|
216
|
-
text:
|
217
|
-
var _a, _b, _c;
|
218
|
-
try {
|
219
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.551")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.551")) || "\u5E74-\u6708";
|
220
|
-
} catch (e) {
|
221
|
-
return "\u5E74-\u6708";
|
222
|
-
}
|
223
|
-
}(),
|
98
|
+
text: ((_Z = window.getLanguageByCode) == null ? void 0 : _Z.call(window, "10010.1.551")) || ((_$ = (__ = window.top) == null ? void 0 : __.getLanguageByCode) == null ? void 0 : _$.call(__, "10010.1.551")) || "\u5E74-\u6708",
|
224
99
|
value: "yyyy-MM"
|
225
100
|
}, {
|
226
101
|
text: "\u6708-\u65E5 \u65F6-\u5206",
|
227
102
|
value: "MM-dd HH:mm"
|
228
103
|
}, {
|
229
|
-
text:
|
230
|
-
var _a, _b, _c;
|
231
|
-
try {
|
232
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.553")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.553")) || "\u6708-\u65E5";
|
233
|
-
} catch (e) {
|
234
|
-
return "\u6708-\u65E5";
|
235
|
-
}
|
236
|
-
}(),
|
104
|
+
text: ((_aa = window.getLanguageByCode) == null ? void 0 : _aa.call(window, "10010.1.553")) || ((_ca = (_ba = window.top) == null ? void 0 : _ba.getLanguageByCode) == null ? void 0 : _ca.call(_ba, "10010.1.553")) || "\u6708-\u65E5",
|
237
105
|
value: "MM-dd"
|
238
106
|
}, {
|
239
|
-
text:
|
240
|
-
var _a, _b, _c;
|
241
|
-
try {
|
242
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.554")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.554")) || "\u65F6:\u5206:\u79D2";
|
243
|
-
} catch (e) {
|
244
|
-
return "\u65F6:\u5206:\u79D2";
|
245
|
-
}
|
246
|
-
}(),
|
107
|
+
text: ((_da = window.getLanguageByCode) == null ? void 0 : _da.call(window, "10010.1.554")) || ((_fa = (_ea = window.top) == null ? void 0 : _ea.getLanguageByCode) == null ? void 0 : _fa.call(_ea, "10010.1.554")) || "\u65F6:\u5206:\u79D2",
|
247
108
|
value: "HH:mm:ss"
|
248
109
|
}, {
|
249
|
-
text:
|
250
|
-
var _a, _b, _c;
|
251
|
-
try {
|
252
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.555")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.555")) || "\u65F6:\u5206";
|
253
|
-
} catch (e) {
|
254
|
-
return "\u65F6:\u5206";
|
255
|
-
}
|
256
|
-
}(),
|
110
|
+
text: ((_ga = window.getLanguageByCode) == null ? void 0 : _ga.call(window, "10010.1.555")) || ((_ia = (_ha = window.top) == null ? void 0 : _ha.getLanguageByCode) == null ? void 0 : _ia.call(_ha, "10010.1.555")) || "\u65F6:\u5206",
|
257
111
|
value: "HH:mm"
|
258
112
|
}];
|
259
113
|
const DATE_FORMAT_FIELD = {
|
260
|
-
alias:
|
261
|
-
var _a, _b, _c;
|
262
|
-
try {
|
263
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.541")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.541")) || "\u65E5\u671F\u683C\u5F0F";
|
264
|
-
} catch (e) {
|
265
|
-
return "\u65E5\u671F\u683C\u5F0F";
|
266
|
-
}
|
267
|
-
}(),
|
114
|
+
alias: ((_ja = window.getLanguageByCode) == null ? void 0 : _ja.call(window, "10010.1.541")) || ((_la = (_ka = window.top) == null ? void 0 : _ka.getLanguageByCode) == null ? void 0 : _la.call(_ka, "10010.1.541")) || "\u65E5\u671F\u683C\u5F0F",
|
268
115
|
val_key: "date_format",
|
269
116
|
html_type: "SELECT",
|
270
117
|
is_null: "0",
|
@@ -292,14 +139,7 @@ const OPTION_FIELD = {
|
|
292
139
|
is_null: "0"
|
293
140
|
}, {
|
294
141
|
elem_width: 6,
|
295
|
-
alias:
|
296
|
-
var _a, _b, _c;
|
297
|
-
try {
|
298
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.22")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.22")) || "\u503C";
|
299
|
-
} catch (e) {
|
300
|
-
return "\u503C";
|
301
|
-
}
|
302
|
-
}(),
|
142
|
+
alias: ((_ma = window.getLanguageByCode) == null ? void 0 : _ma.call(window, "10010.1.22")) || ((_oa = (_na = window.top) == null ? void 0 : _na.getLanguageByCode) == null ? void 0 : _oa.call(_na, "10010.1.22")) || "\u503C",
|
303
143
|
val_key: "value",
|
304
144
|
html_type: "INPUT",
|
305
145
|
is_null: "0"
|
@@ -315,50 +155,22 @@ const DEFAULT_FIELD_LIST = [{
|
|
315
155
|
}
|
316
156
|
}
|
317
157
|
}, {
|
318
|
-
alias:
|
319
|
-
var _a, _b, _c;
|
320
|
-
try {
|
321
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.530")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D";
|
322
|
-
} catch (e) {
|
323
|
-
return "\u5B57\u6BB5\u952E\u540D";
|
324
|
-
}
|
325
|
-
}(),
|
158
|
+
alias: ((_pa = window.getLanguageByCode) == null ? void 0 : _pa.call(window, "10010.1.530")) || ((_ra = (_qa = window.top) == null ? void 0 : _qa.getLanguageByCode) == null ? void 0 : _ra.call(_qa, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D",
|
326
159
|
val_key: "key",
|
327
160
|
html_type: "INPUT",
|
328
161
|
remark: "\u6570\u636E\u5E93\u5B57\u6BB5\u952E\u540D,\u4E0D\u586B\u5199\u65F6\u7531\u7CFB\u7EDF\u751F\u6210,\u586B\u5199\u5219\u4EE5\u586B\u5199\u4E3A\u51C6"
|
329
162
|
}, {
|
330
|
-
alias:
|
331
|
-
var _a, _b, _c;
|
332
|
-
try {
|
333
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.16")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B";
|
334
|
-
} catch (e) {
|
335
|
-
return "\u662F\u5426\u5FC5\u586B";
|
336
|
-
}
|
337
|
-
}(),
|
163
|
+
alias: ((_sa = window.getLanguageByCode) == null ? void 0 : _sa.call(window, "10010.1.16")) || ((_ua = (_ta = window.top) == null ? void 0 : _ta.getLanguageByCode) == null ? void 0 : _ua.call(_ta, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B",
|
338
164
|
val_key: "is_null",
|
339
165
|
html_type: "SWITCH",
|
340
166
|
...SWITCH_OPTION
|
341
167
|
}, {
|
342
|
-
alias:
|
343
|
-
var _a, _b, _c;
|
344
|
-
try {
|
345
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.529")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898";
|
346
|
-
} catch (e) {
|
347
|
-
return "\u5B57\u6BB5\u6807\u9898";
|
348
|
-
}
|
349
|
-
}(),
|
168
|
+
alias: ((_va = window.getLanguageByCode) == null ? void 0 : _va.call(window, "10010.1.529")) || ((_xa = (_wa = window.top) == null ? void 0 : _wa.getLanguageByCode) == null ? void 0 : _xa.call(_wa, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898",
|
350
169
|
val_key: "name",
|
351
170
|
html_type: "INPUT",
|
352
171
|
default_val: ""
|
353
172
|
}, {
|
354
|
-
alias:
|
355
|
-
var _a, _b, _c;
|
356
|
-
try {
|
357
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.532")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B";
|
358
|
-
} catch (e) {
|
359
|
-
return "\u5B57\u6BB5\u7C7B\u578B";
|
360
|
-
}
|
361
|
-
}(),
|
173
|
+
alias: ((_ya = window.getLanguageByCode) == null ? void 0 : _ya.call(window, "10010.1.532")) || ((_Aa = (_za = window.top) == null ? void 0 : _za.getLanguageByCode) == null ? void 0 : _Aa.call(_za, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B",
|
362
174
|
val_key: "html_type",
|
363
175
|
html_type: "SELECT",
|
364
176
|
option: HTML_TYPE_OPTIONS,
|
@@ -368,26 +180,12 @@ const DEFAULT_FIELD_LIST = [{
|
|
368
180
|
val_key: "default_val",
|
369
181
|
html_type: "INPUT"
|
370
182
|
}, {
|
371
|
-
alias:
|
372
|
-
var _a, _b, _c;
|
373
|
-
try {
|
374
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.534")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.534")) || "\u5B57\u6BB5\u95EE\u53F7\u63D0\u793A";
|
375
|
-
} catch (e) {
|
376
|
-
return "\u5B57\u6BB5\u95EE\u53F7\u63D0\u793A";
|
377
|
-
}
|
378
|
-
}(),
|
183
|
+
alias: ((_Ba = window.getLanguageByCode) == null ? void 0 : _Ba.call(window, "10010.1.534")) || ((_Da = (_Ca = window.top) == null ? void 0 : _Ca.getLanguageByCode) == null ? void 0 : _Da.call(_Ca, "10010.1.534")) || "\u5B57\u6BB5\u95EE\u53F7\u63D0\u793A",
|
379
184
|
val_key: "remark",
|
380
185
|
html_type: "INPUT",
|
381
186
|
default_val: ""
|
382
187
|
}, {
|
383
|
-
alias:
|
384
|
-
var _a, _b, _c;
|
385
|
-
try {
|
386
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.13")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.13")) || "\u5BBD\u5EA6";
|
387
|
-
} catch (e) {
|
388
|
-
return "\u5BBD\u5EA6";
|
389
|
-
}
|
390
|
-
}(),
|
188
|
+
alias: ((_Ea = window.getLanguageByCode) == null ? void 0 : _Ea.call(window, "10010.1.13")) || ((_Ga = (_Fa = window.top) == null ? void 0 : _Fa.getLanguageByCode) == null ? void 0 : _Ga.call(_Fa, "10010.1.13")) || "\u5BBD\u5EA6",
|
391
189
|
val_key: "elem_width",
|
392
190
|
html_type: "SELECT",
|
393
191
|
option: ELEMENT_WIDTH_OPTIONS
|