hy-dispatch-ui-v3 0.2.85 → 0.2.87
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/dist/tailwind.css +27 -4
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +1 -0
- package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +3 -3
- package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +3 -3
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +7 -1
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +7 -1
- package/es/bussiness/hyFilePlayback/locale/en_US.mjs +17 -17
- package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +17 -17
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +1 -0
- package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +1 -0
- package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +1 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +1 -0
- package/es/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.mjs +3 -3
- package/es/bussiness/hySelectDeviceTree/selectDeviceTree.vue.mjs +2 -8
- package/es/bussiness/hyUserTree/userTree.vue.mjs +1 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +9 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +1 -0
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +1 -0
- package/es/components/hyConfigProvider/configProvider.vue.mjs +36 -35
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +10 -1
- package/es/components/hyDatePicker/datePicker.vue.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +1 -0
- package/es/components/hyDrawer/drawer.vue.mjs +1 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +15 -11
- package/es/components/hyForm/form.vue.mjs +2 -3
- package/es/components/hyIcon/icon.vue.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +1 -0
- package/es/components/hyInput/inputSearch.vue.mjs +1 -0
- package/es/components/hyKindEditor/kindEditor.vue.mjs +17 -4
- package/es/components/hyMenu/menu.vue.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +0 -1
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +4 -1
- package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
- package/es/components/hySearch/search.vue.mjs +5 -1
- package/es/components/hyStatus/status.vue.mjs +1 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +5 -1
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +1 -1
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +11 -2
- package/es/components/hyTable/js/index.mjs +7 -2
- package/es/components/hyTable/table.vue.mjs +5 -1
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +1 -0
- package/es/components/hyTableForm/batchTableForm.vue.mjs +6 -3
- package/es/components/hyTableForm/tableForm.vue.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +1 -0
- package/es/components/hyTour/tour.vue.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +8 -2
- package/es/components/hyTree/tree.vue.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.mjs +9 -9
- package/es/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.mjs +656 -0
- package/es/components/hyVideoPlayer/index.mjs +2 -2
- package/es/components/hyVideoPlayer/locale/en_US.mjs +31 -0
- package/es/components/hyVideoPlayer/locale/index.mjs +2 -0
- package/es/components/hyVideoPlayer/locale/zh_CN.mjs +31 -0
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +5 -645
- package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +930 -0
- package/es/hooks/useLocale.mjs +7 -2
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/es/static/map/bm.geometryutil.js +3 -3
- package/es/static/map/bmDraw.js +6 -6
- package/es/static/map/markercluster.js +22 -22
- package/es/static/map/moveMarker.js +1 -1
- package/es/static/vite-plugin-hy-svg-icons.js +2 -2
- package/es/utils/file.mjs +7 -3
- package/es/utils/form.mjs +3 -1
- package/es/utils/map/hook/bigMap.mjs +18 -5
- package/es/utils/map/hook/gaode.mjs +4 -1
- package/es/utils/map/hook/leafletjs.mjs +29 -8
- package/es/utils/map/index.mjs +0 -1
- package/es/utils/useUiComponent.mjs +3 -1
- package/es/version.mjs +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
- package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
- package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
- package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
- package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
- package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
- package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
- package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
- package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
- package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
- package/lib/components/hyButton/button.vue.js +1 -0
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
- package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +10 -1
- package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +1 -0
- package/lib/components/hyDrawer/drawer.vue.js +1 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
- package/lib/components/hyForm/form.vue.js +2 -3
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyInput/input.vue.js +1 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
- package/lib/components/hyMenu/menu.vue.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +0 -1
- package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
- package/lib/components/hySearch/search.vue.js +5 -1
- package/lib/components/hyStatus/status.vue.js +1 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
- package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
- package/lib/components/hyTable/js/index.js +7 -2
- package/lib/components/hyTable/table.vue.js +5 -1
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
- package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
- package/lib/components/hyTableForm/tableForm.vue.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +1 -0
- package/lib/components/hyTour/tour.vue.js +1 -0
- package/lib/components/hyTree/js/index.js +8 -2
- package/lib/components/hyTree/tree.vue.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
- package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
- package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
- package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
- package/lib/components/hyVideoPlayer/locale/index.js +9 -0
- package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
- package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +934 -0
- package/lib/hooks/useLocale.js +7 -2
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/lib/static/map/bm.geometryutil.js +3 -3
- package/lib/static/map/bmDraw.js +6 -6
- package/lib/static/map/markercluster.js +22 -22
- package/lib/static/map/moveMarker.js +1 -1
- package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
- package/lib/utils/file.js +7 -3
- package/lib/utils/form.js +3 -1
- package/lib/utils/map/hook/bigMap.js +18 -5
- package/lib/utils/map/hook/gaode.js +4 -1
- package/lib/utils/map/hook/leafletjs.js +29 -8
- package/lib/utils/map/index.js +0 -1
- package/lib/utils/useUiComponent.js +3 -1
- package/lib/version.js +1 -1
- package/package.json +14 -8
- /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
- /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
|
@@ -53,47 +53,48 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
53
53
|
required: false
|
|
54
54
|
},
|
|
55
55
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
56
|
+
* @param {
|
|
57
|
+
* locale: 'zh_CN' | 'en_US'
|
|
58
|
+
* api: object | function
|
|
59
|
+
* userAvatarMap: Map<string, string>,
|
|
60
|
+
* permissionMap: Map<string, boolean>,
|
|
61
|
+
* audioPlayer: {
|
|
62
|
+
type: 'default' | 'analyse',
|
|
63
|
+
speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
|
|
64
|
+
playRules: 1 | 2 | 3,
|
|
65
|
+
showPlayRules: boolean,
|
|
66
|
+
showPicture: boolean,
|
|
67
|
+
showDownloadFiles: boolean,
|
|
68
|
+
downloadFn: () => void,
|
|
69
|
+
}
|
|
70
|
+
* videoPlayer: {
|
|
71
|
+
type: 'default' | 'analyse',
|
|
72
|
+
speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
|
|
73
|
+
playRules: 1 | 2 | 3,
|
|
74
|
+
showPlayRules: boolean,
|
|
75
|
+
showDownloadFiles: boolean,
|
|
76
|
+
showShrink: boolean,
|
|
77
|
+
vlcProtocol: 'hyvlc',
|
|
78
|
+
vlcAddress: string,
|
|
79
|
+
downloadFn: () => void,
|
|
80
|
+
}
|
|
81
|
+
* ensureHyIcon: (icon: string) => void
|
|
82
|
+
* tooltip: {
|
|
83
|
+
isAlways: boolean,
|
|
84
|
+
overLine: number,
|
|
85
|
+
}
|
|
86
|
+
* mapConfig: object
|
|
87
|
+
* baseMainStore: function
|
|
88
|
+
* currentBus: object
|
|
89
|
+
* } hyConfig
|
|
90
|
+
*/
|
|
91
91
|
hyConfig: {
|
|
92
92
|
type: Object,
|
|
93
93
|
default: () => ({})
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
setup(__props) {
|
|
97
|
+
;
|
|
97
98
|
const props = __props;
|
|
98
99
|
const globalConfig = useGlobalConfig.provideGlobalConfig(props, null, !vue.unref(useGlobalConfig.useGlobalConfig()));
|
|
99
100
|
const config = vue.computed(() => {
|
|
@@ -74,6 +74,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
74
74
|
}),
|
|
75
75
|
emits: /* @__PURE__ */ vue.mergeModels(["hide"], ["update:modelValue"]),
|
|
76
76
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
77
|
+
;
|
|
77
78
|
const props = __props;
|
|
78
79
|
const emits = __emit;
|
|
79
80
|
const visible = vue.useModel(__props, "modelValue");
|
|
@@ -82,6 +82,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
82
82
|
}),
|
|
83
83
|
emits: /* @__PURE__ */ vue.mergeModels(["confirm"], ["update:modelValue"]),
|
|
84
84
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
85
|
+
;
|
|
85
86
|
const props = __props;
|
|
86
87
|
const emits = __emit;
|
|
87
88
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
@@ -205,7 +206,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
205
206
|
}
|
|
206
207
|
__expose({
|
|
207
208
|
open: async (params) => {
|
|
208
|
-
const {
|
|
209
|
+
const {
|
|
210
|
+
url,
|
|
211
|
+
fileName = "img.png",
|
|
212
|
+
options: options2,
|
|
213
|
+
file: file$1,
|
|
214
|
+
onSubmit,
|
|
215
|
+
onCancel,
|
|
216
|
+
onClose
|
|
217
|
+
} = params || {};
|
|
209
218
|
if (file$1) {
|
|
210
219
|
const result = await file.blobToDataURL(file$1);
|
|
211
220
|
openCutter(result, file$1.name);
|
|
@@ -52,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
52
52
|
}),
|
|
53
53
|
emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue", "update:start", "update:end"]),
|
|
54
54
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
55
|
+
;
|
|
55
56
|
const props = __props;
|
|
56
57
|
const emits = __emit;
|
|
57
58
|
const appDatePicker = vue.useTemplateRef("appDatePicker");
|
|
@@ -99,6 +99,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
99
99
|
}),
|
|
100
100
|
emits: /* @__PURE__ */ vue.mergeModels(["onMinimized", "onDialogMousedown"], ["update:modelValue", "update:loading"]),
|
|
101
101
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
102
|
+
;
|
|
102
103
|
const props = __props;
|
|
103
104
|
const emits = __emit;
|
|
104
105
|
const visible = vue.useModel(__props, "modelValue");
|
|
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
36
36
|
}),
|
|
37
37
|
emits: /* @__PURE__ */ vue.mergeModels([], ["update:modelValue"]),
|
|
38
38
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39
|
+
;
|
|
39
40
|
const props = __props;
|
|
40
41
|
const emits = __emit;
|
|
41
42
|
const drawer = vue.useModel(__props, "modelValue");
|
|
@@ -251,8 +251,8 @@ const _sfc_main = {
|
|
|
251
251
|
id: __props.column.id,
|
|
252
252
|
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, __props.column)),
|
|
253
253
|
class: vue.normalizeClass(["hy-el-form-item", [
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
vue.unref(formContext).size === "large" ? "hy-el-form-item--large" : vue.unref(formContext).size === "small" ? "hy-el-form-item--small" : "hy-el-form-item--default",
|
|
255
|
+
vue.unref(formContext).labelPosition === "top" ? vue.unref(formContext).size === "large" ? "min-h-[80px]" : vue.unref(formContext).size === "small" ? "min-h-[48px]" : "min-h-[64px]" : vue.unref(formContext).size === "large" ? "min-h-[40px]" : vue.unref(formContext).size === "small" ? "min-h-[24px]" : "min-h-[32px]"
|
|
256
256
|
]])
|
|
257
257
|
}, null, 14, ["id"])) : vue.unref(index.columnShowHandler)(props, __props.column) ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElFormItem), {
|
|
258
258
|
key: 1,
|
|
@@ -284,7 +284,9 @@ const _sfc_main = {
|
|
|
284
284
|
{ "max-w-full mr-2": vue.unref(formContext).labelPosition !== "top" },
|
|
285
285
|
__props.column.labelClass
|
|
286
286
|
]]),
|
|
287
|
-
style: vue.normalizeStyle({
|
|
287
|
+
style: vue.normalizeStyle({
|
|
288
|
+
width: vue.unref(formContext).labelPosition !== "top" ? vue.unref(formContext).labelWidth || null : null
|
|
289
|
+
})
|
|
288
290
|
},
|
|
289
291
|
[
|
|
290
292
|
vue.createElementVNode(
|
|
@@ -311,9 +313,9 @@ const _sfc_main = {
|
|
|
311
313
|
}, () => [
|
|
312
314
|
vue.createVNode(vue.unref(index$1.HyTooltip), {
|
|
313
315
|
"is-always": false,
|
|
314
|
-
"over-line":
|
|
316
|
+
"over-line": 2,
|
|
315
317
|
class: vue.normalizeClass({
|
|
316
|
-
"block": vue.unref(formContext).labelPosition !== "top"
|
|
318
|
+
"block leading-[14px]": vue.unref(formContext).labelPosition !== "top"
|
|
317
319
|
}),
|
|
318
320
|
disabled: !vue.unref(form.columnLabelHandler)(__props.column, props.model),
|
|
319
321
|
content: vue.unref(form.columnLabelHandler)(__props.column, props.model) || "\xA0"
|
|
@@ -406,9 +408,9 @@ const _sfc_main = {
|
|
|
406
408
|
{
|
|
407
409
|
key: 0,
|
|
408
410
|
class: vue.normalizeClass(["w-full flex items-center text-main px-2 box-border", {
|
|
409
|
-
"min-h-[40px]":
|
|
410
|
-
"min-h-[32px]":
|
|
411
|
-
"min-h-[24px]":
|
|
411
|
+
"min-h-[40px]": vue.unref(formContext).size === "large",
|
|
412
|
+
"min-h-[32px]": vue.unref(formContext).size === "default",
|
|
413
|
+
"min-h-[24px]": vue.unref(formContext).size === "small",
|
|
412
414
|
"bg-background": __props.level === 1,
|
|
413
415
|
"bg-background-2": __props.level === 2,
|
|
414
416
|
"bg-background-3": __props.level === 3,
|
|
@@ -540,7 +542,9 @@ const _sfc_main = {
|
|
|
540
542
|
{ key: 4 },
|
|
541
543
|
[
|
|
542
544
|
vue.createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
|
|
543
|
-
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
545
|
+
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
546
|
+
columnAttrs.value?.type
|
|
547
|
+
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyDatePicker), vue.mergeProps({
|
|
544
548
|
key: 0,
|
|
545
549
|
start: bindValue.value,
|
|
546
550
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -624,7 +628,7 @@ const _sfc_main = {
|
|
|
624
628
|
}, columnAttrs.value, {
|
|
625
629
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
626
630
|
options: getOptionsHandler(props, __props.column),
|
|
627
|
-
size:
|
|
631
|
+
size: vue.unref(formContext).size,
|
|
628
632
|
onChange: onChangeHandler
|
|
629
633
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options", "size"])
|
|
630
634
|
],
|
|
@@ -657,7 +661,7 @@ const _sfc_main = {
|
|
|
657
661
|
}, columnAttrs.value, {
|
|
658
662
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
659
663
|
options: getOptionsHandler(props, __props.column),
|
|
660
|
-
size:
|
|
664
|
+
size: vue.unref(formContext).size,
|
|
661
665
|
onChange: onChangeHandler
|
|
662
666
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options", "size"])
|
|
663
667
|
],
|
|
@@ -75,6 +75,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["on-allMapSelect", "complete", "optionsStatus"],
|
|
77
77
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
78
|
+
;
|
|
78
79
|
const props = __props;
|
|
79
80
|
const emits = __emit;
|
|
80
81
|
const formTemplateRef = vue.useTemplateRef("formTemplateRef");
|
|
@@ -196,9 +197,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
196
197
|
if (locationSelectRef.value) {
|
|
197
198
|
if (is.isArray(locationSelectRef.value)) {
|
|
198
199
|
await Promise.all(
|
|
199
|
-
locationSelectRef.value.map(
|
|
200
|
-
(item) => item.setMarker(latlng, getAddress)
|
|
201
|
-
)
|
|
200
|
+
locationSelectRef.value.map((item) => item.setMarker(latlng, getAddress))
|
|
202
201
|
);
|
|
203
202
|
} else {
|
|
204
203
|
await locationSelectRef.value.setMarker(latlng, getAddress);
|
|
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
29
29
|
}),
|
|
30
30
|
emits: /* @__PURE__ */ vue.mergeModels([], ["update:modelValue"]),
|
|
31
31
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
32
|
+
;
|
|
32
33
|
const props = __props;
|
|
33
34
|
const emits = __emit;
|
|
34
35
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
22
22
|
}),
|
|
23
23
|
emits: /* @__PURE__ */ vue.mergeModels(["search"], ["update:modelValue"]),
|
|
24
24
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
25
|
+
;
|
|
25
26
|
const props = __props;
|
|
26
27
|
const emits = __emit;
|
|
27
28
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
@@ -42,11 +42,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
42
42
|
}),
|
|
43
43
|
emits: /* @__PURE__ */ vue.mergeModels(["created", "change", "focus", "blur"], ["update:modelValue"]),
|
|
44
44
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
45
|
+
;
|
|
45
46
|
const props = __props;
|
|
46
47
|
const emits = __emit;
|
|
47
48
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
48
49
|
const editorRef = vue.shallowRef();
|
|
49
|
-
const editorHeight = vue.computed(
|
|
50
|
+
const editorHeight = vue.computed(
|
|
51
|
+
() => typeof props.height === "number" ? `${props.height}px` : props.height
|
|
52
|
+
);
|
|
50
53
|
const fileURLList = [];
|
|
51
54
|
const rememberFile = ({ key, url }) => {
|
|
52
55
|
if (!key || !url) return;
|
|
@@ -78,7 +81,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
78
81
|
html = replaceSrc(html, key, url);
|
|
79
82
|
rememberFile({ key, url });
|
|
80
83
|
});
|
|
81
|
-
const failCount = keyList.filter(
|
|
84
|
+
const failCount = keyList.filter(
|
|
85
|
+
(key) => !data.some((item) => item.key === key && item.url)
|
|
86
|
+
).length;
|
|
82
87
|
if (failCount) {
|
|
83
88
|
elementPlus.ElMessage.warning(`\u5185\u5BB9\u4E2D\u6709 ${failCount} \u4E2A\u56FE\u7247/\u89C6\u9891\u52A0\u8F7D\u5931\u8D25`);
|
|
84
89
|
}
|
|
@@ -108,7 +113,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
108
113
|
getMaxSize: () => props.maxVideoSize
|
|
109
114
|
}
|
|
110
115
|
};
|
|
111
|
-
const isAllowedType = (file, types) => types.some(
|
|
116
|
+
const isAllowedType = (file, types) => types.some(
|
|
117
|
+
(type) => type.endsWith("/*") ? file.type.startsWith(type.slice(0, -1)) : file.type === type
|
|
118
|
+
);
|
|
112
119
|
const checkFile = (file, fileType) => {
|
|
113
120
|
const { name, types, typesText, getMaxSize } = FILE_TYPES[fileType];
|
|
114
121
|
if (!isAllowedType(file, types)) {
|
|
@@ -142,7 +149,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
142
149
|
}
|
|
143
150
|
}
|
|
144
151
|
});
|
|
145
|
-
const DEFAULT_EXCLUDE_KEYS = [
|
|
152
|
+
const DEFAULT_EXCLUDE_KEYS = [
|
|
153
|
+
"emotion",
|
|
154
|
+
"insertLink",
|
|
155
|
+
"insertImage",
|
|
156
|
+
"insertVideo",
|
|
157
|
+
"fullScreen"
|
|
158
|
+
];
|
|
146
159
|
const toolbarOptions = vue.computed(() => {
|
|
147
160
|
const { excludeKeys = [], ...rest } = props.toolbarConfig;
|
|
148
161
|
return {
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
34
34
|
}),
|
|
35
35
|
emits: /* @__PURE__ */ vue.mergeModels(["select", "open", "close"], ["update:expand"]),
|
|
36
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
|
+
;
|
|
37
38
|
const props = __props;
|
|
38
39
|
const emits = __emit;
|
|
39
40
|
const expand = vue.useModel(__props, "expand");
|
|
@@ -30,7 +30,6 @@ function getOrgTreeSimple() {
|
|
|
30
30
|
function orgTreeDatahandler(data) {
|
|
31
31
|
const cascaderMap = /* @__PURE__ */ new Map();
|
|
32
32
|
const handler = (list = [], parentIdsList = []) => {
|
|
33
|
-
;
|
|
34
33
|
(list || []).forEach((item) => {
|
|
35
34
|
item.label = item.companyName;
|
|
36
35
|
item.value = item.id;
|
|
@@ -90,6 +90,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
90
90
|
}),
|
|
91
91
|
emits: /* @__PURE__ */ vue.mergeModels(["change", "requesting", "fulfilled", "rejected"], ["update:modelValue"]),
|
|
92
92
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
93
|
+
;
|
|
93
94
|
const props = __props;
|
|
94
95
|
const emits = __emit;
|
|
95
96
|
const { subOrgCascader, unsubOrgCascader } = useSubscribe.useSubscribe();
|
|
@@ -35,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
35
35
|
}),
|
|
36
36
|
emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue"]),
|
|
37
37
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
38
|
+
;
|
|
38
39
|
const props = __props;
|
|
39
40
|
const emits = __emit;
|
|
40
41
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
@@ -92,7 +93,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
92
93
|
vue.renderList(__props.options, (item, index) => {
|
|
93
94
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
94
95
|
key: index,
|
|
95
|
-
class: vue.normalizeClass(["w-0 flex-1 h-full flex items-center justify-center text-main whitespace-nowrap user-select-none relative z-[2]", [
|
|
96
|
+
class: vue.normalizeClass(["w-0 flex-1 h-full flex items-center justify-center text-main whitespace-nowrap user-select-none relative z-[2]", [
|
|
97
|
+
item[radioProps.value.disabled] || __props.disabled ? "cursor-not-allowed opacity-90" : "cursor-pointer"
|
|
98
|
+
]]),
|
|
96
99
|
onClick: ($event) => switchSelect(item, index, $event)
|
|
97
100
|
}, [
|
|
98
101
|
vue.renderSlot(_ctx.$slots, "default", {
|
|
@@ -385,7 +385,9 @@ const _sfc_main = {
|
|
|
385
385
|
{ key: 4 },
|
|
386
386
|
[
|
|
387
387
|
vue.createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
|
|
388
|
-
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
388
|
+
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
389
|
+
columnAttrs.value?.type
|
|
390
|
+
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyDatePicker), vue.mergeProps({
|
|
389
391
|
key: 0,
|
|
390
392
|
ref_key: "componentRef",
|
|
391
393
|
ref: componentRef,
|
|
@@ -53,10 +53,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
53
53
|
},
|
|
54
54
|
emits: ["search", "optionsStatus"],
|
|
55
55
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
56
|
+
;
|
|
56
57
|
const props = __props;
|
|
57
58
|
const emits = __emit;
|
|
58
59
|
const formItemWrapper = vue.useTemplateRef("formItemWrapper");
|
|
59
|
-
const { showShrink, isExpand, containerHeight, switchShrink, shrinkDestroy } = index.useShrink(
|
|
60
|
+
const { showShrink, isExpand, containerHeight, switchShrink, shrinkDestroy } = index.useShrink(
|
|
61
|
+
props,
|
|
62
|
+
formItemWrapper
|
|
63
|
+
);
|
|
60
64
|
const formColumnMap = vue.computed(() => {
|
|
61
65
|
return (props.columns || []).reduce((map, column) => {
|
|
62
66
|
if (is.isArray(column.field)) {
|
|
@@ -139,7 +139,11 @@ const _sfc_main = {
|
|
|
139
139
|
for (let i = minIndex; i <= maxIndex; i++) {
|
|
140
140
|
sortList[i] = tableEditableColumns.value[i].sortIndex;
|
|
141
141
|
}
|
|
142
|
-
tableEditableColumns.value.splice(
|
|
142
|
+
tableEditableColumns.value.splice(
|
|
143
|
+
newIndex,
|
|
144
|
+
0,
|
|
145
|
+
tableEditableColumns.value.splice(oldIndex, 1)[0]
|
|
146
|
+
);
|
|
143
147
|
for (let i = minIndex; i <= maxIndex; i++) {
|
|
144
148
|
tableEditableColumns.value[i].sortIndex = sortList[i];
|
|
145
149
|
}
|
|
@@ -102,7 +102,7 @@ const _sfc_main = {
|
|
|
102
102
|
}, [
|
|
103
103
|
vue.createElementVNode("div", {
|
|
104
104
|
class: "w-5 h-2.5",
|
|
105
|
-
style: { "background": "radial-gradient(circle, rgba(var(--hy-theme)) 1px, transparent 2px) 0px
|
|
105
|
+
style: { "background": "radial-gradient(circle, rgba(var(--hy-theme)) 1px, transparent 2px) 0px\n 0px / 5px 5px" }
|
|
106
106
|
})
|
|
107
107
|
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
|
108
108
|
])) : vue.createCommentVNode("v-if", true)
|
|
@@ -434,7 +434,11 @@ const _sfc_main = {
|
|
|
434
434
|
(vue.openBlock(true), vue.createElementBlock(
|
|
435
435
|
vue.Fragment,
|
|
436
436
|
null,
|
|
437
|
-
vue.renderList(vue.unref(index$1.operatorFilterHandler)(
|
|
437
|
+
vue.renderList(vue.unref(index$1.operatorFilterHandler)(
|
|
438
|
+
column,
|
|
439
|
+
{ column, row, $index, cellIndex },
|
|
440
|
+
"default"
|
|
441
|
+
), (citem, cindex) => {
|
|
438
442
|
return vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
|
|
439
443
|
key: cindex,
|
|
440
444
|
"is-always": "",
|
|
@@ -452,7 +456,12 @@ const _sfc_main = {
|
|
|
452
456
|
cellIndex
|
|
453
457
|
}) ? "cursor-not-allowed text-[var(--hy-el-text-color-disabled)] hover:border-[rgba(var(--hy-auxiliary),1)] hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-auxiliary),0.5)]" : "cursor-pointer hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)]"
|
|
454
458
|
]]),
|
|
455
|
-
onClick: ($event) => vue.unref(index$1.operatorClickHandler)(
|
|
459
|
+
onClick: ($event) => vue.unref(index$1.operatorClickHandler)(
|
|
460
|
+
cindex,
|
|
461
|
+
column,
|
|
462
|
+
{ column, row, $index, cellIndex },
|
|
463
|
+
"default"
|
|
464
|
+
)
|
|
456
465
|
}, [
|
|
457
466
|
vue.createVNode(vue.unref(index.HyIcon), {
|
|
458
467
|
"svg-name": citem.svgName,
|
|
@@ -283,7 +283,9 @@ const useAppTableWrapper = (hy) => {
|
|
|
283
283
|
if (props.type === "default") {
|
|
284
284
|
return tableColumnsList.value.some((column) => column.type === "expand");
|
|
285
285
|
} else if (props.type === "virtual") {
|
|
286
|
-
return tableColumnsList.value.some(
|
|
286
|
+
return tableColumnsList.value.some(
|
|
287
|
+
(column) => column.type === "expand" && column.expandType === "expand"
|
|
288
|
+
);
|
|
287
289
|
}
|
|
288
290
|
return false;
|
|
289
291
|
});
|
|
@@ -457,7 +459,10 @@ const useAppTableWrapper = (hy) => {
|
|
|
457
459
|
}, 250);
|
|
458
460
|
window.scrollToTop = scrollToTop;
|
|
459
461
|
vue.watchEffect(() => {
|
|
460
|
-
const { columnsList, columnsEditablele, searchText } = tableColumnHandler(
|
|
462
|
+
const { columnsList, columnsEditablele, searchText } = tableColumnHandler(
|
|
463
|
+
props.tableColumns,
|
|
464
|
+
CACHE_COLUMNS_KEY
|
|
465
|
+
);
|
|
461
466
|
tableColumns.value = columnsList;
|
|
462
467
|
tableColumnsEditablele.value = columnsEditablele;
|
|
463
468
|
});
|
|
@@ -210,6 +210,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
210
210
|
"scrollBottom"
|
|
211
211
|
], ["update:loading", "update:showFilter"]),
|
|
212
212
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
213
|
+
;
|
|
213
214
|
const props = __props;
|
|
214
215
|
const emits = __emit;
|
|
215
216
|
const loading = vue.useModel(__props, "loading");
|
|
@@ -856,7 +857,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
856
857
|
(vue.openBlock(true), vue.createElementBlock(
|
|
857
858
|
vue.Fragment,
|
|
858
859
|
null,
|
|
859
|
-
vue.renderList(vue.unref(index.operatorFilterHandler)(
|
|
860
|
+
vue.renderList(vue.unref(index.operatorFilterHandler)(
|
|
861
|
+
vue.unref(tableTriggerRef).column,
|
|
862
|
+
vue.unref(tableTriggerRef).scope
|
|
863
|
+
), (citem, cindex) => {
|
|
860
864
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDropdownItem), {
|
|
861
865
|
key: cindex,
|
|
862
866
|
command: cindex,
|
|
@@ -100,6 +100,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
100
100
|
"tableDataChange"
|
|
101
101
|
], ["update:step"]),
|
|
102
102
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
103
|
+
;
|
|
103
104
|
const props = __props;
|
|
104
105
|
const emits = __emit;
|
|
105
106
|
const { api } = useApi.useApi();
|
|
@@ -308,7 +309,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
308
309
|
emits("submit", submitResult);
|
|
309
310
|
onResetUpload();
|
|
310
311
|
} else {
|
|
311
|
-
elementPlus.ElMessage.warning(
|
|
312
|
+
elementPlus.ElMessage.warning(
|
|
313
|
+
`${submitResult.success} \u6761\u6570\u636E\u5BFC\u5165\u6210\u529F\uFF0C ${submitResult.failed} \u6761\u6570\u636E\u5F02\u5E38\uFF0C\u8BF7\u8C03\u6574`
|
|
314
|
+
);
|
|
312
315
|
emits("submit", submitResult);
|
|
313
316
|
}
|
|
314
317
|
}
|
|
@@ -412,8 +415,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
412
415
|
vue.createElementVNode("div", { class: "w-full text-main absolute left-1/2 bottom-4 transform -translate-x-1/2" }, [
|
|
413
416
|
vue.createElementVNode("div", { class: "flex items-center justify-center text-xs text-auxiliary gap-2" }, [
|
|
414
417
|
vue.createElementVNode("span", null, "\u6587\u4EF6\u652F\u6301\uFF1A"),
|
|
415
|
-
vue.createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, ".xls"),
|
|
416
|
-
vue.createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, ".xlsx"),
|
|
418
|
+
vue.createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, " .xls "),
|
|
419
|
+
vue.createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, " .xlsx "),
|
|
417
420
|
vue.createElementVNode("span", null, "\u5355\u6587\u4EF6\u4E0D\u8D85\u8FC7 10 MB")
|
|
418
421
|
])
|
|
419
422
|
])
|
|
@@ -75,6 +75,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["validate", "tableDataChange"],
|
|
77
77
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
78
|
+
;
|
|
78
79
|
const props = __props;
|
|
79
80
|
const emits = __emit;
|
|
80
81
|
const tableRef = vue.useTemplateRef("tableRef");
|
|
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
43
43
|
}),
|
|
44
44
|
emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue", "update:start", "update:end"]),
|
|
45
45
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
46
|
+
;
|
|
46
47
|
const props = __props;
|
|
47
48
|
const emits = __emit;
|
|
48
49
|
const appTimePicker = vue.useTemplateRef("appTimePicker");
|
|
@@ -44,7 +44,9 @@ const useAppTreeWrapper = (hy) => {
|
|
|
44
44
|
return data[props.treeProps?.value];
|
|
45
45
|
}
|
|
46
46
|
function deleteNoTreeSelData(item) {
|
|
47
|
-
const index = hy.noTreeSelData.value.findIndex(
|
|
47
|
+
const index = hy.noTreeSelData.value.findIndex(
|
|
48
|
+
(v) => hy.getSelectedDataKey(v) === hy.getSelectedDataKey(item)
|
|
49
|
+
);
|
|
48
50
|
if (index !== -1) {
|
|
49
51
|
hy.noTreeSelData.value.splice(index, 1);
|
|
50
52
|
}
|
|
@@ -175,7 +177,11 @@ const useAppTreeWrapper = (hy) => {
|
|
|
175
177
|
}
|
|
176
178
|
emits(
|
|
177
179
|
"on-check-tree",
|
|
178
|
-
JSON.parse(
|
|
180
|
+
JSON.parse(
|
|
181
|
+
JSON.stringify(
|
|
182
|
+
hy.mergeNoTreeSelData(info.checkedBusinessNodes || info.checkedNodes)
|
|
183
|
+
)
|
|
184
|
+
),
|
|
179
185
|
{
|
|
180
186
|
data,
|
|
181
187
|
info,
|