hy-dispatch-ui-v3 0.2.67 → 0.2.69
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 +232 -20
- package/es/api/device.mjs +2 -3
- package/es/api/exportExcel.mjs +57 -0
- package/es/api/index.mjs +27 -16
- package/es/api/mapRail.mjs +31 -0
- package/es/api/organization.mjs +17 -9
- package/es/api/rule.mjs +30 -0
- package/es/api/sypct.mjs +2 -3
- package/es/api/task.mjs +2 -3
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
- package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +178 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +316 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +119 -0
- package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
- package/es/bussiness/hyElectronicFence/index.mjs +13 -0
- package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
- package/es/bussiness/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
- package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
- package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
- package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
- package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
- package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
- package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
- package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
- package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
- package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
- package/es/bussiness/hyRuleSetting/index.mjs +15 -0
- package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
- package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
- package/es/bussiness/index.mjs +2 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
- package/es/components/hyAudioPlayer/js/index.mjs +9 -14
- package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
- package/es/components/hyButton/button.vue.mjs +2 -2
- package/es/components/hyButton/style/button.scss +48 -74
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
- package/es/components/hyCheckboxGroup/index.mjs +7 -0
- package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
- package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
- package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
- package/es/components/hyCutter/cutter.vue.mjs +9 -23
- package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
- package/es/components/hyDialog/dialog.vue.mjs +5 -9
- package/es/components/hyDialog/style/dialog.scss +12 -13
- package/es/components/hyDrawer/drawer.vue.mjs +100 -0
- package/es/components/hyDrawer/index.mjs +7 -0
- package/es/components/hyDrawer/style/drawer.scss +0 -0
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
- package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
- package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
- package/es/components/hyForm/cpns/formItem.vue.mjs +75 -37
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
- package/es/components/hyForm/form.vue.mjs +58 -24
- package/es/components/hyForm/js/index.mjs +4 -8
- package/es/components/hyForm/js/useAppForm.mjs +5 -9
- package/es/components/hyForm/style/form.scss +4 -13
- package/es/components/hyIcon/icon.vue.mjs +3 -3
- package/es/components/hyIconBox/style/iconBox.scss +2 -6
- package/es/components/hyInput/inputSearch.vue.mjs +8 -11
- package/es/components/hyInput/style/inputSearch.scss +3 -0
- package/es/components/hyLoading/index.mjs +3 -5
- package/es/components/hyMap/js/index.mjs +29 -4
- package/es/components/hyMap/map.vue.mjs +17 -3
- package/es/components/hyMenu/style/menu.scss +5 -15
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
- package/es/components/hyOrgCascader/js/index.mjs +1 -5
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +25 -11
- package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
- package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
- package/es/components/hySearch/cpns/searchItem.vue.mjs +33 -20
- package/es/components/hySearch/js/index.mjs +1 -4
- package/es/components/hySearch/js/useAppSearch.mjs +6 -10
- package/es/components/hySearch/search.vue.mjs +9 -16
- package/es/components/hySearch/style/search.scss +2 -0
- package/es/components/hyStatus/index.mjs +7 -0
- package/es/components/hyStatus/status.vue.mjs +110 -0
- package/es/components/hyStatus/style/status.scss +0 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
- package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +18 -28
- package/es/components/hyTable/js/index.mjs +56 -59
- package/es/components/hyTable/js/useAppTable.mjs +3 -4
- package/es/components/hyTable/style/table.scss +8 -0
- package/es/components/hyTable/table.vue.mjs +35 -41
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
- package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
- package/es/components/hyTableForm/js/index.mjs +3 -11
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
- package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
- package/es/components/hyTableForm/style/tableForm.scss +3 -2
- package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
- package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
- package/es/components/hyTree/js/index.mjs +13 -40
- package/es/components/hyTree/style/index.css +1 -1
- package/es/components/hyTree/tree.vue.mjs +17 -16
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
- package/es/components/hyVideoPlayer/js/index.mjs +14 -23
- package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
- package/es/components/index.mjs +3 -0
- package/es/hooks/index.mjs +6 -2
- package/es/hooks/useAudioPlayerConfig.mjs +1 -3
- package/es/hooks/useBaseMainStore.mjs +29 -0
- package/es/hooks/useCurrentBus.mjs +20 -0
- package/es/hooks/useDialog.mjs +327 -0
- package/es/hooks/useExportFile.mjs +133 -0
- package/es/hooks/useGlobalConfig.mjs +10 -6
- package/es/hooks/useLocale.mjs +22 -12
- package/es/hooks/usePermissionMap.mjs +1 -3
- package/es/hooks/useResizeHandler.mjs +1 -4
- package/es/hooks/useResizeObserver.mjs +3 -1
- package/es/hooks/useSubscribe.mjs +2 -2
- package/es/hooks/useUserAvatarMap.mjs +1 -3
- package/es/hooks/useVideoPlayerConfig.mjs +1 -3
- package/es/index.mjs +11 -2
- package/es/locale/{en.mjs → en_US.mjs} +81 -5
- package/es/locale/index.mjs +2 -2
- package/es/locale/zh_CN.mjs +81 -3
- package/es/style/tailwind.scss +7 -3
- package/es/utils/adaptive.mjs +1 -3
- package/es/utils/form.mjs +19 -12
- package/es/utils/handler.mjs +4 -8
- package/es/utils/input.mjs +8 -9
- package/es/utils/map/hook/bigMap.mjs +14 -53
- package/es/utils/map/hook/gaode.mjs +5 -20
- package/es/utils/map/hook/leafletjs.mjs +23 -79
- package/es/utils/map/index.mjs +2 -8
- package/es/utils/map/js/webgis.mjs +12 -12
- package/es/version.mjs +1 -1
- package/lib/api/device.js +2 -3
- package/lib/api/exportExcel.js +62 -0
- package/lib/api/index.js +27 -16
- package/lib/api/mapRail.js +34 -0
- package/lib/api/organization.js +17 -8
- package/lib/api/rule.js +33 -0
- package/lib/api/sypct.js +2 -3
- package/lib/api/task.js +2 -3
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
- package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +182 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +320 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +123 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
- package/lib/bussiness/hyElectronicFence/index.js +21 -0
- package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
- package/lib/bussiness/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
- package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
- package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
- package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
- package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
- package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
- package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
- package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
- package/lib/bussiness/hyRuleSetting/index.js +24 -0
- package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
- package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
- package/lib/bussiness/index.js +21 -10
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
- package/lib/components/hyAudioPlayer/js/index.js +9 -14
- package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
- package/lib/components/hyButton/button.vue.js +2 -2
- package/lib/components/hyButton/style/button.scss +48 -74
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
- package/lib/components/hyCheckboxGroup/index.js +12 -0
- package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
- package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
- package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
- package/lib/components/hyCutter/cutter.vue.js +8 -22
- package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
- package/lib/components/hyDialog/dialog.vue.js +5 -9
- package/lib/components/hyDialog/style/dialog.scss +12 -13
- package/lib/components/hyDrawer/drawer.vue.js +104 -0
- package/lib/components/hyDrawer/index.js +12 -0
- package/lib/components/hyDrawer/style/drawer.scss +0 -0
- package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
- package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
- package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
- package/lib/components/hyForm/cpns/formItem.vue.js +76 -38
- package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
- package/lib/components/hyForm/form.vue.js +53 -19
- package/lib/components/hyForm/js/index.js +3 -7
- package/lib/components/hyForm/js/useAppForm.js +5 -9
- package/lib/components/hyForm/style/form.scss +4 -13
- package/lib/components/hyIcon/icon.vue.js +3 -3
- package/lib/components/hyIconBox/style/iconBox.scss +2 -6
- package/lib/components/hyInput/inputSearch.vue.js +7 -10
- package/lib/components/hyInput/style/inputSearch.scss +3 -0
- package/lib/components/hyLoading/index.js +2 -4
- package/lib/components/hyMap/js/index.js +29 -4
- package/lib/components/hyMap/map.vue.js +17 -3
- package/lib/components/hyMenu/style/menu.scss +5 -15
- package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
- package/lib/components/hyOrgCascader/js/index.js +1 -5
- package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
- package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
- package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
- package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
- package/lib/components/hySearch/js/index.js +1 -4
- package/lib/components/hySearch/js/useAppSearch.js +6 -10
- package/lib/components/hySearch/search.vue.js +9 -16
- package/lib/components/hySearch/style/search.scss +2 -0
- package/lib/components/hyStatus/index.js +12 -0
- package/lib/components/hyStatus/status.vue.js +114 -0
- package/lib/components/hyStatus/style/status.scss +0 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
- package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
- package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
- package/lib/components/hyTable/js/index.js +54 -57
- package/lib/components/hyTable/js/useAppTable.js +2 -3
- package/lib/components/hyTable/style/table.scss +8 -0
- package/lib/components/hyTable/table.vue.js +35 -41
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
- package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
- package/lib/components/hyTableForm/js/index.js +3 -11
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
- package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
- package/lib/components/hyTableForm/style/tableForm.scss +3 -2
- package/lib/components/hyTableForm/tableForm.vue.js +89 -45
- package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
- package/lib/components/hyTree/js/index.js +13 -40
- package/lib/components/hyTree/style/index.css +1 -1
- package/lib/components/hyTree/tree.vue.js +17 -16
- package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
- package/lib/components/hyVideoPlayer/js/index.js +14 -23
- package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
- package/lib/components/index.js +46 -40
- package/lib/hooks/index.js +17 -0
- package/lib/hooks/useAudioPlayerConfig.js +1 -3
- package/lib/hooks/useBaseMainStore.js +32 -0
- package/lib/hooks/useCurrentBus.js +23 -0
- package/lib/hooks/useDialog.js +331 -0
- package/lib/hooks/useExportFile.js +135 -0
- package/lib/hooks/useGlobalConfig.js +10 -6
- package/lib/hooks/useLocale.js +25 -11
- package/lib/hooks/usePermissionMap.js +1 -3
- package/lib/hooks/useResizeHandler.js +1 -4
- package/lib/hooks/useResizeObserver.js +3 -1
- package/lib/hooks/useSubscribe.js +2 -1
- package/lib/hooks/useUserAvatarMap.js +1 -3
- package/lib/hooks/useVideoPlayerConfig.js +1 -3
- package/lib/index.js +107 -73
- package/lib/locale/{en.js → en_US.js} +81 -5
- package/lib/locale/index.js +3 -3
- package/lib/locale/zh_CN.js +81 -3
- package/lib/style/tailwind.scss +7 -3
- package/lib/utils/adaptive.js +1 -3
- package/lib/utils/form.js +17 -10
- package/lib/utils/handler.js +3 -7
- package/lib/utils/input.js +7 -8
- package/lib/utils/map/hook/bigMap.js +14 -53
- package/lib/utils/map/hook/gaode.js +5 -20
- package/lib/utils/map/hook/leafletjs.js +23 -79
- package/lib/utils/map/index.js +2 -8
- package/lib/utils/map/js/webgis.js +12 -12
- package/lib/version.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
require('../index.js');
|
|
7
|
+
var index = require('../hyIcon/index.js');
|
|
8
|
+
|
|
9
|
+
import "./style/status.scss";
|
|
10
|
+
|
|
11
|
+
const __default__ = vue.defineComponent({
|
|
12
|
+
name: "HyStatus"
|
|
13
|
+
});
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
15
|
+
props: {
|
|
16
|
+
type: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "default"
|
|
19
|
+
},
|
|
20
|
+
label: {
|
|
21
|
+
type: String
|
|
22
|
+
},
|
|
23
|
+
isOnline: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
emits: [],
|
|
29
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
30
|
+
const props = __props;
|
|
31
|
+
const emits = __emit;
|
|
32
|
+
const color = {
|
|
33
|
+
default: "text-auxiliary",
|
|
34
|
+
primary: "text-theme",
|
|
35
|
+
success: "text-success",
|
|
36
|
+
warning: "text-warning",
|
|
37
|
+
danger: "text-danger-2"
|
|
38
|
+
};
|
|
39
|
+
const bgColor = {
|
|
40
|
+
default: "bg-auxiliary",
|
|
41
|
+
primary: "bg-theme",
|
|
42
|
+
success: "bg-success",
|
|
43
|
+
warning: "bg-warning",
|
|
44
|
+
danger: "bg-danger-2"
|
|
45
|
+
};
|
|
46
|
+
const shadowColor = {
|
|
47
|
+
default: "bg-[rgba(var(--hy-auxiliary),0.28)]",
|
|
48
|
+
primary: "bg-[rgba(var(--hy-theme),0.28)]",
|
|
49
|
+
success: "bg-[rgba(var(--hy-success),0.28)]",
|
|
50
|
+
warning: "bg-[rgba(var(--hy-warning),0.28)]",
|
|
51
|
+
danger: "bg-[rgba(var(--hy-danger),0.28)]"
|
|
52
|
+
};
|
|
53
|
+
__expose({});
|
|
54
|
+
return (_ctx, _cache) => {
|
|
55
|
+
return vue.openBlock(), vue.createElementBlock("div", { class: "inline-flex items-center gap-2 text-sm" }, [
|
|
56
|
+
__props.isOnline ? (vue.openBlock(), vue.createElementBlock(
|
|
57
|
+
vue.Fragment,
|
|
58
|
+
{ key: 0 },
|
|
59
|
+
[
|
|
60
|
+
__props.type === "danger" ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
|
|
61
|
+
key: 0,
|
|
62
|
+
"svg-name": "ops-list-device-id-off-line",
|
|
63
|
+
class: "!w-3 !h-3"
|
|
64
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
|
|
65
|
+
key: 1,
|
|
66
|
+
"svg-name": "ops-list-device-id-on-line",
|
|
67
|
+
class: "!w-3 !h-3"
|
|
68
|
+
}))
|
|
69
|
+
],
|
|
70
|
+
64
|
|
71
|
+
/* STABLE_FRAGMENT */
|
|
72
|
+
)) : (vue.openBlock(), vue.createElementBlock(
|
|
73
|
+
"div",
|
|
74
|
+
{
|
|
75
|
+
key: 1,
|
|
76
|
+
class: vue.normalizeClass(["w-2.5 h-2.5 flex items-center justify-center rounded-full flex-shrink-0 box-border", [shadowColor[__props.type]]])
|
|
77
|
+
},
|
|
78
|
+
[
|
|
79
|
+
vue.createElementVNode(
|
|
80
|
+
"div",
|
|
81
|
+
{
|
|
82
|
+
class: vue.normalizeClass(["w-1.5 h-1.5 rounded-full", [bgColor[__props.type]]])
|
|
83
|
+
},
|
|
84
|
+
null,
|
|
85
|
+
2
|
|
86
|
+
/* CLASS */
|
|
87
|
+
)
|
|
88
|
+
],
|
|
89
|
+
2
|
|
90
|
+
/* CLASS */
|
|
91
|
+
)),
|
|
92
|
+
vue.createElementVNode(
|
|
93
|
+
"span",
|
|
94
|
+
{
|
|
95
|
+
class: vue.normalizeClass([color[__props.type]])
|
|
96
|
+
},
|
|
97
|
+
[
|
|
98
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
99
|
+
vue.createTextVNode(
|
|
100
|
+
vue.toDisplayString(__props.label),
|
|
101
|
+
1
|
|
102
|
+
/* TEXT */
|
|
103
|
+
)
|
|
104
|
+
])
|
|
105
|
+
],
|
|
106
|
+
2
|
|
107
|
+
/* CLASS */
|
|
108
|
+
)
|
|
109
|
+
]);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
exports.default = _sfc_main;
|
|
File without changes
|
|
@@ -36,7 +36,6 @@ const _sfc_main = {
|
|
|
36
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
38
|
const emits = __emit;
|
|
39
|
-
const { t } = useLocale.useLocale();
|
|
40
39
|
const popoverRef = vue.useTemplateRef("popoverRef");
|
|
41
40
|
const listRef = vue.useTemplateRef("listRef");
|
|
42
41
|
const tableColumns = vue.ref([]);
|
|
@@ -46,6 +45,11 @@ const _sfc_main = {
|
|
|
46
45
|
return total + (isShowColumn(column) ? 1 : 0);
|
|
47
46
|
}, 0);
|
|
48
47
|
});
|
|
48
|
+
const cannotDragged = vue.computed(() => {
|
|
49
|
+
return props.columns.reduce((total, column) => {
|
|
50
|
+
return total + (isShowColumn(column) && column.editable.lock ? 1 : 0);
|
|
51
|
+
}, 0);
|
|
52
|
+
});
|
|
49
53
|
function isShowColumn(column) {
|
|
50
54
|
return index.tableColumnShowHandler(column) && column.editable.edit;
|
|
51
55
|
}
|
|
@@ -85,9 +89,7 @@ const _sfc_main = {
|
|
|
85
89
|
}, /* @__PURE__ */ new Map());
|
|
86
90
|
});
|
|
87
91
|
function onCheckedHandler(target) {
|
|
88
|
-
const currentIndex = checkedList.value.findIndex(
|
|
89
|
-
(item) => item === target.prop
|
|
90
|
-
);
|
|
92
|
+
const currentIndex = checkedList.value.findIndex((item) => item === target.prop);
|
|
91
93
|
if (currentIndex !== -1) {
|
|
92
94
|
checkedList.value.splice(currentIndex, 1);
|
|
93
95
|
} else {
|
|
@@ -97,11 +99,11 @@ const _sfc_main = {
|
|
|
97
99
|
}
|
|
98
100
|
function onConfirmHandler() {
|
|
99
101
|
if (!checkedList.value.length && showColumnsLength.value === tableEditableColumns.value?.length) {
|
|
100
|
-
elementPlus.ElMessage.warning(t("table.theColumnsDisplayedInTheTableCannotBeLeftBlank"));
|
|
102
|
+
elementPlus.ElMessage.warning(useLocale.$t("table.theColumnsDisplayedInTheTableCannotBeLeftBlank"));
|
|
101
103
|
return;
|
|
102
104
|
}
|
|
103
105
|
if (checkedList.value.length > 15) {
|
|
104
|
-
elementPlus.ElMessage.warning(t("table.maxColumnLimitTip"));
|
|
106
|
+
elementPlus.ElMessage.warning(useLocale.$t("table.maxColumnLimitTip"));
|
|
105
107
|
return;
|
|
106
108
|
}
|
|
107
109
|
const editableObj = tableEditableColumns.value.reduce(
|
|
@@ -116,9 +118,7 @@ const _sfc_main = {
|
|
|
116
118
|
closePopover();
|
|
117
119
|
}
|
|
118
120
|
function onClearHandler() {
|
|
119
|
-
const { columnsList, columnsEditablele } = index.tableColumnHandler(
|
|
120
|
-
props.originColumns
|
|
121
|
-
);
|
|
121
|
+
const { columnsList, columnsEditablele } = index.tableColumnHandler(props.originColumns);
|
|
122
122
|
initColumnsInfo(columnsList, columnsEditablele);
|
|
123
123
|
showReset.value = false;
|
|
124
124
|
}
|
|
@@ -132,19 +132,14 @@ const _sfc_main = {
|
|
|
132
132
|
animation: 150,
|
|
133
133
|
onEnd(event) {
|
|
134
134
|
const { oldIndex, newIndex } = event;
|
|
135
|
-
if (is.isEmpty(oldIndex) || is.isEmpty(newIndex) || oldIndex === newIndex)
|
|
136
|
-
return;
|
|
135
|
+
if (is.isEmpty(oldIndex) || is.isEmpty(newIndex) || oldIndex === newIndex) return;
|
|
137
136
|
const minIndex = Math.min(oldIndex, newIndex);
|
|
138
137
|
const maxIndex = Math.max(oldIndex, newIndex);
|
|
139
138
|
const sortList = [];
|
|
140
139
|
for (let i = minIndex; i <= maxIndex; i++) {
|
|
141
140
|
sortList[i] = tableEditableColumns.value[i].sortIndex;
|
|
142
141
|
}
|
|
143
|
-
tableEditableColumns.value.splice(
|
|
144
|
-
newIndex,
|
|
145
|
-
0,
|
|
146
|
-
tableEditableColumns.value.splice(oldIndex, 1)[0]
|
|
147
|
-
);
|
|
142
|
+
tableEditableColumns.value.splice(newIndex, 0, tableEditableColumns.value.splice(oldIndex, 1)[0]);
|
|
148
143
|
for (let i = minIndex; i <= maxIndex; i++) {
|
|
149
144
|
tableEditableColumns.value[i].sortIndex = sortList[i];
|
|
150
145
|
}
|
|
@@ -180,7 +175,7 @@ const _sfc_main = {
|
|
|
180
175
|
},
|
|
181
176
|
{
|
|
182
177
|
reference: vue.withCtx(() => [
|
|
183
|
-
vue.createElementVNode("div", { class: "h-[32px] flex items-center gap-[10px] clickBox px-3 rounded hover:bg-background-2" }, [
|
|
178
|
+
vue.createElementVNode("div", { class: "h-[32px] flex items-center gap-[10px] clickBox px-3 rounded hover:bg-background-2 box-border" }, [
|
|
184
179
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
185
180
|
"svg-name": "ops-button-edit-column",
|
|
186
181
|
"class-name": "!w-3 !h-3"
|
|
@@ -188,7 +183,7 @@ const _sfc_main = {
|
|
|
188
183
|
vue.createElementVNode(
|
|
189
184
|
"span",
|
|
190
185
|
null,
|
|
191
|
-
vue.toDisplayString(vue.unref(t)("table.editColumn")) + " \xB7 " + vue.toDisplayString(showColumnsLength.value),
|
|
186
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.editColumn")) + " \xB7 " + vue.toDisplayString(showColumnsLength.value),
|
|
192
187
|
1
|
|
193
188
|
/* TEXT */
|
|
194
189
|
)
|
|
@@ -200,7 +195,7 @@ const _sfc_main = {
|
|
|
200
195
|
vue.createElementVNode(
|
|
201
196
|
"span",
|
|
202
197
|
{ class: "text-main font-bold" },
|
|
203
|
-
vue.toDisplayString(vue.unref(t)("table.editColumn")),
|
|
198
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.editColumn")),
|
|
204
199
|
1
|
|
205
200
|
/* TEXT */
|
|
206
201
|
),
|
|
@@ -210,7 +205,7 @@ const _sfc_main = {
|
|
|
210
205
|
onClick: closePopover
|
|
211
206
|
})
|
|
212
207
|
]),
|
|
213
|
-
vue.createElementVNode("div", { class: "flex items-center gap-1.5 px-4 py-2.5 text-xs text-theme" }, [
|
|
208
|
+
vue.createElementVNode("div", { class: "flex items-center gap-1.5 px-4 py-2.5 text-xs text-theme box-border" }, [
|
|
214
209
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
215
210
|
"svg-name": "dispatch-share1-prompt",
|
|
216
211
|
"class-name": "!w-3 !h-3"
|
|
@@ -223,9 +218,10 @@ const _sfc_main = {
|
|
|
223
218
|
"onUpdate:modelValue": ($event) => checkedList.value = $event
|
|
224
219
|
}, {
|
|
225
220
|
default: vue.withCtx(() => [
|
|
226
|
-
vue.
|
|
221
|
+
cannotDragged.value > 0 ? (vue.openBlock(), vue.createElementBlock(
|
|
227
222
|
"div",
|
|
228
223
|
{
|
|
224
|
+
key: 0,
|
|
229
225
|
class: vue.normalizeClass(["flex flex-col gap-1.5 leading-3 text-info", { "mb-1.5": tableEditableColumns.value.length > 0 }])
|
|
230
226
|
},
|
|
231
227
|
[
|
|
@@ -254,7 +250,7 @@ const _sfc_main = {
|
|
|
254
250
|
],
|
|
255
251
|
2
|
|
256
252
|
/* CLASS */
|
|
257
|
-
),
|
|
253
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
258
254
|
vue.createCommentVNode(" \u53EF\u62D6\u62FD "),
|
|
259
255
|
vue.createElementVNode(
|
|
260
256
|
"div",
|
|
@@ -293,7 +289,7 @@ const _sfc_main = {
|
|
|
293
289
|
vue.createElementVNode(
|
|
294
290
|
"span",
|
|
295
291
|
null,
|
|
296
|
-
vue.toDisplayString(vue.unref(t)("table.selectedNumberItems", [checkedList.value?.length || 0])),
|
|
292
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.selectedNumberItems", [checkedList.value?.length || 0])),
|
|
297
293
|
1
|
|
298
294
|
/* TEXT */
|
|
299
295
|
),
|
|
@@ -304,7 +300,7 @@ const _sfc_main = {
|
|
|
304
300
|
class: "clickBox text-danger-2 ml-3",
|
|
305
301
|
onClick: onClearHandler
|
|
306
302
|
},
|
|
307
|
-
vue.toDisplayString(vue.unref(t)("hy.reset")),
|
|
303
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("hy.reset")),
|
|
308
304
|
1
|
|
309
305
|
/* TEXT */
|
|
310
306
|
)) : vue.createCommentVNode("v-if", true)
|
|
@@ -320,7 +316,7 @@ const _sfc_main = {
|
|
|
320
316
|
}),
|
|
321
317
|
vue.createVNode(vue.unref(index$2.HyTooltip), {
|
|
322
318
|
"is-always": false,
|
|
323
|
-
content: vue.unref(t)("table.tooManyFieldsWillAffectReadability"),
|
|
319
|
+
content: vue.unref(useLocale.$t)("table.tooManyFieldsWillAffectReadability"),
|
|
324
320
|
class: "mr-2 text-auxiliary"
|
|
325
321
|
}, null, 8, ["content"])
|
|
326
322
|
],
|
|
@@ -334,7 +330,7 @@ const _sfc_main = {
|
|
|
334
330
|
}, {
|
|
335
331
|
default: vue.withCtx(() => [
|
|
336
332
|
vue.createTextVNode(
|
|
337
|
-
vue.toDisplayString(vue.unref(t)("hy.confirm")),
|
|
333
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("hy.confirm")),
|
|
338
334
|
1
|
|
339
335
|
/* TEXT */
|
|
340
336
|
)
|
|
@@ -31,7 +31,6 @@ const _sfc_main = {
|
|
|
31
31
|
setup(__props, { emit: __emit }) {
|
|
32
32
|
const props = __props;
|
|
33
33
|
const emits = __emit;
|
|
34
|
-
const { t } = useLocale.useLocale();
|
|
35
34
|
function onClickHandler(column) {
|
|
36
35
|
if (column.editable.lock) return;
|
|
37
36
|
emits("checked", column);
|
|
@@ -82,7 +81,7 @@ const _sfc_main = {
|
|
|
82
81
|
__props.checkMap.has(__props.column.prop) ? (vue.openBlock(), vue.createElementBlock(
|
|
83
82
|
"span",
|
|
84
83
|
{ key: 0 },
|
|
85
|
-
vue.toDisplayString(vue.unref(t)("table.show")),
|
|
84
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.show")),
|
|
86
85
|
1
|
|
87
86
|
/* TEXT */
|
|
88
87
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
@@ -91,7 +90,7 @@ const _sfc_main = {
|
|
|
91
90
|
key: 1,
|
|
92
91
|
class: "text-info"
|
|
93
92
|
},
|
|
94
|
-
vue.toDisplayString(vue.unref(t)("table.notShown")),
|
|
93
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.notShown")),
|
|
95
94
|
1
|
|
96
95
|
/* TEXT */
|
|
97
96
|
)),
|
|
@@ -103,7 +102,7 @@ const _sfc_main = {
|
|
|
103
102
|
}, [
|
|
104
103
|
vue.createElementVNode("div", {
|
|
105
104
|
class: "w-5 h-2.5",
|
|
106
|
-
style: { "background": "radial-gradient(
|
|
105
|
+
style: { "background": "radial-gradient(circle, rgba(var(--hy-theme)) 1px, transparent 2px) 0px 0px / 5px 5px" }
|
|
107
106
|
})
|
|
108
107
|
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
|
109
108
|
])) : vue.createCommentVNode("v-if", true)
|
|
@@ -112,12 +111,12 @@ const _sfc_main = {
|
|
|
112
111
|
default: vue.withCtx(() => [
|
|
113
112
|
vue.createElementVNode(
|
|
114
113
|
"div",
|
|
115
|
-
{ class: "h-[45px] px-[14px] flex items-center text-main text-sm font-bold border-b border-border" },
|
|
114
|
+
{ class: "h-[45px] px-[14px] flex items-center text-main text-sm font-bold border-b border-border box-border" },
|
|
116
115
|
vue.toDisplayString(vue.unref(index.renderHeaderHandler)(__props.column)),
|
|
117
116
|
1
|
|
118
117
|
/* TEXT */
|
|
119
118
|
),
|
|
120
|
-
vue.createElementVNode("div", { class: "flex flex-col gap-3 px-4 pt-2.5 pb-4 text-main text-xs" }, [
|
|
119
|
+
vue.createElementVNode("div", { class: "flex flex-col gap-3 px-4 pt-2.5 pb-4 text-main text-xs box-border" }, [
|
|
121
120
|
__props.column.editable.desc ? (vue.openBlock(), vue.createElementBlock(
|
|
122
121
|
"div",
|
|
123
122
|
{ key: 0 },
|
|
@@ -129,7 +128,7 @@ const _sfc_main = {
|
|
|
129
128
|
vue.createElementVNode(
|
|
130
129
|
"div",
|
|
131
130
|
{ class: "text-auxiliary mb-1.5" },
|
|
132
|
-
vue.toDisplayString(vue.unref(t)("table.example")),
|
|
131
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.example")),
|
|
133
132
|
1
|
|
134
133
|
/* TEXT */
|
|
135
134
|
),
|
|
@@ -142,7 +141,7 @@ const _sfc_main = {
|
|
|
142
141
|
"div",
|
|
143
142
|
{
|
|
144
143
|
key: index,
|
|
145
|
-
class: "leading-5 bg-background-2 px-1.5 rounded-[2px]"
|
|
144
|
+
class: "leading-5 bg-background-2 px-1.5 rounded-[2px] box-border"
|
|
146
145
|
},
|
|
147
146
|
vue.toDisplayString(item),
|
|
148
147
|
1
|
|
@@ -68,10 +68,10 @@ const _sfc_main = {
|
|
|
68
68
|
return (_ctx, _cache) => {
|
|
69
69
|
return columnSort.value.show ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
70
70
|
key: 0,
|
|
71
|
-
class: "w-full relative cursor-pointer",
|
|
71
|
+
class: "w-full flex items-center gap-1 relative cursor-pointer",
|
|
72
72
|
onClick: ($event) => onSortHandler(columnSort.value.prop, null)
|
|
73
73
|
}, [
|
|
74
|
-
vue.createElementVNode("div", { class: "flex flex-col
|
|
74
|
+
vue.createElementVNode("div", { class: "flex flex-col" }, [
|
|
75
75
|
vue.createVNode(vue.unref(elementPlus.ElIcon), {
|
|
76
76
|
size: "8",
|
|
77
77
|
color: isSortActive(columnSort.value.prop, "asc") ? "rgba(var(--hy-theme))" : "rgba(var(--hy-auxiliary))",
|
|
@@ -10,10 +10,10 @@ require('../../../hooks/index.js');
|
|
|
10
10
|
require('../../../utils/index.js');
|
|
11
11
|
var index$1 = require('../js/index.js');
|
|
12
12
|
var headerItem = require('./headerItem.vue.js');
|
|
13
|
-
var useLocale = require('../../../hooks/useLocale.js');
|
|
14
13
|
var is = require('../../../utils/is.js');
|
|
15
14
|
var index = require('../../hyIcon/index.js');
|
|
16
15
|
var index$2 = require('../../hyTooltip/index.js');
|
|
16
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
17
17
|
|
|
18
18
|
const _sfc_main = {
|
|
19
19
|
__name: "virtualTable",
|
|
@@ -83,7 +83,7 @@ const _sfc_main = {
|
|
|
83
83
|
const props = __props;
|
|
84
84
|
const emits = __emit;
|
|
85
85
|
const expandedRowKeys = vue.useModel(__props, "expandedRowKeys");
|
|
86
|
-
const
|
|
86
|
+
const tableRef = vue.useTemplateRef("tableRef");
|
|
87
87
|
const avgWidth = vue.computed(() => {
|
|
88
88
|
const { total, totalWidth } = props.columns.reduce(
|
|
89
89
|
({ total: total2, totalWidth: totalWidth2 }, column) => {
|
|
@@ -281,10 +281,18 @@ const _sfc_main = {
|
|
|
281
281
|
isAllChecked.value = false;
|
|
282
282
|
selectedMap.value.clear();
|
|
283
283
|
indeterminateKeys.value.clear();
|
|
284
|
+
},
|
|
285
|
+
scrollToTop(top) {
|
|
286
|
+
tableRef.value.scrollToTop(top);
|
|
287
|
+
},
|
|
288
|
+
scrollToLeft(left) {
|
|
289
|
+
tableRef.value.scrollToLeft(left);
|
|
284
290
|
}
|
|
285
291
|
});
|
|
286
292
|
return (_ctx, _cache) => {
|
|
287
293
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTableV2), {
|
|
294
|
+
ref_key: "tableRef",
|
|
295
|
+
ref: tableRef,
|
|
288
296
|
"expanded-row-keys": expandedRowKeys.value,
|
|
289
297
|
"onUpdate:expandedRowKeys": ($event) => expandedRowKeys.value = $event,
|
|
290
298
|
cache: 0,
|
|
@@ -426,11 +434,7 @@ const _sfc_main = {
|
|
|
426
434
|
(vue.openBlock(true), vue.createElementBlock(
|
|
427
435
|
vue.Fragment,
|
|
428
436
|
null,
|
|
429
|
-
vue.renderList(vue.unref(index$1.operatorFilterHandler)(
|
|
430
|
-
column,
|
|
431
|
-
{ column, row, $index, cellIndex },
|
|
432
|
-
"default"
|
|
433
|
-
), (citem, cindex) => {
|
|
437
|
+
vue.renderList(vue.unref(index$1.operatorFilterHandler)(column, { column, row, $index, cellIndex }, "default"), (citem, cindex) => {
|
|
434
438
|
return vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
|
|
435
439
|
key: cindex,
|
|
436
440
|
"is-always": "",
|
|
@@ -448,12 +452,7 @@ const _sfc_main = {
|
|
|
448
452
|
cellIndex
|
|
449
453
|
}) ? "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)]"
|
|
450
454
|
]]),
|
|
451
|
-
onClick: ($event) => vue.unref(index$1.operatorClickHandler)(
|
|
452
|
-
cindex,
|
|
453
|
-
column,
|
|
454
|
-
{ column, row, $index, cellIndex },
|
|
455
|
-
"default"
|
|
456
|
-
)
|
|
455
|
+
onClick: ($event) => vue.unref(index$1.operatorClickHandler)(cindex, column, { column, row, $index, cellIndex }, "default")
|
|
457
456
|
}, [
|
|
458
457
|
vue.createVNode(vue.unref(index.HyIcon), {
|
|
459
458
|
"svg-name": citem.svgName,
|
|
@@ -490,23 +489,14 @@ const _sfc_main = {
|
|
|
490
489
|
128
|
|
491
490
|
/* KEYED_FRAGMENT */
|
|
492
491
|
)),
|
|
493
|
-
vue.unref(index$1.operatorFilterHandler)(
|
|
494
|
-
column,
|
|
495
|
-
{ column, row, $index, cellIndex },
|
|
496
|
-
"more"
|
|
497
|
-
)?.length ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDropdown), {
|
|
492
|
+
vue.unref(index$1.operatorFilterHandler)(column, { column, row, $index, cellIndex }, "more")?.length ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDropdown), {
|
|
498
493
|
key: 0,
|
|
499
494
|
ref_for: true,
|
|
500
495
|
ref: "operatorDropdownRef",
|
|
501
496
|
trigger: "click",
|
|
502
497
|
"popper-style": "min-width: 150px",
|
|
503
|
-
placement: "bottom",
|
|
504
|
-
onCommand: ($event) => vue.unref(index$1.operatorClickHandler)(
|
|
505
|
-
$event,
|
|
506
|
-
column,
|
|
507
|
-
{ column, row, $index, cellIndex },
|
|
508
|
-
"more"
|
|
509
|
-
)
|
|
498
|
+
placement: "bottom-end",
|
|
499
|
+
onCommand: ($event) => vue.unref(index$1.operatorClickHandler)($event, column, { column, row, $index, cellIndex }, "more")
|
|
510
500
|
}, {
|
|
511
501
|
dropdown: vue.withCtx(() => [
|
|
512
502
|
vue.createVNode(
|
|
@@ -592,7 +582,7 @@ const _sfc_main = {
|
|
|
592
582
|
vue.createVNode(vue.unref(index$2.HyTooltip), {
|
|
593
583
|
"is-always": "",
|
|
594
584
|
overLine: 1,
|
|
595
|
-
content: vue.unref(t)("table.moreOperations")
|
|
585
|
+
content: vue.unref(useLocale.$t)("table.moreOperations")
|
|
596
586
|
}, {
|
|
597
587
|
default: vue.withCtx(() => [
|
|
598
588
|
vue.createElementVNode("div", { class: "w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-main text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer" }, [
|
|
@@ -611,7 +601,7 @@ const _sfc_main = {
|
|
|
611
601
|
vue.createElementVNode(
|
|
612
602
|
"div",
|
|
613
603
|
{ class: "mt-1" },
|
|
614
|
-
vue.toDisplayString(vue.unref(t)("table.more")),
|
|
604
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("table.more")),
|
|
615
605
|
1
|
|
616
606
|
/* TEXT */
|
|
617
607
|
)
|