cnhis-design-vue 3.1.14-beta.11.1 → 3.1.14-beta.13
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/_virtual/plugin-vue_export-helper.js +9 -0
- package/es/packages/big-table/index.js +1 -2
- package/es/packages/big-table/src/BigTable.js +5 -3
- package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +8 -11
- package/es/packages/big-table/src/components/NoData.js +73 -3
- package/es/packages/big-table/src/components/edit-form/edit-separate.js +89 -3
- package/es/packages/big-table/src/components/input-button.js +34 -3
- package/es/packages/big-table/src/components/separate.js +29 -3
- package/es/packages/big-table/src/hooks/useEdit.js +2 -3
- package/es/packages/bpmn-workflow/index.js +1 -2
- package/es/packages/bpmn-workflow/src/BpmnWorkflow.js +253 -3
- package/es/packages/button-print/index.js +1 -2
- package/es/packages/button-print/src/ButtonPrint.js +5 -3
- package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +6 -7
- package/es/packages/button-print/src/components/IdentityVerification.js +129 -3
- package/es/packages/chunk-upload/index.js +1 -1
- package/es/packages/chunk-upload/src/chunk-upload-new.js +474 -3
- package/es/packages/chunk-upload/src/vod-chunk-upload/index.js +2 -3
- package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.js +328 -3
- package/es/packages/chunk-upload/src/vod-upload-modal.js +3 -4
- package/es/packages/drag-layout/index.js +1 -2
- package/es/packages/drag-layout/src/DragFormLeftItem.js +123 -3
- package/es/packages/drag-layout/src/DragFormRightItem.js +268 -3
- package/es/packages/drag-layout/src/DragLayout.js +658 -3
- package/es/packages/fabric-chart/index.js +1 -2
- package/es/packages/fabric-chart/src/FabricChart.js +316 -3
- package/es/packages/fabric-chart/src/components/PopupTip.js +33 -3
- package/es/packages/field-set/index.js +1 -2
- package/es/packages/field-set/src/FieldSet.js +346 -3
- package/es/packages/form-render/index.d.ts +0 -1
- package/es/packages/form-render/index.js +2 -3
- package/es/packages/form-render/src/FormRender.js +188 -3
- package/es/packages/form-render/src/FormRender.vue.d.ts +0 -1
- package/es/packages/form-render/src/components/renderer/combination.js +2 -3
- package/es/packages/form-table/index.js +1 -2
- package/es/packages/form-table/src/FormTable.js +475 -3
- package/es/packages/form-table/src/components/index.js +28 -42
- package/es/packages/form-table/src/components/table-age.js +232 -3
- package/es/packages/form-table/src/components/table-date-picker.js +176 -3
- package/es/packages/form-table/src/components/table-digital.js +138 -3
- package/es/packages/form-table/src/components/table-input-password.js +138 -3
- package/es/packages/form-table/src/components/table-input.js +124 -3
- package/es/packages/form-table/src/components/table-month-picker.js +100 -3
- package/es/packages/form-table/src/components/table-search-more.js +5 -3
- package/es/packages/form-table/src/components/table-search-more.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/packages/form-table/src/components/table-search.js +5 -3
- package/es/packages/form-table/src/components/table-search.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/packages/form-table/src/components/table-select-multiple.js +161 -3
- package/es/packages/form-table/src/components/table-select.js +156 -3
- package/es/packages/form-table/src/components/table-textarea.js +154 -3
- package/es/packages/form-table/src/components/table-time-picker.js +146 -3
- package/es/packages/form-table/src/components/table-tree-select.js +282 -3
- package/es/packages/form-table/src/components/text-over-tooltip.js +63 -3
- package/es/packages/info-header/index.js +1 -2
- package/es/packages/info-header/src/HiddenContent.js +65 -3
- package/es/packages/info-header/src/InfoEllipsis.js +42 -3
- package/es/packages/info-header/src/InfoHeader.js +229 -3
- package/es/packages/map/index.js +1 -2
- package/es/packages/map/src/Map.js +337 -3
- package/es/packages/scale-view/index.js +1 -2
- package/es/packages/scale-view/src/ScaleView.js +418 -3
- package/es/packages/scale-view/src/components/AnswerParse.js +79 -3
- package/es/packages/scale-view/src/components/EvaluateCountdown.js +108 -3
- package/es/packages/scale-view/src/components/EvaluatePage.js +140 -3
- package/es/packages/scale-view/src/components/LoadingCom.js +17 -5
- package/es/packages/scale-view/src/components/NoData.js +73 -3
- package/es/packages/scale-view/src/components/formitem/r-cascader.js +3 -3
- package/es/packages/scale-view/src/components/formitem/r-select.js +3 -3
- package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.js +78 -3
- package/es/packages/select-label/index.js +3 -5
- package/es/packages/select-label/src/LabelFormContent.js +441 -3
- package/es/packages/select-label/src/SelectLabel.js +5 -3
- package/es/packages/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.js +5 -21
- package/es/packages/select-label/src/components/label-classify.js +128 -3
- package/es/packages/select-person/index.js +1 -2
- package/es/packages/select-person/src/SearchTree.js +5 -3
- package/es/packages/select-person/src/SearchTree.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/packages/select-person/src/SelectPerson.js +5 -3
- package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.js +4 -5
- package/es/packages/shortcut-provider/index.js +1 -2
- package/es/packages/shortcut-provider/src/ShortcutProvider.js +33 -3
- package/es/packages/shortcut-setter/index.js +1 -2
- package/es/packages/shortcut-setter/src/ShortcutSetter.js +38 -3
- package/es/packages/shortcut-setter/src/ShortcutSetterItem.js +126 -3
- package/es/packages/steps-wheel/index.js +1 -2
- package/es/packages/steps-wheel/src/StepsWheel.js +264 -3
- package/es/packages/time-line/index.js +1 -2
- package/es/packages/time-line/src/TimeLine.js +69 -3
- package/es/src/components/SelectPage/SelectPage.js +62 -3
- package/es/src/components/SelectPage/index.js +2 -3
- package/es/src/components/SvgIcon/SvgIcon.js +35 -3
- package/es/src/components/SvgIcon/index.js +2 -3
- package/es/src/components/TextOverTooltip/TextOverTooltip.js +75 -3
- package/es/src/components/TextOverTooltip/index.js +2 -3
- package/es/src/components/player-vod/index.js +13 -3
- package/package.json +153 -153
- package/es/packages/big-table/src/components/NoData.vue_vue_type_script_setup_true_lang.js +0 -72
- package/es/packages/big-table/src/components/edit-form/edit-separate.vue_vue_type_script_setup_true_lang.js +0 -89
- package/es/packages/big-table/src/components/input-button.vue_vue_type_script_setup_true_lang.js +0 -33
- package/es/packages/big-table/src/components/separate.vue_vue_type_script_setup_true_lang.js +0 -28
- package/es/packages/bpmn-workflow/src/BpmnWorkflow.vue_vue_type_script_setup_true_lang.js +0 -252
- package/es/packages/button-print/src/components/IdentityVerification.vue_vue_type_script_setup_true_lang.js +0 -128
- package/es/packages/chunk-upload/src/chunk-upload-new.vue_vue_type_script_setup_true_lang.js +0 -473
- package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue_vue_type_script_setup_true_lang.js +0 -327
- package/es/packages/drag-layout/src/DragFormLeftItem.vue_vue_type_script_setup_true_lang.js +0 -122
- package/es/packages/drag-layout/src/DragFormRightItem.vue_vue_type_script_setup_true_lang.js +0 -267
- package/es/packages/drag-layout/src/DragLayout.vue_vue_type_script_setup_true_lang.js +0 -659
- package/es/packages/fabric-chart/src/FabricChart.vue_vue_type_script_setup_true_lang.js +0 -316
- package/es/packages/fabric-chart/src/components/PopupTip.vue_vue_type_script_setup_true_lang.js +0 -32
- package/es/packages/field-set/src/FieldSet.vue_vue_type_script_setup_true_lang.js +0 -345
- package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.js +0 -187
- package/es/packages/form-table/src/FormTable.vue_vue_type_script_setup_true_lang.js +0 -474
- package/es/packages/form-table/src/components/table-age.vue_vue_type_script_setup_true_lang.js +0 -232
- package/es/packages/form-table/src/components/table-date-picker.vue_vue_type_script_setup_true_lang.js +0 -175
- package/es/packages/form-table/src/components/table-digital.vue_vue_type_script_setup_true_lang.js +0 -138
- package/es/packages/form-table/src/components/table-input-password.vue_vue_type_script_setup_true_lang.js +0 -138
- package/es/packages/form-table/src/components/table-input.vue_vue_type_script_setup_true_lang.js +0 -124
- package/es/packages/form-table/src/components/table-month-picker.vue_vue_type_script_setup_true_lang.js +0 -99
- package/es/packages/form-table/src/components/table-select-multiple.vue_vue_type_script_setup_true_lang.js +0 -160
- package/es/packages/form-table/src/components/table-select.vue_vue_type_script_setup_true_lang.js +0 -155
- package/es/packages/form-table/src/components/table-textarea.vue_vue_type_script_setup_true_lang.js +0 -153
- package/es/packages/form-table/src/components/table-time-picker.vue_vue_type_script_setup_true_lang.js +0 -145
- package/es/packages/form-table/src/components/table-tree-select.vue_vue_type_script_setup_true_lang.js +0 -281
- package/es/packages/form-table/src/components/text-over-tooltip.vue_vue_type_script_setup_true_lang.js +0 -62
- package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.js +0 -64
- package/es/packages/info-header/src/InfoEllipsis.vue_vue_type_script_setup_true_lang.js +0 -41
- package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.js +0 -229
- package/es/packages/map/src/Map.vue_vue_type_script_setup_true_lang.js +0 -336
- package/es/packages/scale-view/src/ScaleView.vue_vue_type_script_setup_true_lang.js +0 -422
- package/es/packages/scale-view/src/components/AnswerParse.vue_vue_type_script_setup_true_lang.js +0 -78
- package/es/packages/scale-view/src/components/EvaluateCountdown.vue_vue_type_script_setup_true_lang.js +0 -107
- package/es/packages/scale-view/src/components/EvaluatePage.vue_vue_type_script_setup_true_lang.js +0 -139
- package/es/packages/scale-view/src/components/LoadingCom.vue_vue_type_template_id_413329b0_lang.js +0 -16
- package/es/packages/scale-view/src/components/NoData.vue_vue_type_script_setup_true_lang.js +0 -72
- package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.js +0 -77
- package/es/packages/select-label/src/LabelFormContent.vue_vue_type_script_setup_true_lang.js +0 -441
- package/es/packages/select-label/src/components/label-classify.vue_vue_type_script_setup_true_lang.js +0 -127
- package/es/packages/shortcut-provider/src/ShortcutProvider.vue_vue_type_script_setup_true_lang.js +0 -32
- package/es/packages/shortcut-setter/src/ShortcutSetter.vue_vue_type_script_setup_true_lang.js +0 -38
- package/es/packages/shortcut-setter/src/ShortcutSetterItem.vue_vue_type_script_setup_true_lang.js +0 -125
- package/es/packages/steps-wheel/src/StepsWheel.vue_vue_type_script_setup_true_lang.js +0 -263
- package/es/packages/time-line/src/TimeLine.vue_vue_type_script_setup_true_lang.js +0 -68
- package/es/src/components/SelectPage/SelectPage.vue_vue_type_script_setup_true_lang.js +0 -61
- package/es/src/components/SvgIcon/SvgIcon.vue_vue_type_script_setup_true_lang.js +0 -34
- package/es/src/components/TextOverTooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.js +0 -74
- package/es/src/components/player-vod/index.vue_vue_type_script_setup_true_lang.js +0 -12
|
@@ -3,8 +3,7 @@ import { safeComponentRegister } from '../../src/utils';
|
|
|
3
3
|
import { loadVxeTable } from '../../src/utils/loadVxe';
|
|
4
4
|
import { expandXEUtils } from '../../src/utils/utilExpand';
|
|
5
5
|
import { CGrid } from '../../packages/index';
|
|
6
|
-
import './src/BigTable.js';
|
|
7
|
-
import script from './src/BigTable.vue_vue_type_script_setup_true_lang.js';
|
|
6
|
+
import script from './src/BigTable.js';
|
|
8
7
|
export { useColumnConfigAdaptor } from './src/hooks/useColumnConfigAdaptor.js';
|
|
9
8
|
|
|
10
9
|
const BigTable = script;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import _sfc_main from './BigTable.vue_vue_type_script_setup_true_lang.js';
|
|
2
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
3
3
|
|
|
4
|
-
script
|
|
4
|
+
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "BigTable.vue"]]);
|
|
5
|
+
|
|
6
|
+
export { script as default };
|
|
@@ -11,20 +11,17 @@ import { useNestTable } from './hooks/useNestTable.js';
|
|
|
11
11
|
import { useEdit, comps } from './hooks/useEdit.js';
|
|
12
12
|
import { useEvent } from './hooks/useEvent.js';
|
|
13
13
|
import { SettingsSharp, CaretDown, CaretForward, CopyOutline, SyncOutline } from '@vicons/ionicons5';
|
|
14
|
-
import './components/NoData.js';
|
|
14
|
+
import NoData from './components/NoData.js';
|
|
15
15
|
import TextOverTooltip from '../../../src/components/TextOverTooltip';
|
|
16
16
|
import SvgIcon from '../../../src/components/SvgIcon';
|
|
17
17
|
import { useMessage, NIcon, NTooltip, NCheckbox, NCheckboxGroup, NGrid, NGi, NSpace, NButton, NPopconfirm, NProgress, NDropdown, NSwitch, NPopover } from 'naive-ui';
|
|
18
18
|
import CGrid from '../../../packages/grid';
|
|
19
19
|
import vexutils from '../../../src/utils/vexutils';
|
|
20
20
|
import { handleTableHeight, setTableConfig, handleGroupColums, treeToList, checkMethod, setTreeGroupTitle, handleName, generateEditRender, handlerInitSearchItem, getEvaluate, getMapVal, getCandidateComponents, getageShowType, isLink, showFilter, reScrollFilterWrap, hideFilterWrap, mergeConObjFn, setDefaultFormData, handleImgArr, handleImgSrc, modalDetailImage, handleQrCodeContent, getInlineEditBtn, isCopy, setVisibleCheckAllWrap, handleTableImageSize, visibleMethod, getRowStyle, getFooterGroup, flattenRow, intersectRow, removeCheckedDisabledRows } from './utils.js';
|
|
21
|
-
import './components/input-button.js';
|
|
22
|
-
import './components/separate.js';
|
|
21
|
+
import InputButtonScript from './components/input-button.js';
|
|
22
|
+
import Separate from './components/separate.js';
|
|
23
23
|
import xb_big from '../../../src/assets/img/xb_big';
|
|
24
24
|
import qr from '../../../src/assets/img/qr';
|
|
25
|
-
import script$1 from './components/NoData.vue_vue_type_script_setup_true_lang.js';
|
|
26
|
-
import script$2 from './components/input-button.vue_vue_type_script_setup_true_lang.js';
|
|
27
|
-
import script$3 from './components/separate.vue_vue_type_script_setup_true_lang.js';
|
|
28
25
|
|
|
29
26
|
const _hoisted_1 = {
|
|
30
27
|
key: 0,
|
|
@@ -42,7 +39,7 @@ const _hoisted_6 = {
|
|
|
42
39
|
function _isSlot(s) {
|
|
43
40
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
44
41
|
}
|
|
45
|
-
var
|
|
42
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
43
|
__name: "BigTable",
|
|
47
44
|
props: bigTableProps,
|
|
48
45
|
emits: bigTableEmits,
|
|
@@ -55,7 +52,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
55
52
|
let _beforeSearchConvert = [];
|
|
56
53
|
let addInlineEditPrimaryKey = "";
|
|
57
54
|
const GROUP_TITLE_KEY = "group-show-title";
|
|
58
|
-
const InputButton =
|
|
55
|
+
const InputButton = InputButtonScript;
|
|
59
56
|
const $message = useMessage();
|
|
60
57
|
const xGrid = ref({});
|
|
61
58
|
const copyState = vexutils.clone(bigTableState, true);
|
|
@@ -472,7 +469,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
472
469
|
if (!isEdit || item.columnName === "operatorColumn" || !item.isEdit) {
|
|
473
470
|
return formatter(params, item);
|
|
474
471
|
} else if (item.formType === "separate") {
|
|
475
|
-
const SeparateComponent =
|
|
472
|
+
const SeparateComponent = Separate;
|
|
476
473
|
return createVNode(SeparateComponent, {
|
|
477
474
|
"row": params.row,
|
|
478
475
|
"col": item
|
|
@@ -2362,7 +2359,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
2362
2359
|
}), {
|
|
2363
2360
|
empty: withCtx(() => [state.isShowEmpty ? renderSlot(_ctx.$slots, "empty", {
|
|
2364
2361
|
key: 0
|
|
2365
|
-
}, () => [createVNode(
|
|
2362
|
+
}, () => [createVNode(NoData, {
|
|
2366
2363
|
"no-data-img": props.emptyItems.noDataImg,
|
|
2367
2364
|
"no-data-tip": props.emptyItems.noDataTip,
|
|
2368
2365
|
"show-img": !props.isNestTable
|
|
@@ -2424,4 +2421,4 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
2424
2421
|
}
|
|
2425
2422
|
});
|
|
2426
2423
|
|
|
2427
|
-
export {
|
|
2424
|
+
export { _sfc_main as default };
|
|
@@ -1,4 +1,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, unref, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
+
import noData from '../../../../src/assets/img/nodata';
|
|
3
|
+
import noPermission from '../../../../src/assets/img/no-permission';
|
|
4
|
+
import failure from '../../../../src/assets/img/failure';
|
|
5
|
+
import notfound from '../../../../src/assets/img/notfound';
|
|
6
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.js';
|
|
3
7
|
|
|
4
|
-
|
|
8
|
+
const _hoisted_1 = { class: "no-data-tip NoData-page" };
|
|
9
|
+
const _hoisted_2 = ["src"];
|
|
10
|
+
const _hoisted_3 = { key: 1 };
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "NoData",
|
|
13
|
+
props: {
|
|
14
|
+
noDataTip: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "\u6682\u65E0\u6570\u636E"
|
|
17
|
+
},
|
|
18
|
+
noDataImg: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "nodata"
|
|
21
|
+
},
|
|
22
|
+
showImg: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(__props) {
|
|
28
|
+
const props = __props;
|
|
29
|
+
const imgStr = computed(() => {
|
|
30
|
+
let str = null;
|
|
31
|
+
switch (props.noDataImg) {
|
|
32
|
+
case "no-permission":
|
|
33
|
+
str = noPermission;
|
|
34
|
+
break;
|
|
35
|
+
case "failure":
|
|
36
|
+
str = failure;
|
|
37
|
+
break;
|
|
38
|
+
case "nodata":
|
|
39
|
+
str = noData;
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
str = notfound;
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
return str;
|
|
46
|
+
});
|
|
47
|
+
const handleDesc = computed(() => {
|
|
48
|
+
let res = "";
|
|
49
|
+
switch (props.noDataImg) {
|
|
50
|
+
case "no-permission":
|
|
51
|
+
res = "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
|
|
52
|
+
break;
|
|
53
|
+
case "failure":
|
|
54
|
+
res = "\u8BF7\u7A0D\u540E\u518D\u8BD5";
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
return res;
|
|
58
|
+
});
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
61
|
+
__props.showImg ? (openBlock(), createElementBlock("img", {
|
|
62
|
+
key: 0,
|
|
63
|
+
src: unref(imgStr),
|
|
64
|
+
alt: ""
|
|
65
|
+
}, null, 8, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
66
|
+
createElementVNode("p", null, toDisplayString(__props.noDataTip), 1),
|
|
67
|
+
unref(handleDesc) ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(unref(handleDesc)), 1)) : createCommentVNode("v-if", true)
|
|
68
|
+
]);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
var NoData = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "NoData.vue"]]);
|
|
73
|
+
|
|
74
|
+
export { NoData as default };
|
|
@@ -1,4 +1,90 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createVNode, withModifiers } from 'vue';
|
|
2
|
+
import SlotRender from '../../../../../src/components/SlotRender';
|
|
3
|
+
import { cloneDeep, isObject, isArray } from 'lodash-es';
|
|
4
|
+
import { NPopover, NInput } from 'naive-ui';
|
|
5
|
+
import { useSeparateMap } from '../../../../../packages/big-table/src/hooks/useSeparateRow';
|
|
6
|
+
import Separate from '../separate.js';
|
|
7
|
+
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
3
8
|
|
|
4
|
-
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "edit-separate",
|
|
11
|
+
props: {
|
|
12
|
+
col: { type: Object, required: true },
|
|
13
|
+
row: { type: Object, required: true },
|
|
14
|
+
index: { type: Number, required: true }
|
|
15
|
+
},
|
|
16
|
+
emits: ["formChange"],
|
|
17
|
+
setup(__props, { emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const popoverRef = ref();
|
|
20
|
+
const editContent = ref();
|
|
21
|
+
const { getRowData } = useSeparateMap();
|
|
22
|
+
function updateShow(show) {
|
|
23
|
+
const target = getRowData(props.row);
|
|
24
|
+
if (!target)
|
|
25
|
+
return;
|
|
26
|
+
if (show) {
|
|
27
|
+
editContent.value = cloneDeep(target.row[props.col.field]);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const old = target.row[props.col.field];
|
|
31
|
+
if (!target)
|
|
32
|
+
return;
|
|
33
|
+
if (!isObject(editContent.value) && !isArray(editContent.value)) {
|
|
34
|
+
if (old === editContent.value)
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
target.rawRow[props.col.field] = editContent.value;
|
|
38
|
+
emit("formChange", {
|
|
39
|
+
value: editContent.value,
|
|
40
|
+
row: target.row,
|
|
41
|
+
column: props.col,
|
|
42
|
+
index: target.index
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
const style = {
|
|
46
|
+
border: "1px solid #f5f5f5",
|
|
47
|
+
padding: "4px 0 4px 4px",
|
|
48
|
+
background: "white",
|
|
49
|
+
"border-radius": "4px"
|
|
50
|
+
};
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
return openBlock(), createBlock(unref(NPopover), {
|
|
53
|
+
ref_key: "popoverRef",
|
|
54
|
+
ref: popoverRef,
|
|
55
|
+
trigger: "click",
|
|
56
|
+
"show-arrow": false,
|
|
57
|
+
"onUpdate:show": updateShow
|
|
58
|
+
}, {
|
|
59
|
+
trigger: withCtx(() => [
|
|
60
|
+
createVNode(Separate, {
|
|
61
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
62
|
+
}, ["stop"])),
|
|
63
|
+
style,
|
|
64
|
+
col: __props.col,
|
|
65
|
+
row: __props.row
|
|
66
|
+
}, null, 8, ["col", "row"])
|
|
67
|
+
]),
|
|
68
|
+
default: withCtx(() => [
|
|
69
|
+
__props.col.separateSlot ? (openBlock(), createBlock(unref(SlotRender), {
|
|
70
|
+
key: 0,
|
|
71
|
+
renderer: __props.col.separateSlot,
|
|
72
|
+
value: editContent.value,
|
|
73
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => editContent.value = $event),
|
|
74
|
+
col: __props.col,
|
|
75
|
+
row: __props.row
|
|
76
|
+
}, null, 8, ["renderer", "value", "col", "row"])) : (openBlock(), createBlock(unref(NInput), {
|
|
77
|
+
key: 1,
|
|
78
|
+
value: editContent.value,
|
|
79
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => editContent.value = $event),
|
|
80
|
+
type: "textarea"
|
|
81
|
+
}, null, 8, ["value"]))
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 512);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
var EditSeparate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "edit-separate.vue"]]);
|
|
89
|
+
|
|
90
|
+
export { EditSeparate as default };
|
|
@@ -1,4 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode } from 'vue';
|
|
2
|
+
import { NInput, NButton } from 'naive-ui';
|
|
3
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.js';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u641C\u7D22");
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "input-button",
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const content = ref("");
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createBlock(unref(NInput), {
|
|
12
|
+
value: content.value,
|
|
13
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => content.value = $event),
|
|
14
|
+
placeholder: "\u5B57\u6BB5\u641C\u7D22",
|
|
15
|
+
class: "check-seach-input"
|
|
16
|
+
}, {
|
|
17
|
+
suffix: withCtx(() => [
|
|
18
|
+
createVNode(unref(NButton), {
|
|
19
|
+
text: "",
|
|
20
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("trigger", content.value))
|
|
21
|
+
}, {
|
|
22
|
+
default: withCtx(() => [
|
|
23
|
+
_hoisted_1
|
|
24
|
+
]),
|
|
25
|
+
_: 1
|
|
26
|
+
})
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
}, 8, ["value"]);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var InputButtonScript = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "input-button.vue"]]);
|
|
34
|
+
|
|
35
|
+
export { InputButtonScript as default };
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createTextVNode, toDisplayString, unref, createElementVNode } from 'vue';
|
|
2
|
+
import { useSeparateMap } from '../../../../packages/big-table/src/hooks/useSeparateRow';
|
|
3
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.js';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
const _hoisted_1 = { class: "big-table__separate" };
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "big-table__separatePlaceholder" }, "p", -1);
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "separate",
|
|
9
|
+
props: {
|
|
10
|
+
col: { type: Object, required: true },
|
|
11
|
+
row: { type: Object, required: true }
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const { separateDataMap } = useSeparateMap();
|
|
16
|
+
const displayContent = computed(() => {
|
|
17
|
+
const target = separateDataMap.value.get(props.row);
|
|
18
|
+
return target ? target.separateData[props.col.field] : "";
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
22
|
+
createTextVNode(toDisplayString(unref(displayContent)) + " ", 1),
|
|
23
|
+
_hoisted_2
|
|
24
|
+
]);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
var Separate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "separate.vue"]]);
|
|
29
|
+
|
|
30
|
+
export { Separate as default };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import EditInput from '../components/edit-form/edit-input.js';
|
|
2
2
|
import EditSelect from '../components/edit-form/edit-select.js';
|
|
3
3
|
import EditDate from '../components/edit-form/edit-date.js';
|
|
4
|
-
import '../components/edit-form/edit-separate.js';
|
|
5
|
-
import script from '../components/edit-form/edit-separate.vue_vue_type_script_setup_true_lang.js';
|
|
4
|
+
import EditSeparate from '../components/edit-form/edit-separate.js';
|
|
6
5
|
|
|
7
6
|
const comps = {
|
|
8
7
|
input: EditInput,
|
|
9
8
|
number: EditInput,
|
|
10
9
|
select: EditSelect,
|
|
11
10
|
date: EditDate,
|
|
12
|
-
separate:
|
|
11
|
+
separate: EditSeparate
|
|
13
12
|
};
|
|
14
13
|
const useEdit = (props, state, emit, xGrid) => {
|
|
15
14
|
const initEditTable = async () => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../src/global/variable';
|
|
2
2
|
import { safeComponentRegister } from '../../src/utils';
|
|
3
|
-
import './src/BpmnWorkflow.js';
|
|
4
|
-
import script from './src/BpmnWorkflow.vue_vue_type_script_setup_true_lang.js';
|
|
3
|
+
import script from './src/BpmnWorkflow.js';
|
|
5
4
|
|
|
6
5
|
const BpmnWorkflow = script;
|
|
7
6
|
BpmnWorkflow.install = function(app) {
|
|
@@ -1,4 +1,254 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { defineComponent, ref, reactive, onMounted, openBlock, createElementBlock, createCommentVNode, createElementVNode } from 'vue';
|
|
2
|
+
import 'bpmn-js/dist/assets/diagram-js.css';
|
|
3
|
+
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css';
|
|
4
|
+
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css';
|
|
5
|
+
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css';
|
|
6
|
+
import { attr } from '../../../node_modules/tiny-svg/dist/index.esm.js';
|
|
7
|
+
import { useMessage } from 'naive-ui';
|
|
8
|
+
import axios from 'axios';
|
|
9
|
+
import moment from 'moment';
|
|
10
|
+
import BpmnViewer from 'bpmn-js/lib/Viewer';
|
|
11
|
+
import ZoomScroll from './custom/customOtherModule/zoomScroll.js';
|
|
12
|
+
import ModelingModule from 'bpmn-js/lib/features/modeling';
|
|
13
|
+
import MoveCanvasModule from '../../../node_modules/diagram-js/lib/navigation/movecanvas/index.js';
|
|
14
|
+
import customViewerRenderer from './custom/customOtherModule/customViewerRenderer.js';
|
|
15
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
3
16
|
|
|
4
|
-
|
|
17
|
+
const _hoisted_1 = { class: "containers" };
|
|
18
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
|
+
__name: "BpmnWorkflow",
|
|
20
|
+
props: {
|
|
21
|
+
flowType: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "workflow"
|
|
24
|
+
},
|
|
25
|
+
processId: String,
|
|
26
|
+
instanceId: String,
|
|
27
|
+
token: String,
|
|
28
|
+
getBpmnXml: { type: Function },
|
|
29
|
+
getInstanceHistory: { type: Function },
|
|
30
|
+
getNodeApprovaler: { type: Function }
|
|
31
|
+
},
|
|
32
|
+
setup(__props) {
|
|
33
|
+
const props = __props;
|
|
34
|
+
useMessage();
|
|
35
|
+
const canva = ref(null);
|
|
36
|
+
const state = reactive({
|
|
37
|
+
nodeMenu: [],
|
|
38
|
+
currentCanvasXml: null,
|
|
39
|
+
eventType: ["element.click", "element.hover", "element.out"]
|
|
40
|
+
});
|
|
41
|
+
axios.create({
|
|
42
|
+
withCredentials: true,
|
|
43
|
+
timeout: 5e3,
|
|
44
|
+
headers: {
|
|
45
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
46
|
+
Authorization: "bearer " + props.token
|
|
47
|
+
},
|
|
48
|
+
baseURL: "/"
|
|
49
|
+
});
|
|
50
|
+
onMounted(() => {
|
|
51
|
+
console.log("\u751F\u6210bpmnModeler,\u5C55\u793A\u753B\u5E03");
|
|
52
|
+
initDetails(props.processId, props.instanceId);
|
|
53
|
+
});
|
|
54
|
+
const unique = (objArray, key) => {
|
|
55
|
+
var hash = {};
|
|
56
|
+
objArray = objArray.reduce(function(item, next) {
|
|
57
|
+
hash[next[key]] ? "" : hash[next[key]] = item.push(next);
|
|
58
|
+
return item;
|
|
59
|
+
}, []);
|
|
60
|
+
return objArray;
|
|
61
|
+
};
|
|
62
|
+
const initDetails = async (processId, instanceId) => {
|
|
63
|
+
if (typeof props.getBpmnXml !== "function") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
state.currentCanvasXml = await props.getBpmnXml(processId);
|
|
67
|
+
previewTemp(processId, instanceId);
|
|
68
|
+
};
|
|
69
|
+
const previewTemp = async (processId, instanceId) => {
|
|
70
|
+
state.bpmnModeler && state.bpmnModeler.destroy();
|
|
71
|
+
state.bpmnModeler = new BpmnViewer({
|
|
72
|
+
container: canva.value,
|
|
73
|
+
additionalModules: [
|
|
74
|
+
ModelingModule,
|
|
75
|
+
MoveCanvasModule,
|
|
76
|
+
ZoomScroll,
|
|
77
|
+
customViewerRenderer,
|
|
78
|
+
{ bendpoints: ["value", {}] }
|
|
79
|
+
]
|
|
80
|
+
});
|
|
81
|
+
try {
|
|
82
|
+
const { err } = await state.bpmnModeler.importXML(state.currentCanvasXml);
|
|
83
|
+
if (err && err.length) {
|
|
84
|
+
return console.error(err);
|
|
85
|
+
}
|
|
86
|
+
const canvas = state.bpmnModeler.get("canvas");
|
|
87
|
+
canvas.zoom("fit-viewport", "auto");
|
|
88
|
+
addEventListener();
|
|
89
|
+
handleNodeMenuData(processId, instanceId);
|
|
90
|
+
} catch (e) {
|
|
91
|
+
console.error(`[Process Designer Warn]: ${(e == null ? void 0 : e.message) || e}`);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const handleNodeTip = async (element, overlays) => {
|
|
95
|
+
var _a;
|
|
96
|
+
let tipStr = "";
|
|
97
|
+
let { id, type } = element;
|
|
98
|
+
if (!["label", "bpmn:SequenceFlow"].includes(element.type)) {
|
|
99
|
+
const selections = state.bpmnModeler.get("selection");
|
|
100
|
+
selections.select(null);
|
|
101
|
+
selections.select(element, true);
|
|
102
|
+
}
|
|
103
|
+
if (type == "bpmn:UserTask") {
|
|
104
|
+
let obj = state.nodeMenu.find((v) => v.key == id);
|
|
105
|
+
if ((_a = obj == null ? void 0 : obj.auditor) == null ? void 0 : _a.length) {
|
|
106
|
+
tipStr = `\u5BA1\u6838\u4EBA\uFF1A${obj.auditor.map((v) => v.name).join("\u3001")}`;
|
|
107
|
+
overlays.add(id, "tip", {
|
|
108
|
+
position: {
|
|
109
|
+
top: 0,
|
|
110
|
+
right: -12
|
|
111
|
+
},
|
|
112
|
+
html: `<div style="position: absolute;
|
|
113
|
+
top: calc(50% - 5px);
|
|
114
|
+
left: -10px;
|
|
115
|
+
width: 0px;
|
|
116
|
+
height: 0px;
|
|
117
|
+
border:5px solid rgba(0, 0, 0, 0.75);
|
|
118
|
+
border-top: 5px solid transparent;
|
|
119
|
+
border-left: 5px solid transparent;
|
|
120
|
+
border-bottom: 5px solid transparent;">
|
|
121
|
+
</div>
|
|
122
|
+
<div class="diagram-note"
|
|
123
|
+
style="background-color: rgba(0, 0, 0, 0.75);
|
|
124
|
+
color: #fff;
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
text-align:left;
|
|
127
|
+
width: 200px;
|
|
128
|
+
max-height: 71px;
|
|
129
|
+
padding: 5px;
|
|
130
|
+
border-radius: 4px;
|
|
131
|
+
word-break: break-word;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
text-overflow: ellipsis;
|
|
134
|
+
display: -webkit-box;
|
|
135
|
+
-webkit-box-orient: vertical;
|
|
136
|
+
-webkit-line-clamp: 3;">
|
|
137
|
+
${tipStr}
|
|
138
|
+
</div>`
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
const addEventListener = () => {
|
|
144
|
+
let eventBus = state.bpmnModeler.get("eventBus");
|
|
145
|
+
let overlays = state.bpmnModeler.get("overlays");
|
|
146
|
+
let selections = state.bpmnModeler.get("selection");
|
|
147
|
+
state.eventType.forEach((item) => {
|
|
148
|
+
eventBus.on(item, (eventParam) => {
|
|
149
|
+
let { element } = eventParam;
|
|
150
|
+
if (!element.parent)
|
|
151
|
+
return;
|
|
152
|
+
if (!eventParam || element.type === "bpmn:Process") {
|
|
153
|
+
return false;
|
|
154
|
+
} else {
|
|
155
|
+
switch (item) {
|
|
156
|
+
case "element.hover":
|
|
157
|
+
handleNodeTip(element, overlays);
|
|
158
|
+
break;
|
|
159
|
+
case "element.out":
|
|
160
|
+
selections.select(null);
|
|
161
|
+
overlays.clear();
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
const setNodeColor = (element, color) => {
|
|
169
|
+
const modeling = state.bpmnModeler.get("modeling");
|
|
170
|
+
element.renderPathColor = color;
|
|
171
|
+
modeling.setColor(element, {
|
|
172
|
+
stroke: color
|
|
173
|
+
});
|
|
174
|
+
};
|
|
175
|
+
const handleNodeMenuData = async (processId, instanceId) => {
|
|
176
|
+
if (typeof props.getInstanceHistory !== "function") {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
const elementRegistry = state.bpmnModeler.get("elementRegistry");
|
|
180
|
+
let nodeArray = elementRegistry.filter((element) => {
|
|
181
|
+
return !["label", "bpmn:Process", "bpmn:SequenceFlow"].includes(element.type);
|
|
182
|
+
});
|
|
183
|
+
let nodeStateList = await props.getInstanceHistory(processId, instanceId);
|
|
184
|
+
let nodeStateObj = {};
|
|
185
|
+
let multiInstanceIds = [];
|
|
186
|
+
let multiInstanceNodes = [];
|
|
187
|
+
nodeStateList.historyActivity.map((v) => {
|
|
188
|
+
if (v.activityId.indexOf("#multiInstanceBody") != -1) {
|
|
189
|
+
multiInstanceIds.push(v.activityId.replace("#multiInstanceBody", ""));
|
|
190
|
+
multiInstanceNodes.push(v);
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
let nodeHistoryList = unique(nodeStateList.historyActivity, "activityId");
|
|
194
|
+
let nodeHistoryIdList = nodeHistoryList.filter((v) => ![...new Set(multiInstanceIds)].includes(v.activityId) && v.activityId != "StartEvent_1" && !v.activityId.startsWith("Event_"));
|
|
195
|
+
nodeHistoryIdList.map((v) => {
|
|
196
|
+
let activityId = v.activityId.replace("#multiInstanceBody", "");
|
|
197
|
+
let node = v;
|
|
198
|
+
let multiDataList = multiInstanceNodes.filter((m) => v.activityId == m.activityId);
|
|
199
|
+
if (multiDataList == null ? void 0 : multiDataList.length) {
|
|
200
|
+
node = multiDataList.reduce((pre, item) => {
|
|
201
|
+
return moment(pre.endTime).isBefore(item.endTime) ? item : pre;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
nodeStateObj[activityId] = node.activityState;
|
|
205
|
+
});
|
|
206
|
+
let nodeMenu = [];
|
|
207
|
+
await Promise.all(nodeArray.map(async (v) => {
|
|
208
|
+
var _a;
|
|
209
|
+
if (Object.keys(nodeStateObj).includes(v.id)) {
|
|
210
|
+
let rect = elementRegistry.getGraphics(v.id).childNodes[2];
|
|
211
|
+
attr(rect, {
|
|
212
|
+
rx: 10,
|
|
213
|
+
ry: 10,
|
|
214
|
+
strokeWidth: 3,
|
|
215
|
+
strokeDasharray: 0
|
|
216
|
+
});
|
|
217
|
+
let shape = elementRegistry.get(v.id);
|
|
218
|
+
if (nodeStateObj[v.id] == 4) {
|
|
219
|
+
setNodeColor(shape, "#5aa36a");
|
|
220
|
+
}
|
|
221
|
+
if (nodeStateObj[v.id] == 2) {
|
|
222
|
+
setNodeColor(shape, "#d14141");
|
|
223
|
+
}
|
|
224
|
+
let obj = {};
|
|
225
|
+
if (v.type == "bpmn:UserTask") {
|
|
226
|
+
if (typeof props.getNodeApprovaler !== "function") {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
obj = await props.getNodeApprovaler(processId, v.id);
|
|
230
|
+
nodeMenu.push({
|
|
231
|
+
key: v.id,
|
|
232
|
+
value: (_a = v == null ? void 0 : v.businessObject) == null ? void 0 : _a.name,
|
|
233
|
+
auditor: obj == null ? void 0 : obj.auditor
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}));
|
|
238
|
+
state.nodeMenu = nodeMenu;
|
|
239
|
+
};
|
|
240
|
+
return (_ctx, _cache) => {
|
|
241
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
242
|
+
createCommentVNode(" \u6D41\u7A0B\u753B\u5E03\u90E8\u5206 "),
|
|
243
|
+
createElementVNode("div", {
|
|
244
|
+
class: "canvas",
|
|
245
|
+
ref_key: "canva",
|
|
246
|
+
ref: canva
|
|
247
|
+
}, null, 512)
|
|
248
|
+
]);
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "BpmnWorkflow.vue"]]);
|
|
253
|
+
|
|
254
|
+
export { script as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../src/global/variable';
|
|
2
2
|
import { safeComponentRegister } from '../../src/utils';
|
|
3
|
-
import './src/ButtonPrint.js';
|
|
4
|
-
import script from './src/ButtonPrint.vue_vue_type_script_setup_true_lang.js';
|
|
3
|
+
import script from './src/ButtonPrint.js';
|
|
5
4
|
export { Print } from './src/utils/print.js';
|
|
6
5
|
|
|
7
6
|
const ButtonPrint = script;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import _sfc_main from './ButtonPrint.vue_vue_type_script_setup_true_lang.js';
|
|
2
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
3
3
|
|
|
4
|
-
script
|
|
4
|
+
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "ButtonPrint.vue"]]);
|
|
5
|
+
|
|
6
|
+
export { script as default };
|