cnhis-design-vue 3.1.31-beta.0 → 3.1.31-beta.10
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/big-table/index.js +1 -1
- package/es/components/big-table/src/{BigTable.js → BigTable.vue.js} +1 -1
- package/es/components/big-table/src/{BigTable.vue_vue_type_script_setup_true_lang.js → BigTable.vue2.js} +6 -6
- package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js} +4 -4
- package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js} +1 -1
- package/es/components/big-table/src/components/{input-button.js → input-button.vue.js} +0 -0
- package/es/components/big-table/src/components/{separate.js → separate.vue.js} +0 -0
- package/es/components/big-table/src/hooks/useEdit.js +1 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/bpmn-workflow/index.js +1 -1
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +0 -0
- package/es/components/button-print/index.d.ts +76 -79
- package/es/components/button-print/index.js +2 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +76 -79
- package/es/components/button-print/src/{ButtonPrint.js → ButtonPrint.vue.js} +1 -1
- package/es/components/button-print/src/{ButtonPrint.vue_vue_type_script_setup_true_lang.js → ButtonPrint.vue2.js} +47 -85
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +61 -54
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +76 -64
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +22 -10
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/components/Preview.vue.js +6 -0
- package/es/components/button-print/src/components/Preview.vue2.js +67 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +2 -1
- package/es/components/button-print/src/utils/browserPrint.js +6 -3
- package/es/components/button-print/src/utils/dialog.d.ts +6 -2
- package/es/components/button-print/src/utils/dialog.js +69 -25
- package/es/components/button-print/src/utils/index.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +7 -3
- package/es/components/button-print/src/utils/print.js +51 -4
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/drag-layout/index.js +1 -1
- package/es/components/drag-layout/src/{DragFormLeftItem.js → DragFormLeftItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragFormRightItem.js → DragFormRightItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragLayout.js → DragLayout.vue.js} +2 -2
- package/es/components/fabric-chart/index.js +1 -1
- package/es/components/fabric-chart/src/{FabricChart.js → FabricChart.vue.js} +1 -1
- package/es/components/fabric-chart/src/components/{PopupTip.js → PopupTip.vue.js} +0 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +0 -1
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/{FieldSet.js → FieldSet.vue.js} +0 -0
- package/es/components/form-config/index.js +1 -1
- package/es/components/form-config/src/{FormConfig.js → FormConfig.vue.js} +3 -3
- package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigDragDisplay.js → FormConfigDragDisplay.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js} +0 -0
- package/es/components/form-config/src/components/index.js +6 -6
- package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js} +0 -0
- package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js} +2 -2
- package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js} +1 -1
- package/es/components/form-config/src/components/renderer/index.js +3 -3
- package/es/components/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/components/form-render/index.js +2 -2
- package/es/components/form-render/src/{FormRender.js → FormRender.vue.js} +0 -0
- package/es/components/form-render/src/{FormRenderWrapper.js → FormRenderWrapper.vue.js} +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +3 -5
- package/es/components/form-render/src/components/renderer/index.js +2 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/{FormCollapse.js → FormCollapse.vue.js} +0 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -1
- package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +131 -0
- package/es/components/form-render/src/components/renderer/recommendSelect.js +213 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +0 -1
- package/es/components/form-render/src/components/renderer/select.js +3 -5
- package/es/components/form-render/src/hooks/useAsyncQueue.js +2 -1
- package/es/components/form-render/src/hooks/useAutographOptions.js +5 -7
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +3 -2
- package/es/components/form-render/src/hooks/useBusinessBinding.js +20 -17
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +7 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +8 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +24 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +27 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +160 -102
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +160 -102
- package/es/components/iho-table/src/{IhoTable.js → IhoTable.vue.js} +2 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +14 -11
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +5 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +64 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +17 -9
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -3
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +3 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/{filter.js → filter.vue.js} +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +14 -12
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +32 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/{editDate.js → editDate.vue.js} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +10 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +11 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +17 -24
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +11 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{editSeparate.js → editSeparate.vue.js} +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +9 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +13 -17
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -1
- package/es/components/iho-table/src/utils/index.d.ts +12 -2
- package/es/components/iho-table/src/utils/index.js +33 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +6 -3
- package/es/components/info-header/index.js +1 -1
- package/es/components/info-header/src/{HiddenContent.js → HiddenContent.vue.js} +1 -1
- package/es/components/info-header/src/{InfoEllipsis.js → InfoEllipsis.vue.js} +0 -0
- package/es/components/info-header/src/{InfoHeader.js → InfoHeader.vue.js} +2 -2
- package/es/components/keyboard/index.d.ts +146 -78
- package/es/components/keyboard/index.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +155 -78
- package/es/components/keyboard/src/Keyboard.vue.js +149 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +6 -4
- package/es/components/keyboard/src/components/{InputNumber.js → InputNumber.vue.js} +0 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +118 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +206 -0
- package/es/components/map/index.js +1 -1
- package/es/components/map/src/{Map.js → Map.vue.js} +0 -0
- package/es/components/recommend-search/index.d.ts +813 -0
- package/es/components/recommend-search/index.js +10 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +62 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +119 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +148 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +303 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +103 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +104 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +350 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +156 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/constant/index.js +7 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/recommend-search/src/types/index.js +1 -0
- package/es/components/recommend-search/style/index.css +1 -0
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/{ScaleView.js → ScaleView.vue.js} +5 -5
- package/es/components/scale-view/src/components/{AnswerParse.js → AnswerParse.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluateCountdown.js → EvaluateCountdown.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluatePage.js → EvaluatePage.vue.js} +0 -0
- package/es/components/scale-view/src/components/{LoadingCom.js → LoadingCom.vue.js} +0 -0
- package/es/components/{big-table/src/components/NoData.js → scale-view/src/components/NoData.vue.js} +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.js +1 -1
- package/es/components/search-cascader/index.js +1 -1
- package/es/components/search-cascader/src/{SearchCascader.js → SearchCascader.vue.js} +0 -0
- package/es/components/search-cascader/src/components/SearchMenu.js +3 -3
- package/es/components/select-label/index.js +2 -2
- package/es/components/select-label/src/{LabelFormContent.js → LabelFormContent.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.js → SelectLabel.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.vue_vue_type_script_setup_true_lang.js → SelectLabel.vue2.js} +2 -2
- package/es/components/select-label/src/components/{label-classify.js → label-classify.vue.js} +0 -0
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/{SelectPerson.js → SelectPerson.vue.js} +1 -1
- package/es/components/select-person/src/{SelectPerson.vue_vue_type_script_setup_true_lang.js → SelectPerson.vue2.js} +0 -0
- package/es/components/shortcut-provider/index.js +1 -1
- package/es/components/shortcut-provider/src/{ShortcutProvider.js → ShortcutProvider.vue.js} +0 -0
- package/es/components/shortcut-setter/index.js +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetter.js → ShortcutSetter.vue.js} +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetterItem.js → ShortcutSetterItem.vue.js} +0 -0
- package/es/components/steps-wheel/index.d.ts +3 -0
- package/es/components/steps-wheel/index.js +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +3 -0
- package/es/components/steps-wheel/src/{StepsWheel.js → StepsWheel.vue.js} +38 -9
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -1
- package/es/components/time-line/src/{TimeLine.js → TimeLine.vue.js} +0 -0
- package/es/components/vod-chunk-upload/index.js +1 -1
- package/es/components/vod-chunk-upload/src/{chunk-upload-new.js → chunk-upload-new.vue.js} +0 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/{vod-chunk-upload.js → vod-chunk-upload.vue.js} +3 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/shared/assets/img/failure.js +1 -3
- package/es/shared/assets/img/failure.png.js +3 -0
- package/es/shared/assets/img/no-permission.js +1 -3
- package/es/shared/assets/img/no-permission.png.js +3 -0
- package/es/shared/assets/img/nodata.js +1 -3
- package/es/shared/assets/img/nodata.png.js +3 -0
- package/es/shared/assets/img/notfound.js +1 -3
- package/es/shared/assets/img/notfound.png.js +3 -0
- package/es/shared/assets/img/qr.js +1 -3
- package/es/shared/assets/img/qr.png.js +3 -0
- package/es/shared/assets/img/success.js +1 -3
- package/es/shared/assets/img/success.png.js +3 -0
- package/es/shared/assets/img/video.js +1 -3
- package/es/shared/assets/img/video.png.js +3 -0
- package/es/shared/assets/img/video_default_cover.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +3 -0
- package/es/shared/assets/img/xb_big.js +1 -3
- package/es/shared/assets/img/xb_big.png.js +3 -0
- package/es/shared/assets/img/xb_small.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +3 -0
- package/es/shared/components/SelectPage/{SelectPage.js → SelectPage.vue.js} +0 -0
- package/es/shared/components/SelectPage/index.js +2 -2
- package/es/shared/components/SvgIcon/{SvgIcon.js → SvgIcon.vue.js} +0 -0
- package/es/shared/components/SvgIcon/index.js +2 -2
- package/es/shared/components/TextOverTooltip/{TextOverTooltip.js → TextOverTooltip.vue.js} +0 -0
- package/es/shared/components/TextOverTooltip/index.js +2 -2
- package/es/shared/components/no-data/{NoData.js → NoData.vue.js} +4 -4
- package/es/shared/components/no-data/index.js +2 -2
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +3 -3
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -142
- package/es/components/fabric-chart/index.d.ts +0 -207
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +0 -208
- package/es/components/keyboard/src/Keyboard.js +0 -285
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createVNode, createElementBlock, Fragment, renderList, createElementVNode, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { useMessage, NForm, NFormItem, NSpace, NUpload, NUploadDragger, NIcon, NText, NP } from 'naive-ui';
|
|
3
|
-
import { Archive } from '@vicons/ionicons5';
|
|
4
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.js';
|
|
5
|
-
|
|
6
|
-
const _hoisted_1 = { style: { "margin-bottom": "12px" } };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "edit",
|
|
9
|
-
props: {
|
|
10
|
-
saveIReportFormat: { type: Function, default: () => Promise.resolve() }
|
|
11
|
-
},
|
|
12
|
-
setup(__props, { expose }) {
|
|
13
|
-
const props = __props;
|
|
14
|
-
const $message = useMessage();
|
|
15
|
-
const fileList = ref([
|
|
16
|
-
{
|
|
17
|
-
key: "jrxml",
|
|
18
|
-
value: []
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
key: "jasper",
|
|
22
|
-
value: []
|
|
23
|
-
}
|
|
24
|
-
]);
|
|
25
|
-
function submit(token) {
|
|
26
|
-
return new Promise((resolve, reject) => {
|
|
27
|
-
var _a, _b, _c, _d;
|
|
28
|
-
const isOk = fileList.value.every((file) => file.value.length > 0);
|
|
29
|
-
if (!isOk) {
|
|
30
|
-
$message.warning("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6");
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
const params = {
|
|
34
|
-
jrxml: (_b = (_a = fileList.value.find((file) => file.key === "jrxml")) == null ? void 0 : _a.value) == null ? void 0 : _b[0],
|
|
35
|
-
jasper: (_d = (_c = fileList.value.find((file) => file.key === "jasper")) == null ? void 0 : _c.value) == null ? void 0 : _d[0],
|
|
36
|
-
authorizationKey: token
|
|
37
|
-
};
|
|
38
|
-
props.saveIReportFormat(params).then((data = {}) => {
|
|
39
|
-
if ((data == null ? void 0 : data.result) !== "SUCCESS") {
|
|
40
|
-
$message.error((data == null ? void 0 : data.resultMsg) || "\u4E0A\u4F20\u6587\u4EF6\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\uFF01");
|
|
41
|
-
reject();
|
|
42
|
-
} else {
|
|
43
|
-
resolve("SUCCESS");
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function onChange(data, index) {
|
|
49
|
-
fileList.value[index].value = data.fileList;
|
|
50
|
-
}
|
|
51
|
-
async function onBeforeUpload(data) {
|
|
52
|
-
if (!validateFormat(data.file, ".jrxml,.jasper")) {
|
|
53
|
-
$message.warning("\u53EA\u80FD\u4E0A\u4F20.jrxml\u6216\u8005.jasper\u683C\u5F0F\u7684\u6587\u4EF6\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20");
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
function validateFormat(file, format) {
|
|
59
|
-
let res = false;
|
|
60
|
-
if (!format || format.includes("*")) {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
let list = format.split(",");
|
|
64
|
-
if (!list.length) {
|
|
65
|
-
return true;
|
|
66
|
-
}
|
|
67
|
-
let rExt = /\.([^.]+)$/;
|
|
68
|
-
let ext = rExt.exec(file.name) ? RegExp.$1.toLowerCase() : "";
|
|
69
|
-
res = format.includes(ext);
|
|
70
|
-
return res;
|
|
71
|
-
}
|
|
72
|
-
expose({
|
|
73
|
-
submit
|
|
74
|
-
});
|
|
75
|
-
return (_ctx, _cache) => {
|
|
76
|
-
return openBlock(), createBlock(unref(NForm), {
|
|
77
|
-
"label-placement": "left",
|
|
78
|
-
"label-width": 75
|
|
79
|
-
}, {
|
|
80
|
-
default: withCtx(() => [
|
|
81
|
-
createVNode(unref(NFormItem), {
|
|
82
|
-
label: "\u683C\u5F0F\u6587\u4EF6:",
|
|
83
|
-
path: "file"
|
|
84
|
-
}, {
|
|
85
|
-
default: withCtx(() => [
|
|
86
|
-
createVNode(unref(NSpace), { vertical: "" }, {
|
|
87
|
-
default: withCtx(() => [
|
|
88
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(fileList.value, (file, index) => {
|
|
89
|
-
return openBlock(), createBlock(unref(NUpload), {
|
|
90
|
-
"directory-dnd": "",
|
|
91
|
-
max: 1,
|
|
92
|
-
key: file.key,
|
|
93
|
-
onBeforeUpload,
|
|
94
|
-
onChange: (data) => onChange(data, index)
|
|
95
|
-
}, {
|
|
96
|
-
default: withCtx(() => [
|
|
97
|
-
createVNode(unref(NUploadDragger), null, {
|
|
98
|
-
default: withCtx(() => [
|
|
99
|
-
createElementVNode("div", _hoisted_1, [
|
|
100
|
-
createVNode(unref(NIcon), {
|
|
101
|
-
size: "36",
|
|
102
|
-
depth: 3,
|
|
103
|
-
component: unref(Archive)
|
|
104
|
-
}, null, 8, ["component"])
|
|
105
|
-
]),
|
|
106
|
-
createVNode(unref(NText), { style: { "font-size": "14px" } }, {
|
|
107
|
-
default: withCtx(() => [
|
|
108
|
-
createTextVNode("\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20")
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}),
|
|
112
|
-
createVNode(unref(NP), {
|
|
113
|
-
depth: "3",
|
|
114
|
-
style: { "margin": "5px 0 0 0" }
|
|
115
|
-
}, {
|
|
116
|
-
default: withCtx(() => [
|
|
117
|
-
createTextVNode("xxxxxx." + toDisplayString(file.key), 1)
|
|
118
|
-
]),
|
|
119
|
-
_: 2
|
|
120
|
-
}, 1024)
|
|
121
|
-
]),
|
|
122
|
-
_: 2
|
|
123
|
-
}, 1024)
|
|
124
|
-
]),
|
|
125
|
-
_: 2
|
|
126
|
-
}, 1032, ["onChange"]);
|
|
127
|
-
}), 128))
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
})
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
})
|
|
134
|
-
]),
|
|
135
|
-
_: 1
|
|
136
|
-
});
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
var EditForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "edit.vue"]]);
|
|
141
|
-
|
|
142
|
-
export { EditForm as default };
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
-
declare const FabricChart: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: null;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
addRenderItem: {
|
|
8
|
-
type: FunctionConstructor;
|
|
9
|
-
required: false;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
defaultHeight: number;
|
|
13
|
-
props: {
|
|
14
|
-
data: import("./src/interface").IData;
|
|
15
|
-
addRenderItem?: Function | undefined;
|
|
16
|
-
};
|
|
17
|
-
emits: (event: "change" | "add" | "select", ...args: any[]) => void;
|
|
18
|
-
select: import("vue").Ref<any>;
|
|
19
|
-
canvasRef: any;
|
|
20
|
-
canvas: import("vue").Ref<any>;
|
|
21
|
-
dateHeight: import("vue").ComputedRef<number>;
|
|
22
|
-
hospitalDaysHeight: import("vue").ComputedRef<number>;
|
|
23
|
-
operationDaysHeight: import("vue").ComputedRef<number>;
|
|
24
|
-
xScalevalueHeight: import("vue").ComputedRef<number>;
|
|
25
|
-
breathingHeight: import("vue").ComputedRef<any>;
|
|
26
|
-
gridXNumber: import("vue").ComputedRef<number>;
|
|
27
|
-
gridYNumber: import("vue").ComputedRef<number>;
|
|
28
|
-
endX: import("vue").ComputedRef<number>;
|
|
29
|
-
endXLimit: import("vue").ComputedRef<number>;
|
|
30
|
-
originX: import("vue").ComputedRef<any>;
|
|
31
|
-
endY: import("vue").ComputedRef<number>;
|
|
32
|
-
originY: import("vue").ComputedRef<number>;
|
|
33
|
-
originYLimit: import("vue").ComputedRef<number>;
|
|
34
|
-
xCellWidth: import("vue").ComputedRef<number>;
|
|
35
|
-
yCellHeight: import("vue").ComputedRef<number>;
|
|
36
|
-
iconsWidth: import("vue").ComputedRef<any>;
|
|
37
|
-
xScaleList: import("vue").ComputedRef<any[]>;
|
|
38
|
-
breatheYCell: import("vue").ComputedRef<number>;
|
|
39
|
-
pulseYCell: import("vue").ComputedRef<number>;
|
|
40
|
-
temperatureYCell: import("vue").ComputedRef<number>;
|
|
41
|
-
painYCell: import("vue").ComputedRef<number>;
|
|
42
|
-
event: import("vue").ComputedRef<any>;
|
|
43
|
-
itemList: import("vue").ComputedRef<any[]>;
|
|
44
|
-
painIndex: import("vue").ComputedRef<number>;
|
|
45
|
-
painHeight: import("vue").ComputedRef<number>;
|
|
46
|
-
painOriginY: import("vue").ComputedRef<{
|
|
47
|
-
originY: number;
|
|
48
|
-
endY: number;
|
|
49
|
-
}>;
|
|
50
|
-
vitalSignsOriginY: import("vue").ComputedRef<{
|
|
51
|
-
originY: number;
|
|
52
|
-
endY: number;
|
|
53
|
-
}>;
|
|
54
|
-
topList: import("vue").ComputedRef<import("./src/interface").IDate[]>;
|
|
55
|
-
getRightInfo: import("vue").ComputedRef<any>;
|
|
56
|
-
propItems: any;
|
|
57
|
-
computedYCell: (type: import("./src/interface").IPointType) => number;
|
|
58
|
-
cumputedX: (value: string | number, setAllCenter?: boolean) => any;
|
|
59
|
-
cumputedY: (type: import("./src/interface").IPointType, scaleValueList: number[], value: string | number) => number;
|
|
60
|
-
getXValue: (pointX: number) => string | undefined;
|
|
61
|
-
getYValue: (type: import("./src/interface").IPointType, pointY: number) => number;
|
|
62
|
-
pointTipProps: {
|
|
63
|
-
show: boolean;
|
|
64
|
-
point: {
|
|
65
|
-
x: number;
|
|
66
|
-
y: number;
|
|
67
|
-
};
|
|
68
|
-
list: string[];
|
|
69
|
-
};
|
|
70
|
-
pointMenuProps: {
|
|
71
|
-
show: boolean;
|
|
72
|
-
point: {
|
|
73
|
-
x: number;
|
|
74
|
-
y: number;
|
|
75
|
-
};
|
|
76
|
-
list: any[];
|
|
77
|
-
target: any;
|
|
78
|
-
};
|
|
79
|
-
clickMenu: ({ item, target }: {
|
|
80
|
-
item: any;
|
|
81
|
-
target: any;
|
|
82
|
-
}) => void;
|
|
83
|
-
setPopup: (point: any) => void;
|
|
84
|
-
getEqualXTypes: (pointX: number) => import("./src/interface").IPointType[];
|
|
85
|
-
isAddPoint: (x: number) => boolean;
|
|
86
|
-
updateData: (params: any, mode?: string) => void;
|
|
87
|
-
redrawPoints: () => void;
|
|
88
|
-
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
89
|
-
PopupTip: import("vue").DefineComponent<{
|
|
90
|
-
show: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
required: true;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
point: {
|
|
96
|
-
type: null;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
list: {
|
|
100
|
-
type: ArrayConstructor;
|
|
101
|
-
required: false;
|
|
102
|
-
default: () => never[];
|
|
103
|
-
};
|
|
104
|
-
propItems: {
|
|
105
|
-
type: null;
|
|
106
|
-
required: true;
|
|
107
|
-
};
|
|
108
|
-
}, {
|
|
109
|
-
props: {
|
|
110
|
-
show: boolean;
|
|
111
|
-
point: import("./src/interface").ICoordinateValue;
|
|
112
|
-
list: string[];
|
|
113
|
-
propItems: import("./src/interface").IPropItems;
|
|
114
|
-
};
|
|
115
|
-
pointStyle: import("vue").ComputedRef<{
|
|
116
|
-
top: string;
|
|
117
|
-
bottom: string;
|
|
118
|
-
left: string;
|
|
119
|
-
right: string;
|
|
120
|
-
'transform-origin': string;
|
|
121
|
-
}>;
|
|
122
|
-
Teleport: {
|
|
123
|
-
new (): {
|
|
124
|
-
$props: import("vue").VNodeProps & import("vue").TeleportProps;
|
|
125
|
-
};
|
|
126
|
-
__isTeleport: true;
|
|
127
|
-
};
|
|
128
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
show: {
|
|
130
|
-
type: BooleanConstructor;
|
|
131
|
-
required: true;
|
|
132
|
-
default: boolean;
|
|
133
|
-
};
|
|
134
|
-
point: {
|
|
135
|
-
type: null;
|
|
136
|
-
required: true;
|
|
137
|
-
};
|
|
138
|
-
list: {
|
|
139
|
-
type: ArrayConstructor;
|
|
140
|
-
required: false;
|
|
141
|
-
default: () => never[];
|
|
142
|
-
};
|
|
143
|
-
propItems: {
|
|
144
|
-
type: null;
|
|
145
|
-
required: true;
|
|
146
|
-
};
|
|
147
|
-
}>>, {
|
|
148
|
-
list: unknown[];
|
|
149
|
-
}>;
|
|
150
|
-
PopupMenu: import("vue").DefineComponent<{
|
|
151
|
-
show: {
|
|
152
|
-
type: BooleanConstructor;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
list: {
|
|
156
|
-
type: ArrayConstructor;
|
|
157
|
-
default: () => never[];
|
|
158
|
-
};
|
|
159
|
-
point: {
|
|
160
|
-
type: import("vue").PropType<import("./src/interface").ICoordinateValue>;
|
|
161
|
-
};
|
|
162
|
-
propItems: {
|
|
163
|
-
type: import("vue").PropType<import("./src/interface").IPropItems>;
|
|
164
|
-
};
|
|
165
|
-
target: {
|
|
166
|
-
type: import("vue").PropType<any>;
|
|
167
|
-
};
|
|
168
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "clickMenu")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
-
show: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
list: {
|
|
174
|
-
type: ArrayConstructor;
|
|
175
|
-
default: () => never[];
|
|
176
|
-
};
|
|
177
|
-
point: {
|
|
178
|
-
type: import("vue").PropType<import("./src/interface").ICoordinateValue>;
|
|
179
|
-
};
|
|
180
|
-
propItems: {
|
|
181
|
-
type: import("vue").PropType<import("./src/interface").IPropItems>;
|
|
182
|
-
};
|
|
183
|
-
target: {
|
|
184
|
-
type: import("vue").PropType<any>;
|
|
185
|
-
};
|
|
186
|
-
}>> & {
|
|
187
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
show: boolean;
|
|
191
|
-
list: unknown[];
|
|
192
|
-
}>;
|
|
193
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "add" | "select")[], "change" | "add" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
194
|
-
data: {
|
|
195
|
-
type: null;
|
|
196
|
-
required: true;
|
|
197
|
-
};
|
|
198
|
-
addRenderItem: {
|
|
199
|
-
type: FunctionConstructor;
|
|
200
|
-
required: false;
|
|
201
|
-
};
|
|
202
|
-
}>> & {
|
|
203
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
}, {}>>;
|
|
207
|
-
export default FabricChart;
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { IData, IDate, IPointType } from './interface';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
data: {
|
|
5
|
-
type: null;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
addRenderItem: {
|
|
9
|
-
type: FunctionConstructor;
|
|
10
|
-
required: false;
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
defaultHeight: number;
|
|
14
|
-
props: {
|
|
15
|
-
data: IData;
|
|
16
|
-
addRenderItem?: Function | undefined;
|
|
17
|
-
};
|
|
18
|
-
emits: (event: "change" | "add" | "select", ...args: any[]) => void;
|
|
19
|
-
select: import("vue").Ref<any>;
|
|
20
|
-
canvasRef: any;
|
|
21
|
-
canvas: import("vue").Ref<any>;
|
|
22
|
-
dateHeight: import("vue").ComputedRef<number>;
|
|
23
|
-
hospitalDaysHeight: import("vue").ComputedRef<number>;
|
|
24
|
-
operationDaysHeight: import("vue").ComputedRef<number>;
|
|
25
|
-
xScalevalueHeight: import("vue").ComputedRef<number>;
|
|
26
|
-
breathingHeight: import("vue").ComputedRef<any>;
|
|
27
|
-
gridXNumber: import("vue").ComputedRef<number>;
|
|
28
|
-
gridYNumber: import("vue").ComputedRef<number>;
|
|
29
|
-
endX: import("vue").ComputedRef<number>;
|
|
30
|
-
endXLimit: import("vue").ComputedRef<number>;
|
|
31
|
-
originX: import("vue").ComputedRef<any>;
|
|
32
|
-
endY: import("vue").ComputedRef<number>;
|
|
33
|
-
originY: import("vue").ComputedRef<number>;
|
|
34
|
-
originYLimit: import("vue").ComputedRef<number>;
|
|
35
|
-
xCellWidth: import("vue").ComputedRef<number>;
|
|
36
|
-
yCellHeight: import("vue").ComputedRef<number>;
|
|
37
|
-
iconsWidth: import("vue").ComputedRef<any>;
|
|
38
|
-
xScaleList: import("vue").ComputedRef<any[]>;
|
|
39
|
-
breatheYCell: import("vue").ComputedRef<number>;
|
|
40
|
-
pulseYCell: import("vue").ComputedRef<number>;
|
|
41
|
-
temperatureYCell: import("vue").ComputedRef<number>;
|
|
42
|
-
painYCell: import("vue").ComputedRef<number>;
|
|
43
|
-
event: import("vue").ComputedRef<any>;
|
|
44
|
-
itemList: import("vue").ComputedRef<any[]>;
|
|
45
|
-
painIndex: import("vue").ComputedRef<number>;
|
|
46
|
-
painHeight: import("vue").ComputedRef<number>;
|
|
47
|
-
painOriginY: import("vue").ComputedRef<{
|
|
48
|
-
originY: number;
|
|
49
|
-
endY: number;
|
|
50
|
-
}>;
|
|
51
|
-
vitalSignsOriginY: import("vue").ComputedRef<{
|
|
52
|
-
originY: number;
|
|
53
|
-
endY: number;
|
|
54
|
-
}>;
|
|
55
|
-
topList: import("vue").ComputedRef<IDate[]>;
|
|
56
|
-
getRightInfo: import("vue").ComputedRef<any>;
|
|
57
|
-
propItems: any;
|
|
58
|
-
computedYCell: (type: IPointType) => number;
|
|
59
|
-
cumputedX: (value: string | number, setAllCenter?: boolean) => any;
|
|
60
|
-
cumputedY: (type: IPointType, scaleValueList: number[], value: string | number) => number;
|
|
61
|
-
getXValue: (pointX: number) => string | undefined;
|
|
62
|
-
getYValue: (type: IPointType, pointY: number) => number;
|
|
63
|
-
pointTipProps: {
|
|
64
|
-
show: boolean;
|
|
65
|
-
point: {
|
|
66
|
-
x: number;
|
|
67
|
-
y: number;
|
|
68
|
-
};
|
|
69
|
-
list: string[];
|
|
70
|
-
};
|
|
71
|
-
pointMenuProps: {
|
|
72
|
-
show: boolean;
|
|
73
|
-
point: {
|
|
74
|
-
x: number;
|
|
75
|
-
y: number;
|
|
76
|
-
};
|
|
77
|
-
list: any[];
|
|
78
|
-
target: any;
|
|
79
|
-
};
|
|
80
|
-
clickMenu: ({ item, target }: {
|
|
81
|
-
item: any;
|
|
82
|
-
target: any;
|
|
83
|
-
}) => void;
|
|
84
|
-
setPopup: (point: any) => void;
|
|
85
|
-
getEqualXTypes: (pointX: number) => IPointType[];
|
|
86
|
-
isAddPoint: (x: number) => boolean;
|
|
87
|
-
updateData: (params: any, mode?: string) => void;
|
|
88
|
-
redrawPoints: () => void;
|
|
89
|
-
drawScaleValue: (yScaleValueList: any[]) => void;
|
|
90
|
-
PopupTip: import("vue").DefineComponent<{
|
|
91
|
-
show: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
required: true;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
point: {
|
|
97
|
-
type: null;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
list: {
|
|
101
|
-
type: ArrayConstructor;
|
|
102
|
-
required: false;
|
|
103
|
-
default: () => never[];
|
|
104
|
-
};
|
|
105
|
-
propItems: {
|
|
106
|
-
type: null;
|
|
107
|
-
required: true;
|
|
108
|
-
};
|
|
109
|
-
}, {
|
|
110
|
-
props: {
|
|
111
|
-
show: boolean;
|
|
112
|
-
point: import("./interface").ICoordinateValue;
|
|
113
|
-
list: string[];
|
|
114
|
-
propItems: import("./interface").IPropItems;
|
|
115
|
-
};
|
|
116
|
-
pointStyle: import("vue").ComputedRef<{
|
|
117
|
-
top: string;
|
|
118
|
-
bottom: string;
|
|
119
|
-
left: string;
|
|
120
|
-
right: string;
|
|
121
|
-
'transform-origin': string;
|
|
122
|
-
}>;
|
|
123
|
-
Teleport: {
|
|
124
|
-
new (): {
|
|
125
|
-
$props: import("vue").VNodeProps & import("vue").TeleportProps;
|
|
126
|
-
};
|
|
127
|
-
__isTeleport: true;
|
|
128
|
-
};
|
|
129
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
-
show: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
required: true;
|
|
133
|
-
default: boolean;
|
|
134
|
-
};
|
|
135
|
-
point: {
|
|
136
|
-
type: null;
|
|
137
|
-
required: true;
|
|
138
|
-
};
|
|
139
|
-
list: {
|
|
140
|
-
type: ArrayConstructor;
|
|
141
|
-
required: false;
|
|
142
|
-
default: () => never[];
|
|
143
|
-
};
|
|
144
|
-
propItems: {
|
|
145
|
-
type: null;
|
|
146
|
-
required: true;
|
|
147
|
-
};
|
|
148
|
-
}>>, {
|
|
149
|
-
list: unknown[];
|
|
150
|
-
}>;
|
|
151
|
-
PopupMenu: import("vue").DefineComponent<{
|
|
152
|
-
show: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
list: {
|
|
157
|
-
type: ArrayConstructor;
|
|
158
|
-
default: () => never[];
|
|
159
|
-
};
|
|
160
|
-
point: {
|
|
161
|
-
type: PropType<import("./interface").ICoordinateValue>;
|
|
162
|
-
};
|
|
163
|
-
propItems: {
|
|
164
|
-
type: PropType<import("./interface").IPropItems>;
|
|
165
|
-
};
|
|
166
|
-
target: {
|
|
167
|
-
type: PropType<any>;
|
|
168
|
-
};
|
|
169
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "clickMenu")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
-
show: {
|
|
171
|
-
type: BooleanConstructor;
|
|
172
|
-
default: boolean;
|
|
173
|
-
};
|
|
174
|
-
list: {
|
|
175
|
-
type: ArrayConstructor;
|
|
176
|
-
default: () => never[];
|
|
177
|
-
};
|
|
178
|
-
point: {
|
|
179
|
-
type: PropType<import("./interface").ICoordinateValue>;
|
|
180
|
-
};
|
|
181
|
-
propItems: {
|
|
182
|
-
type: PropType<import("./interface").IPropItems>;
|
|
183
|
-
};
|
|
184
|
-
target: {
|
|
185
|
-
type: PropType<any>;
|
|
186
|
-
};
|
|
187
|
-
}>> & {
|
|
188
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
onClickMenu?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
show: boolean;
|
|
192
|
-
list: unknown[];
|
|
193
|
-
}>;
|
|
194
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "add" | "select")[], "change" | "add" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
-
data: {
|
|
196
|
-
type: null;
|
|
197
|
-
required: true;
|
|
198
|
-
};
|
|
199
|
-
addRenderItem: {
|
|
200
|
-
type: FunctionConstructor;
|
|
201
|
-
required: false;
|
|
202
|
-
};
|
|
203
|
-
}>> & {
|
|
204
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
207
|
-
}, {}>;
|
|
208
|
-
export default _default;
|