cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5
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/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/field-editor/index.d.ts +1 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +9 -9
- package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.js +11 -11
- package/es/components/form-config/src/hooks/useLocale.js +31 -31
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/form-render/src/utils/schema.js +4 -4
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/info-header/index.d.ts +7 -7
- package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -62,7 +62,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
setup(__props, {
|
63
63
|
emit: emits
|
64
64
|
}) {
|
65
|
-
var _a, _b, _c, _d, _e, _f;
|
65
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
66
66
|
const props = __props;
|
67
67
|
const $message = useMessage();
|
68
68
|
const {
|
@@ -70,23 +70,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
70
70
|
} = useAsyncData();
|
71
71
|
provide(InjectionExpandFieldApiConfig, props.expandFieldApiConfig);
|
72
72
|
const filedList = [{
|
73
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898",
|
73
|
+
title: ((_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",
|
74
74
|
columnName: "name",
|
75
75
|
span: 3
|
76
76
|
}, {
|
77
|
-
title: ((
|
77
|
+
title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.530")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D",
|
78
78
|
columnName: "code",
|
79
79
|
span: 3
|
80
80
|
}, {
|
81
|
-
title: ((
|
81
|
+
title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.532")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B",
|
82
82
|
columnName: "html_type",
|
83
83
|
span: 3
|
84
84
|
}, {
|
85
|
-
title: ((
|
85
|
+
title: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.15")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A",
|
86
86
|
columnName: "remark",
|
87
87
|
span: 4
|
88
88
|
}, {
|
89
|
-
title: ((
|
89
|
+
title: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.236")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.236")) || "\u521B\u5EFA\u65F6\u95F4",
|
90
90
|
columnName: "createdDate",
|
91
91
|
span: 4
|
92
92
|
}, {
|
@@ -94,7 +94,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
94
|
columnName: "updatedDate",
|
95
95
|
span: 4
|
96
96
|
}, {
|
97
|
-
title: ((
|
97
|
+
title: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.241")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.241")) || "\u64CD\u4F5C",
|
98
98
|
columnName: "operator",
|
99
99
|
span: 3
|
100
100
|
}];
|
@@ -120,14 +120,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
120
|
};
|
121
121
|
}
|
122
122
|
async function handleDelItem(row) {
|
123
|
-
var _a2, _b2;
|
123
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
124
124
|
try {
|
125
125
|
const res = await deleteExtendFieldById(row, props.expandFieldApiConfig);
|
126
126
|
if ((res == null ? void 0 : res.result) !== "SUCCESS") {
|
127
|
-
$message.error((res == null ? void 0 : res.resultMsg) || ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
|
127
|
+
$message.error((res == null ? void 0 : res.resultMsg) || ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
|
128
128
|
return;
|
129
129
|
}
|
130
|
-
$message.success(((
|
130
|
+
$message.success(((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.411")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.411")) || "\u5220\u9664\u6210\u529F");
|
131
131
|
} catch (error) {
|
132
132
|
$message.error(error);
|
133
133
|
}
|
@@ -207,8 +207,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
207
207
|
onClick: withModifiers(($event) => handleEditItem(contentItem), ["prevent", "stop"])
|
208
208
|
}, null, 8, ["component", "onClick"])]),
|
209
209
|
default: withCtx(() => {
|
210
|
-
var _a2;
|
211
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.284")) || "\u7F16\u8F91")];
|
210
|
+
var _a2, _b2, _c2;
|
211
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.284")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.284")) || "\u7F16\u8F91")];
|
212
212
|
}),
|
213
213
|
_: 2
|
214
214
|
}, 1024), createVNode(unref(NTooltip), {
|
@@ -225,8 +225,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
225
225
|
_: 2
|
226
226
|
}, 1032, ["onPositiveClick"])]),
|
227
227
|
default: withCtx(() => {
|
228
|
-
var _a2;
|
229
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.215")) || "\u5220\u9664")];
|
228
|
+
var _a2, _b2, _c2;
|
229
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.215")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.215")) || "\u5220\u9664")];
|
230
230
|
}),
|
231
231
|
_: 2
|
232
232
|
}, 1024)]),
|
@@ -238,8 +238,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
238
238
|
onClick: closeModal
|
239
239
|
}, {
|
240
240
|
default: withCtx(() => {
|
241
|
-
var _a2;
|
242
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
241
|
+
var _a2, _b2, _c2;
|
242
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
243
243
|
}),
|
244
244
|
_: 1
|
245
245
|
}), createVNode(unref(NButton), {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
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;
|
2
2
|
const HtmlType = {
|
3
3
|
INPUT: "INPUT",
|
4
4
|
TEXTAREA: "TEXTAREA",
|
@@ -14,37 +14,37 @@ const HtmlType = {
|
|
14
14
|
};
|
15
15
|
const HtmlTypeList = [{
|
16
16
|
value: HtmlType.INPUT,
|
17
|
-
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || "\u6587\u672C\u6846"
|
17
|
+
label: ((_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"
|
18
18
|
}, {
|
19
19
|
value: HtmlType.TEXTAREA,
|
20
|
-
label: ((
|
20
|
+
label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.564")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.564")) || "\u6587\u672C\u57DF"
|
21
21
|
}, {
|
22
22
|
value: HtmlType.DIGITAL,
|
23
|
-
label: ((
|
23
|
+
label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.292")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.292")) || "\u6570\u5B57\u6846"
|
24
24
|
}, {
|
25
25
|
value: HtmlType.DATE,
|
26
|
-
label: ((
|
26
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.74")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.74")) || "\u65E5\u671F"
|
27
27
|
}, {
|
28
28
|
value: HtmlType.RADIO,
|
29
|
-
label: ((
|
29
|
+
label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.565")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009"
|
30
30
|
}, {
|
31
31
|
value: HtmlType.RADIO_BLOCK,
|
32
|
-
label: ((
|
32
|
+
label: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.566")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009"
|
33
33
|
}, {
|
34
34
|
value: HtmlType.CHECKBOX,
|
35
|
-
label: ((
|
35
|
+
label: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.567")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009"
|
36
36
|
}, {
|
37
37
|
value: HtmlType.CHECKBOX_BLOCK,
|
38
|
-
label: ((
|
38
|
+
label: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.568")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009"
|
39
39
|
}, {
|
40
40
|
value: HtmlType.SELECT,
|
41
|
-
label: ((
|
41
|
+
label: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.294")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.294")) || "\u4E0B\u62C9\u6846"
|
42
42
|
}, {
|
43
43
|
value: HtmlType.MULTI_SELECT,
|
44
|
-
label: ((
|
44
|
+
label: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.569")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846"
|
45
45
|
}, {
|
46
46
|
value: HtmlType.CANDIDATE_COMPONENTS,
|
47
|
-
label: ((
|
47
|
+
label: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.570")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.570")) || "\u9009\u4EBA\u7EC4\u4EF6"
|
48
48
|
}];
|
49
49
|
|
50
50
|
export { HtmlType, HtmlTypeList };
|
@@ -42,8 +42,8 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
42
42
|
props.propItems;
|
43
43
|
const pointStyle = useStyle(props);
|
44
44
|
function setNoClick(item) {
|
45
|
-
var _a, _b;
|
46
|
-
if (typeof item === "string" && (item.startsWith(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || "\u65B0\u589E") || item.startsWith(((
|
45
|
+
var _a, _b, _c, _d, _e, _f;
|
46
|
+
if (typeof item === "string" && (item.startsWith(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E") || item.startsWith(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.215")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.215")) || "\u5220\u9664"))) {
|
47
47
|
return true;
|
48
48
|
}
|
49
49
|
}
|
@@ -59,14 +59,14 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
59
59
|
"align": "center"
|
60
60
|
}, {
|
61
61
|
default: () => {
|
62
|
-
var _a;
|
62
|
+
var _a, _b, _c;
|
63
63
|
return [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
|
64
64
|
"style": "width: 110px",
|
65
65
|
"size": "small",
|
66
66
|
"value": item.value,
|
67
67
|
"onUpdate:value": ($event) => item.value = $event,
|
68
68
|
"clearable": true,
|
69
|
-
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.207")) || "\u8BF7\u8F93\u5165\u6570\u503C",
|
69
|
+
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.207")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.207")) || "\u8BF7\u8F93\u5165\u6570\u503C",
|
70
70
|
"showButton": false,
|
71
71
|
"onFocus": () => emit("update:show", true)
|
72
72
|
}, null)];
|
@@ -1,38 +1,38 @@
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
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;
|
2
2
|
const TEMPERATURE_MENU = [{
|
3
|
-
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.208")) || "\u5347\u6E29",
|
3
|
+
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.208")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.208")) || "\u5347\u6E29",
|
4
4
|
value: true,
|
5
5
|
type: "rise"
|
6
6
|
}, {
|
7
|
-
label: ((
|
7
|
+
label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.209")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.209")) || "\u836F\u7269\u964D\u6E29",
|
8
8
|
value: void 0,
|
9
9
|
type: "drugReduce"
|
10
10
|
}, {
|
11
|
-
label: ((
|
11
|
+
label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.210")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.210")) || "\u7269\u7406\u964D\u6E29",
|
12
12
|
value: void 0,
|
13
13
|
type: "physicsReduce"
|
14
14
|
}, {
|
15
|
-
label: ((
|
15
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.211")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.211")) || "\u4E0D\u5347",
|
16
16
|
value: true,
|
17
17
|
type: "noRise"
|
18
18
|
}];
|
19
19
|
const PAIN_MENU = [{
|
20
|
-
label: ((
|
20
|
+
label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.212")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.212")) || "\u836F\u7269\u964D\u75DB",
|
21
21
|
value: void 0,
|
22
22
|
type: "drugReduce"
|
23
23
|
}, {
|
24
|
-
label: ((
|
24
|
+
label: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.213")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.213")) || "\u7269\u7406\u964D\u75DB",
|
25
25
|
value: void 0,
|
26
26
|
type: "physicsReduce"
|
27
27
|
}];
|
28
28
|
const OTHER_MENU = Object.freeze([{
|
29
|
-
label: ((
|
29
|
+
label: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.279")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.279")) || "\u65B0\u589E",
|
30
30
|
type: "add"
|
31
31
|
}, {
|
32
|
-
label: ((
|
32
|
+
label: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.214")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.214")) || "\u4FEE\u6539",
|
33
33
|
type: "edit"
|
34
34
|
}, {
|
35
|
-
label: ((
|
35
|
+
label: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.215")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.215")) || "\u5220\u9664",
|
36
36
|
type: "remove"
|
37
37
|
}]);
|
38
38
|
const BLUE = "#2563F4";
|
@@ -448,7 +448,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
448
448
|
if (!propItems.event.evented)
|
449
449
|
return;
|
450
450
|
canvas.value.on("mouse:up", (event2) => {
|
451
|
-
var _a, _b;
|
451
|
+
var _a, _b, _c, _d, _e, _f;
|
452
452
|
if (event2.button === 3) {
|
453
453
|
const {
|
454
454
|
x = 0,
|
@@ -462,7 +462,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
462
462
|
pointMenuProps.show = true;
|
463
463
|
if (!event2.target) {
|
464
464
|
pointMenuProps.target = null;
|
465
|
-
pointMenuProps.list = [((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9"];
|
465
|
+
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"];
|
466
466
|
yScaleValue.filter((item) => item.show).forEach((item) => {
|
467
467
|
if (!getEqualXTypes([...gridPoints], x, "key").includes(item.key)) {
|
468
468
|
if (["cervix", "fetalPresentation"].includes(item.key) && y < originYCervix)
|
@@ -477,7 +477,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
477
477
|
}
|
478
478
|
} else {
|
479
479
|
pointMenuProps.target = event2.target;
|
480
|
-
pointMenuProps.list = [((
|
480
|
+
pointMenuProps.list = [((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.220")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.220")) || "\u5220\u9664\u8282\u70B9"];
|
481
481
|
[...gridPoints].forEach((obj) => {
|
482
482
|
if (obj.origin && obj.left === event2.target.left && obj.top === event2.target.top) {
|
483
483
|
pointMenuProps.list.push({
|
@@ -221,10 +221,10 @@ function useNewBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuPr
|
|
221
221
|
return _time >= startTime && _time <= maxTime;
|
222
222
|
}
|
223
223
|
function drawOther() {
|
224
|
-
var _a;
|
224
|
+
var _a, _b, _c;
|
225
225
|
const {
|
226
226
|
alertLineList = [],
|
227
|
-
alertLineTitle = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.227")) || "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5"
|
227
|
+
alertLineTitle = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.227")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.227")) || "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5"
|
228
228
|
} = other;
|
229
229
|
if (alertLineList.length < 1)
|
230
230
|
return;
|
@@ -211,14 +211,14 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
211
211
|
return newGridPoints.filter((point) => point.left >= x1 && point.left <= x2 && point.top >= y1 && point.top <= y2);
|
212
212
|
}
|
213
213
|
function showDialog(callback) {
|
214
|
-
var _a, _b, _c, _d;
|
214
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
215
215
|
dialog.warning({
|
216
216
|
maskClosable: false,
|
217
217
|
closeOnEsc: false,
|
218
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || "\u8B66\u544A",
|
219
|
-
content: ((
|
220
|
-
positiveText: ((
|
221
|
-
negativeText: ((
|
218
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A",
|
219
|
+
content: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.229")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.229")) || "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F",
|
220
|
+
positiveText: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.27")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.27")) || "\u786E\u5B9A",
|
221
|
+
negativeText: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.28")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.28")) || "\u53D6\u6D88",
|
222
222
|
onPositiveClick: () => {
|
223
223
|
callback();
|
224
224
|
removeCurrentSelection();
|
@@ -119,7 +119,7 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
|
|
119
119
|
canvas.value.add(group);
|
120
120
|
}
|
121
121
|
function drawXAxis() {
|
122
|
-
var _a;
|
122
|
+
var _a, _b, _c;
|
123
123
|
const {
|
124
124
|
height,
|
125
125
|
list,
|
@@ -159,7 +159,7 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
|
|
159
159
|
canvas.value.add(rect);
|
160
160
|
if (!hasScale()) {
|
161
161
|
const {
|
162
|
-
title = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.234")) || "\u603B\u91CF",
|
162
|
+
title = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.234")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.234")) || "\u603B\u91CF",
|
163
163
|
style: style2
|
164
164
|
} = (top == null ? void 0 : top.total) || {};
|
165
165
|
const totalText = drawText([endX + (canvasWidth - endX) / 2, y], {
|
@@ -278,7 +278,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
278
278
|
}
|
279
279
|
function setCanvasEvent() {
|
280
280
|
canvas.value.on("mouse:up", (event2) => {
|
281
|
-
var _a;
|
281
|
+
var _a, _b, _c;
|
282
282
|
const {
|
283
283
|
button,
|
284
284
|
target,
|
@@ -310,7 +310,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
310
310
|
pointMenuProps.target = target;
|
311
311
|
} else {
|
312
312
|
pointMenuProps.target = null;
|
313
|
-
pointMenuProps.list = [((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9"];
|
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"];
|
314
314
|
itemList.forEach((v) => {
|
315
315
|
if (!getEqualXTypes([...gridPoints], x, "_type").includes(v.bigType)) {
|
316
316
|
const newY = ["pain"].includes(v.bigType) ? painOriginY : vitalSignsOriginY;
|
@@ -361,8 +361,8 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
361
361
|
if (!pulseObj || !((_a = pulseObj.dataList) == null ? void 0 : _a.length))
|
362
362
|
return;
|
363
363
|
if (!pulseObj.dataList.some((item) => {
|
364
|
-
var _a2;
|
365
|
-
return item.title.includes(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.235")) || "\u8109\u640F");
|
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
366
|
}))
|
367
367
|
return;
|
368
368
|
const overlap = Object.assign({}, OVERLAP, left.overlap || {});
|
@@ -430,7 +430,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
430
430
|
};
|
431
431
|
const _isOneLine = isOneLine(scaleValue);
|
432
432
|
(_a = item.list) == null ? void 0 : _a.forEach((v, index) => {
|
433
|
-
var _a2, _b, _c, _d;
|
433
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
434
434
|
const _item = !_isOneLine ? item : dataList.find((_v) => _v.key === v.key);
|
435
435
|
const points = getPointer(isRespirator(v) ? {
|
436
436
|
...v,
|
@@ -445,7 +445,7 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
445
445
|
const {
|
446
446
|
title = ""
|
447
447
|
} = _item;
|
448
|
-
if (!(title === (((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.235")) || "\u8109\u640F") && nextItem.title !== (((
|
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)) {
|
449
449
|
const pointOriginX = points[0] - xCellWidth / 2;
|
450
450
|
points[0] = pointOriginX + xCellWidth / 4;
|
451
451
|
nextPoint[0] = nextDoublePointsX = points[0] + xCellWidth / 2;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
var _a, _b, _c;
|
1
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
2
2
|
const messages = {
|
3
|
-
repeat: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.216")) || "\u8BE5\u65F6\u6BB5\u5DF2\u5B58\u5728\u6570\u503C\u4E0D\u80FD\u65B0\u589E",
|
4
|
-
exceedMax: ((
|
5
|
-
exceedMin: ((
|
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"
|
6
6
|
};
|
7
7
|
function useCommon(canvas, emits, propItems) {
|
8
8
|
function getEqualXTypes(points, pointX, field, range = propItems.xCellWidth) {
|
@@ -592,7 +592,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
592
592
|
feedbackType: "default" | "tooltip";
|
593
593
|
fixMemoLeak: boolean;
|
594
594
|
lazyRender: boolean;
|
595
|
-
dialogFn:
|
595
|
+
dialogFn: any;
|
596
596
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
597
597
|
[key: symbol]: any;
|
598
598
|
[key: `x-${string}`]: any;
|
@@ -593,7 +593,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
593
593
|
feedbackType: "default" | "tooltip";
|
594
594
|
fixMemoLeak: boolean;
|
595
595
|
lazyRender: boolean;
|
596
|
-
dialogFn:
|
596
|
+
dialogFn: any;
|
597
597
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
598
598
|
[key: symbol]: any;
|
599
599
|
[key: `x-${string}`]: any;
|
@@ -1,4 +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;
|
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;
|
2
2
|
var HtmlType = /* @__PURE__ */ ((HtmlType2) => {
|
3
3
|
HtmlType2["INPUT"] = "INPUT";
|
4
4
|
HtmlType2["TEXTAREA"] = "TEXTAREA";
|
@@ -15,43 +15,43 @@ var HtmlType = /* @__PURE__ */ ((HtmlType2) => {
|
|
15
15
|
const SWITCH_OPTION = {
|
16
16
|
default_val: 1,
|
17
17
|
open: {
|
18
|
-
describe: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.351")) || "\u662F",
|
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",
|
19
19
|
value: 0
|
20
20
|
},
|
21
21
|
close: {
|
22
|
-
describe: ((
|
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",
|
23
23
|
value: 1
|
24
24
|
}
|
25
25
|
};
|
26
26
|
const HTML_TYPE_OPTIONS = [{
|
27
|
-
text: ((
|
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",
|
28
28
|
value: "INPUT" /* INPUT */
|
29
29
|
}, {
|
30
|
-
text: ((
|
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",
|
31
31
|
value: "TEXTAREA" /* TEXTAREA */
|
32
32
|
}, {
|
33
|
-
text: ((
|
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",
|
34
34
|
value: "DIGITAL" /* DIGITAL */
|
35
35
|
}, {
|
36
|
-
text: ((
|
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",
|
37
37
|
value: "DATE" /* DATE */
|
38
38
|
}, {
|
39
|
-
text: ((
|
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",
|
40
40
|
value: "RADIO" /* RADIO */
|
41
41
|
}, {
|
42
|
-
text: ((
|
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",
|
43
43
|
value: "RADIO_BLOCK" /* RADIO_BLOCK */
|
44
44
|
}, {
|
45
|
-
text: ((
|
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",
|
46
46
|
value: "CHECKBOX" /* CHECKBOX */
|
47
47
|
}, {
|
48
|
-
text: ((
|
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",
|
49
49
|
value: "CHECKBOX_BLOCK" /* CHECKBOX_BLOCK */
|
50
50
|
}, {
|
51
|
-
text: ((
|
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",
|
52
52
|
value: "SELECT" /* SELECT */
|
53
53
|
}, {
|
54
|
-
text: ((
|
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",
|
55
55
|
value: "MULTI_SELECT" /* MULTI_SELECT */
|
56
56
|
}];
|
57
57
|
const ELEMENT_WIDTH_OPTIONS = [{
|
@@ -79,39 +79,39 @@ const ELEMENT_WIDTH_OPTIONS = [{
|
|
79
79
|
text: "7/8",
|
80
80
|
value: "10.5"
|
81
81
|
}, {
|
82
|
-
text: ((
|
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",
|
83
83
|
value: "6"
|
84
84
|
}, {
|
85
|
-
text: ((
|
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",
|
86
86
|
value: "12"
|
87
87
|
}];
|
88
88
|
const DATE_FORMAT_OPTIONS = [{
|
89
|
-
text: ((
|
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",
|
90
90
|
value: "yyyy-MM-dd HH:mm:ss"
|
91
91
|
}, {
|
92
|
-
text: ((
|
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",
|
93
93
|
value: "yyyy-MM-dd HH:mm"
|
94
94
|
}, {
|
95
|
-
text: ((
|
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",
|
96
96
|
value: "yyyy-MM-dd"
|
97
97
|
}, {
|
98
|
-
text: ((
|
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",
|
99
99
|
value: "yyyy-MM"
|
100
100
|
}, {
|
101
101
|
text: "\u6708-\u65E5 \u65F6-\u5206",
|
102
102
|
value: "MM-dd HH:mm"
|
103
103
|
}, {
|
104
|
-
text: ((
|
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",
|
105
105
|
value: "MM-dd"
|
106
106
|
}, {
|
107
|
-
text: ((
|
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",
|
108
108
|
value: "HH:mm:ss"
|
109
109
|
}, {
|
110
|
-
text: ((
|
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",
|
111
111
|
value: "HH:mm"
|
112
112
|
}];
|
113
113
|
const DATE_FORMAT_FIELD = {
|
114
|
-
alias: ((
|
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",
|
115
115
|
val_key: "date_format",
|
116
116
|
html_type: "SELECT",
|
117
117
|
is_null: "0",
|
@@ -139,7 +139,7 @@ const OPTION_FIELD = {
|
|
139
139
|
is_null: "0"
|
140
140
|
}, {
|
141
141
|
elem_width: 6,
|
142
|
-
alias: ((
|
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",
|
143
143
|
val_key: "value",
|
144
144
|
html_type: "INPUT",
|
145
145
|
is_null: "0"
|
@@ -155,22 +155,22 @@ const DEFAULT_FIELD_LIST = [{
|
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}, {
|
158
|
-
alias: ((
|
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",
|
159
159
|
val_key: "key",
|
160
160
|
html_type: "INPUT",
|
161
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"
|
162
162
|
}, {
|
163
|
-
alias: ((
|
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",
|
164
164
|
val_key: "is_null",
|
165
165
|
html_type: "SWITCH",
|
166
166
|
...SWITCH_OPTION
|
167
167
|
}, {
|
168
|
-
alias: ((
|
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",
|
169
169
|
val_key: "name",
|
170
170
|
html_type: "INPUT",
|
171
171
|
default_val: ""
|
172
172
|
}, {
|
173
|
-
alias: ((
|
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",
|
174
174
|
val_key: "html_type",
|
175
175
|
html_type: "SELECT",
|
176
176
|
option: HTML_TYPE_OPTIONS,
|
@@ -180,12 +180,12 @@ const DEFAULT_FIELD_LIST = [{
|
|
180
180
|
val_key: "default_val",
|
181
181
|
html_type: "INPUT"
|
182
182
|
}, {
|
183
|
-
alias: ((
|
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",
|
184
184
|
val_key: "remark",
|
185
185
|
html_type: "INPUT",
|
186
186
|
default_val: ""
|
187
187
|
}, {
|
188
|
-
alias: ((
|
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",
|
189
189
|
val_key: "elem_width",
|
190
190
|
html_type: "SELECT",
|
191
191
|
option: ELEMENT_WIDTH_OPTIONS
|